Home
last modified time | relevance | path

Searched refs:retVal (Results 1 – 25 of 132) sorted by relevance

123456

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharacterIteration.java69 int retVal = lead; in nextTrail32() local
73 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in nextTrail32()
80 return retVal; in nextTrail32()
88 int retVal = trail; in previous32() local
92 retVal = (((int)lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in previous32()
99 return retVal; in previous32()
104 int retVal = lead; in current32() local
105 if (retVal < UTF16.LEAD_SURROGATE_MIN_VALUE) { in current32()
106 return retVal; in current32()
112 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in current32()
[all …]
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.cpp844 int retVal = 0; in getNumShaderBlocks() local
855 retVal += numInstances; in getNumShaderBlocks()
859 return retVal; in getNumShaderBlocks()
908 int retVal = 0; in accumulateShader() local
920retVal += numInstances * accumulateComplexType(shader->getDefaultBlock().interfaceBlocks[ndx].vari… in accumulateShader()
926 retVal += accumulateComplexType(shader->getDefaultBlock().variables[varNdx].varType, dMap); in accumulateShader()
928 return retVal; in accumulateShader()
1040 int retVal = 0; in getNumDefaultBlockComponents() local
1044retVal += accumulateComplexType(shader->getDefaultBlock().variables[varNdx].varType, getNumDataTyp… in getNumDefaultBlockComponents()
1046 return retVal; in getNumDefaultBlockComponents()
[all …]
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpsTransportSE.java48 String retVal = null; in getHost() local
51 retVal = new URL(url).getHost(); in getHost()
56 return retVal; in getHost()
61 int retVal = -1; in getPort() local
64 retVal = new URL(url).getPort(); in getPort()
69 return retVal; in getPort()
74 String retVal = null; in getPath() local
77 retVal = new URL(url).getPath(); in getPath()
82 return retVal; in getPath()
DHttpTransportSE.java293 String retVal = null; in getHost() local
296 retVal = new URL(url).getHost(); in getHost()
301 return retVal; in getHost()
306 int retVal = -1; in getPort() local
309 retVal = new URL(url).getPort(); in getPort()
314 return retVal; in getPort()
319 String retVal = null; in getPath() local
322 retVal = new URL(url).getPath(); in getPath()
327 return retVal; in getPath()
332 String retVal = null; in getQuery() local
[all …]
/external/libcxxabi/test/
Dtest_vector1.pass.cpp110 int retVal = 0; in test_counted() local
128 retVal = 1; in test_counted()
143 retVal = 1; in test_counted()
146 return retVal; in test_counted()
151 int retVal = 0; in test_exception_in_constructor() local
178 retVal = 1; in test_exception_in_constructor()
200 retVal = 1; in test_exception_in_constructor()
203 return retVal; in test_exception_in_constructor()
208 int retVal = 0; in test_exception_in_destructor() local
237 retVal = 1; in test_exception_in_destructor()
[all …]
Dtest_exception_storage.pass.cpp55 int retVal = 0; in main() local
61 retVal = 1; in main()
73 retVal = 1; in main()
81 retVal = 2; in main()
86 return retVal; in main()
/external/libcxxabi/src/
Dcxa_exception_storage.cpp75 __cxa_eh_globals* retVal = __cxa_get_globals_fast (); in __cxa_get_globals() local
78 if ( NULL == retVal ) { in __cxa_get_globals()
79 retVal = static_cast<__cxa_eh_globals*> in __cxa_get_globals()
81 if ( NULL == retVal ) in __cxa_get_globals()
83 if ( 0 != pthread_setspecific ( key_, retVal ) ) in __cxa_get_globals()
86 return retVal; in __cxa_get_globals()
/external/icu/icu4c/source/common/
Dustr_wcs.cpp78 int count=0,retVal=0; in _strToWCS() local
164 retVal = uprv_mbstowcs(pIntTarget,(tempBuf+nulLen),remaining); in _strToWCS()
166 if(retVal==-1){ in _strToWCS()
169 }else if(retVal== remaining){/* should never occur */ in _strToWCS()
191 pIntTarget = pIntTarget + retVal+nulVal; in _strToWCS()
192 remaining -=(retVal+nulVal); in _strToWCS()
288 int32_t retVal =0, count =0 ; in _strFromWCS() local
316 retVal = uprv_wcstombs(pCSrc,src, cStackCap); in _strFromWCS()
318 if(retVal == -1){ in _strFromWCS()
321 }else if(retVal >= (cStackCap-1)){ in _strFromWCS()
[all …]
Dudata.cpp295 UDataMemory *retVal = NULL; in udata_findCachedData() local
305 retVal = el->item; in udata_findCachedData()
308 fprintf(stderr, "Cache: [%s] -> %p\n", baseName, retVal); in udata_findCachedData()
310 return retVal; in udata_findCachedData()
1115 UDataMemory *retVal = NULL; in doOpenChoice() local
1253retVal = doLoadFromIndividualFiles(/* pkgName.data() */ "", tzFilesDir, tocEntryPathSuffix, in doOpenChoice()
1255 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1256 return retVal; in doOpenChoice()
1267 retVal = doLoadFromCommonData(isICUData, in doOpenChoice()
1270 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
[all …]
Dumutex.cpp328 int32_t retVal; in umtx_atomic_inc() local
330 retVal = ++(*p); in umtx_atomic_inc()
332 return retVal; in umtx_atomic_inc()
338 int32_t retVal; in umtx_atomic_dec() local
340 retVal = --(*p); in umtx_atomic_dec()
342 return retVal; in umtx_atomic_dec()
/external/bzip2/
Dbzip2recover.c183 Int32 retVal = putc ( (UChar) bs->buffer, bs->handle ); in bsPutBit() local
184 if (retVal == EOF) writeError(); in bsPutBit()
205 Int32 retVal = getc ( bs->handle ); in bsGetBit() local
206 if ( retVal == EOF ) { in bsGetBit()
211 bs->buffer = retVal; in bsGetBit()
220 Int32 retVal; in bsClose() local
227 retVal = putc ( (UChar) (bs->buffer), bs->handle ); in bsClose()
228 if (retVal == EOF) writeError(); in bsClose()
230 retVal = fflush ( bs->handle ); in bsClose()
231 if (retVal == EOF) writeError(); in bsClose()
[all …]
Dbzip2.c107 int retVal = setmode ( fileno ( fd ), \
109 ERROR_IF_MINUS_ONE ( retVal ); \
119 int retVal = setmode ( fileno ( fd ), \
121 ERROR_IF_MINUS_ONE ( retVal ); \
148 int retVal = setmode ( fileno ( fd ), \
150 ERROR_IF_MINUS_ONE ( retVal ); \
689 IntNative retVal; in cleanUpAndFail() local
701 retVal = MY_STAT ( inName, &statBuf ); in cleanUpAndFail()
702 if (retVal == 0) { in cleanUpAndFail()
709 retVal = remove ( outName ); in cleanUpAndFail()
[all …]
/external/webrtc/src/system_wrappers/source/
Devent_posix.cc128 int retVal = 0; in Wait() local
161 retVal = pthread_cond_timedwait(&cond, &mutex, &tEnd); in Wait()
163 retVal = pthread_cond_wait(&cond, &mutex); in Wait()
170 switch(retVal) in Wait()
183 int retVal = 0; in Wait() local
191 retVal = pthread_cond_timedwait(&cond, &mutex, &tPulse); in Wait()
197 switch(retVal) in Wait()
Dcpu_linux.cc76 int retVal = -1; in CpuUsageMultiCore() local
79 retVal = 0; in CpuUsageMultiCore()
83 retVal = (int)(100 * (deltaBusy) / (deltaBusy + deltaIdle)); in CpuUsageMultiCore()
88 return retVal; in CpuUsageMultiCore()
106 return retVal; in CpuUsageMultiCore()
/external/jpeg/
Djmemmac.c159 long retVal; in read_backing_store() local
164 retVal = FSRead ( info->temp_file, &bytes, in read_backing_store()
166 if ( retVal != noErr || bytes != byte_count ) in read_backing_store()
177 long retVal; in write_backing_store() local
182 retVal = FSWrite ( info->temp_file, &bytes, in write_backing_store()
184 if ( retVal != noErr || bytes != byte_count ) in write_backing_store()
/external/libcxx/test/std/experimental/string.view/string.view.cons/
Dfrom_literal.pass.cpp25 size_t retVal = 0; in StrLen() local
26 while ( *s != 0 ) { ++retVal; ++s; } in StrLen()
27 return retVal; in StrLen()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSpannableString.java39 ArrayList<T> retVal = new ArrayList<T>(); in getSpans() local
47 retVal.add((T) s); in getSpans()
51 T[] array = (T[]) Array.newInstance(kind, retVal.size()); in getSpans()
52 return retVal.toArray(array); in getSpans()
/external/v8/test/test262/
Dharness-adapt.js58 var retVal = /^s/i.test(test.id)
62 if (retVal != 'pass') {
73 retVal,
/external/icu/icu4c/source/i18n/
Dumsg.cpp92 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status); in u_vformatMessage() local
94 return retVal; in u_vformatMessage()
133 int32_t retVal = umsg_vformat(fmt,result,resultLength,ap,status); in u_vformatMessageWithError() local
135 return retVal; in u_vformatMessageWithError()
249 MessageFormat* retVal = new MessageFormat(patString,Locale(locale),*parseError,*status); in umsg_open() local
250 if(retVal == NULL) { in umsg_open()
254 if (U_SUCCESS(*status) && MessageFormatAdapter::hasArgTypeConflicts(*retVal)) { in umsg_open()
257 return (UMessageFormat*)retVal; in umsg_open()
282 UMessageFormat retVal = (UMessageFormat)((MessageFormat*)fmt)->clone(); in umsg_clone() local
283 if(retVal == 0) { in umsg_clone()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderInvarianceTests.cpp53 tcu::Vec4 retVal; in genRandomVector() local
55 retVal.x() = rnd.getFloat(-1.0f, 1.0f); in genRandomVector()
56 retVal.y() = rnd.getFloat(-1.0f, 1.0f); in genRandomVector()
57 retVal.z() = rnd.getFloat(-1.0f, 1.0f); in genRandomVector()
58 retVal.w() = rnd.getFloat( 0.2f, 1.0f); in genRandomVector()
60 return retVal; in genRandomVector()
443 ShaderPair retVal; in genShaders() local
445 retVal.vertexShaderSource0 = m_vertexShader1; in genShaders()
446 retVal.vertexShaderSource1 = m_vertexShader2; in genShaders()
447 retVal.fragmentShaderSource0 = m_fragmentShader; in genShaders()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderInvarianceTests.cpp53 tcu::Vec4 retVal; in genRandomVector() local
55 retVal.x() = rnd.getFloat(-1.0f, 1.0f); in genRandomVector()
56 retVal.y() = rnd.getFloat(-1.0f, 1.0f); in genRandomVector()
57 retVal.z() = rnd.getFloat(-1.0f, 1.0f); in genRandomVector()
58 retVal.w() = rnd.getFloat( 0.2f, 1.0f); in genRandomVector()
60 return retVal; in genRandomVector()
441 ShaderPair retVal; in genShaders() local
443 retVal.vertexShaderSource0 = m_vertexShader1; in genShaders()
444 retVal.vertexShaderSource1 = m_vertexShader2; in genShaders()
445 retVal.fragmentShaderSource0 = m_fragmentShader; in genShaders()
[all …]
/external/deqp/framework/referencerenderer/
DrrVertexPacket.cpp57 std::vector<VertexPacket*> retVal; in allocArray() local
65 retVal.push_back(new (ptr + i*packetSize) VertexPacket()); // throws bad_alloc in allocArray()
75 return retVal; in allocArray()
/external/v8/test/test262-es6/
Dharness-adapt.js58 var retVal = /^s/i.test(test.id)
62 if (retVal != 'pass') {
73 retVal,
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DCondVar.cpp104 bool retVal = false; in wait() local
127 retVal = (waitResult == 0); //waited successfully in wait()
128 return retVal; in wait()
/external/webrtc/src/system_wrappers/test/TestSort/
DTestSort.cpp135 WebRtc_Word32 retVal = 0; in RunSortTest() local
160 retVal = 0; in RunSortTest()
164 retVal = webrtc::KeySort(data, key, DataLength, sizeof(LotsOfData<KeyType>), in RunSortTest()
173 retVal = webrtc::Sort(key, DataLength, sortType); in RunSortTest()
181 if (retVal != 0) in RunSortTest()

123456