Home
last modified time | relevance | path

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

1234567

/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dhuge_struct.c122 BigStruct retVal = { in test_large_fn() local
145 retVal.a, retVal.b, retVal.c, retVal.d, retVal.e, retVal.f, in test_large_fn()
146 retVal.g, retVal.h, retVal.i, retVal.j, retVal.k, (unsigned long)retVal.l, in test_large_fn()
147 retVal.m, retVal.n, retVal.o, retVal.p, retVal.q, retVal.r, in test_large_fn()
148 retVal.s, retVal.t, retVal.u, retVal.v, retVal.w, (unsigned long)retVal.x, in test_large_fn()
149 retVal.y, retVal.z, retVal.aa, retVal.bb, retVal.cc, retVal.dd, in test_large_fn()
150 retVal.ee, retVal.ff, retVal.gg, retVal.hh, retVal.ii, (unsigned long)retVal.jj, in test_large_fn()
151 retVal.kk, retVal.ll, retVal.mm, retVal.nn, retVal.oo, retVal.pp, in test_large_fn()
152retVal.qq, retVal.rr, retVal.ss, retVal.tt, retVal.uu, (unsigned long)retVal.vv, retVal.ww, retVal in test_large_fn()
154 return retVal; in test_large_fn()
[all …]
/external/tpm2/
DCpriRSA.c46 CRYPT_RESULT retVal = CRYPT_SUCCESS; // Assume success in RsaPrivateExponent() local
72 retVal = CRYPT_PARAMETER; in RsaPrivateExponent()
81 retVal = CRYPT_PARAMETER; // problem may be recoverable in RsaPrivateExponent()
101 retVal = CRYPT_PARAMETER; in RsaPrivateExponent()
113 return retVal; in RsaPrivateExponent()
151 CRYPT_RESULT retVal = CRYPT_SUCCESS; // Assume success in _cpri__TestKeyRSA() local
183 retVal = CRYPT_PARAMETER; in _cpri__TestKeyRSA()
193 retVal = CRYPT_PARAMETER; in _cpri__TestKeyRSA()
202 retVal = CRYPT_PARAMETER; in _cpri__TestKeyRSA()
213 retVal = CRYPT_PARAMETER; // problem may be recoverable in _cpri__TestKeyRSA()
[all …]
DUnique.c32 uint32_t retVal = 0; in _plat__GetUnique() local
35 for(retVal = 0; in _plat__GetUnique()
36 *from != 0 && retVal < bSize; in _plat__GetUnique()
37 retVal++) in _plat__GetUnique()
46 for(retVal = 0; in _plat__GetUnique()
47 *from != 0 && retVal < bSize; in _plat__GetUnique()
48 retVal++) in _plat__GetUnique()
53 return retVal; in _plat__GetUnique()
DMathFunctions.c223 int retVal = 0; in _math__Mul() local
250 retVal = BN_num_bytes(bnP); in _math__Mul()
253 BN_bn2bin(bnP, &p[aSize + bSize - retVal]); in _math__Mul()
254 memset(p, 0, aSize + bSize - retVal); in _math__Mul()
255 retVal = aSize + bSize; in _math__Mul()
260 *pSize = retVal; in _math__Mul()
264 return retVal; in _math__Mul()
291 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _math__Div() local
317 retVal = CRYPT_UNDERFLOW; in _math__Div()
324 retVal = CRYPT_UNDERFLOW; in _math__Div()
[all …]
DCpriHash.c310 UINT16 retVal = 0; in _cpri__StartHash() local
322 retVal = (CRYPT_RESULT)EVP_MD_CTX_size(context); in _cpri__StartHash()
324 if(retVal > 0) in _cpri__StartHash()
333 retVal = state->copySize; in _cpri__StartHash()
344 return retVal; in _cpri__StartHash()
364 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _cpri__UpdateHash() local
372 if((retVal = GetHashState(context, hashState->hashAlg, stateData)) <= 0) in _cpri__UpdateHash()
380 && (retVal= MarshalHashState(context, stateData)) >= 0) in _cpri__UpdateHash()
384 if(retVal < state->copySize) in _cpri__UpdateHash()
415 UINT16 retVal; in _cpri__CompleteHash() local
[all …]
DCryptUtil.c34 CRYPT_RESULT retVal // IN: crypt error to evaluate in TranslateCryptErrors() argument
37 switch (retVal) in TranslateCryptErrors()
159 CRYPT_RESULT retVal = 0; in CryptStartHash() local
164 if((retVal = _cpri__StartHash(hashAlg, FALSE, &hashState->state)) > 0) in CryptStartHash()
166 return retVal; in CryptStartHash()
188 CRYPT_RESULT retVal = 0; in CryptStartHashSequence() local
193 if((retVal = _cpri__StartHash(hashAlg, TRUE, &hashState->state)) > 0) in CryptStartHashSequence()
195 return retVal; in CryptStartHashSequence()
220 CRYPT_RESULT retVal; in CryptStartHMAC() local
228 if((retVal = _cpri__StartHMAC(hashAlg, FALSE, &hashState->state, keySize, key, in CryptStartHMAC()
[all …]
DCpriECC.c357 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _cpri__EccPointMultiply() local
413 if((retVal = PointMul(group, R, bnD, Q, bnU, context)) == CRYPT_SUCCESS) in _cpri__EccPointMultiply()
423 return retVal; in _cpri__EccPointMultiply()
478 CRYPT_RESULT retVal = CRYPT_SUCCESS; in _cpri__EccCommitCompute() local
499 retVal = CRYPT_PARAMETER; in _cpri__EccCommitCompute()
522 if((retVal = PointMul(group, pK, NULL, pB, bnD, context)) != CRYPT_SUCCESS) in _cpri__EccCommitCompute()
529 retVal = CRYPT_CANCEL; in _cpri__EccCommitCompute()
533 if((retVal = PointMul(group, pL, NULL, pB, bnR, context)) != CRYPT_SUCCESS) in _cpri__EccCommitCompute()
543 retVal = CRYPT_CANCEL; in _cpri__EccCommitCompute()
554 retVal = PointMul(group, pE, NULL, pM, bnR, context); in _cpri__EccCommitCompute()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCharacterIteration.java75 int retVal = lead; in nextTrail32() local
79 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in nextTrail32()
86 return retVal; in nextTrail32()
94 int retVal = trail; in previous32() local
98 retVal = (((int)lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in previous32()
105 return retVal; in previous32()
110 int retVal = lead; in current32() local
111 if (retVal < UTF16.LEAD_SURROGATE_MIN_VALUE) { in current32()
112 return retVal; in current32()
118 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in current32()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharacterIteration.java71 int retVal = lead; in nextTrail32() local
75 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in nextTrail32()
82 return retVal; in nextTrail32()
90 int retVal = trail; in previous32() local
94 retVal = (((int)lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in previous32()
101 return retVal; in previous32()
106 int retVal = lead; in current32() local
107 if (retVal < UTF16.LEAD_SURROGATE_MIN_VALUE) { in current32()
108 return retVal; in current32()
114 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.cpp121 int retVal = 0; in test_counted() local
139 retVal = 1; in test_counted()
154 retVal = 1; in test_counted()
157 return retVal; in test_counted()
163 int retVal = 0; in test_exception_in_constructor() local
190 retVal = 1; in test_exception_in_constructor()
212 retVal = 1; in test_exception_in_constructor()
215 return retVal; in test_exception_in_constructor()
222 int retVal = 0; in test_exception_in_destructor() local
251 retVal = 1; in test_exception_in_destructor()
[all …]
Dtest_exception_storage.pass.cpp46 int retVal = 0; in main() local
58 retVal = 1; in main()
65 retVal = 2; in main()
71 retVal = 1; in main()
74 return retVal; in main()
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket_manager_posix.cc83 bool retVal = true; in Start() local
84 for(int i = 0;i < _numberOfSocketMgr && retVal; i++) in Start()
86 retVal = _socketMgr[i]->Start(); in Start()
88 if(!retVal) in Start()
98 return retVal; in Start()
107 bool retVal = true; in Stop() local
108 for(int i = 0; i < _numberOfSocketMgr && retVal; i++) in Stop()
110 retVal = _socketMgr[i]->Stop(); in Stop()
112 if(!retVal) in Stop()
123 return retVal; in Stop()
[all …]
/external/webrtc/webrtc/modules/utility/source/
Dfile_recorder_impl.cc71 int32_t retVal = 0; in StartRecordingAudioFile() local
72 retVal =_moduleFile->StartRecordingAudioFile(fileName, _fileFormat, in StartRecordingAudioFile()
76 if( retVal == 0) in StartRecordingAudioFile()
78 retVal = SetUpAudioEncoder(); in StartRecordingAudioFile()
80 if( retVal != 0) in StartRecordingAudioFile()
90 return retVal; in StartRecordingAudioFile()
99 int32_t retVal = _moduleFile->StartRecordingAudioStream( in StartRecordingAudioFile() local
105 if( retVal == 0) in StartRecordingAudioFile()
107 retVal = SetUpAudioEncoder(); in StartRecordingAudioFile()
109 if( retVal != 0) in StartRecordingAudioFile()
[all …]
/external/icu/icu4c/source/common/
Dustr_wcs.cpp80 int count=0,retVal=0; in _strToWCS() local
166 retVal = uprv_mbstowcs(pIntTarget,(tempBuf+nulLen),remaining); in _strToWCS()
168 if(retVal==-1){ in _strToWCS()
171 }else if(retVal== remaining){/* should never occur */ in _strToWCS()
193 pIntTarget = pIntTarget + retVal+nulVal; in _strToWCS()
194 remaining -=(retVal+nulVal); in _strToWCS()
290 int32_t retVal =0, count =0 ; in _strFromWCS() local
318 retVal = uprv_wcstombs(pCSrc,src, cStackCap); in _strFromWCS()
320 if(retVal == -1){ in _strFromWCS()
323 }else if(retVal >= (cStackCap-1)){ in _strFromWCS()
[all …]
Dudata.cpp298 UDataMemory *retVal = NULL; in udata_findCachedData() local
312 retVal = el->item; in udata_findCachedData()
315 fprintf(stderr, "Cache: [%s] -> %p\n", baseName, retVal); in udata_findCachedData()
317 return retVal; in udata_findCachedData()
1129 UDataMemory *retVal = NULL; in doOpenChoice() local
1267retVal = doLoadFromIndividualFiles(/* pkgName.data() */ "", tzFilesDir, tocEntryPathSuffix, in doOpenChoice()
1269 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1270 return retVal; in doOpenChoice()
1281 retVal = doLoadFromCommonData(isICUData, in doOpenChoice()
1284 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
[all …]
/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 != std::__libcpp_tls_set ( key_, retVal ) ) in __cxa_get_globals()
86 return retVal; in __cxa_get_globals()
/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/webrtc/voice_engine/test/android/android_test/jni/
Dandroid_test.cc537 int retVal = 0; in Java_org_webrtc_voiceengine_test_AndroidTest_Init() local
542 retVal = veData1.base->Init(); in Java_org_webrtc_voiceengine_test_AndroidTest_Init()
544 return retVal; in Java_org_webrtc_voiceengine_test_AndroidTest_Init()
556 jint retVal = veData1.base->Terminate(); in Java_org_webrtc_voiceengine_test_AndroidTest_Terminate() local
561 return retVal; in Java_org_webrtc_voiceengine_test_AndroidTest_Terminate()
640 jint retVal = veData1.base->SetSendDestination(channel, port, ipaddrNative); in Java_org_webrtc_voiceengine_test_AndroidTest_SetSendDestination() local
644 return retVal; in Java_org_webrtc_voiceengine_test_AndroidTest_SetSendDestination()
656 int retVal = veData1.base->StartReceive(channel); in Java_org_webrtc_voiceengine_test_AndroidTest_StartListen() local
658 return retVal; in Java_org_webrtc_voiceengine_test_AndroidTest_StartListen()
671 int retVal = veData1.base->StartPlayout(channel); in Java_org_webrtc_voiceengine_test_AndroidTest_StartPlayout() local
[all …]
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_rendertexture.c111 boolean retVal; in wglBindTexImageARB() local
169 retVal = stw_make_current(dc, curctx->dhglrc); in wglBindTexImageARB()
171 if (!retVal) { in wglBindTexImageARB()
182 retVal = stw_make_current(prevDrawable, curctx->dhglrc); in wglBindTexImageARB()
183 if (!retVal) { in wglBindTexImageARB()
189 return retVal; in wglBindTexImageARB()
/external/libcxx/test/std/experimental/string.view/string.view.cons/
Dfrom_literal.pass.cpp26 size_t retVal = 0; in StrLen() local
27 while ( *s != 0 ) { ++retVal; ++s; } in StrLen()
28 return retVal; in StrLen()
/external/libcxx/test/std/strings/string.view/string.view.cons/
Dfrom_literal.pass.cpp26 size_t retVal = 0; in StrLen() local
27 while ( *s != 0 ) { ++retVal; ++s; } in StrLen()
28 return retVal; in StrLen()

1234567