/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 64 int result; local 67 result = mkfifo(pipe_name, 0660); 69 if ((result == -1) && (errno != EEXIST)) { 71 return result; 76 result = chmod (pipe_name, 0660); 77 if (result != 0){ 140 int result; local 142 result = write(fd, buf, sz); 146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */ 202 int result; local [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 64 int result; local 67 result = mkfifo(pipe_name, 0660); 69 if ((result == -1) && (errno != EEXIST)) { 71 return result; 76 result = chmod (pipe_name, 0660); 77 if (result != 0){ 140 int result; local 142 result = write(fd, buf, sz); 146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */ 202 int result; local [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_pipe.c | 64 int result; local 67 result = mkfifo(pipe_name, 0660); 69 if ((result == -1) && (errno != EEXIST)) { 71 return result; 76 result = chmod (pipe_name, 0660); 77 if (result != 0){ 140 int result; local 142 result = write(fd, buf, sz); 146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */ 202 int result; local [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
ListOfTypes.java | 53 Type[] result = resolvedTypes; local 54 if (result == null) { 55 result = resolveTypes(types); 56 resolvedTypes = result; 58 return result; 66 Type[] result = new Type[size]; local 70 result[i] = ((ParameterizedTypeImpl) type).getResolvedType(); 72 result[i] = type; 75 return result; 79 StringBuilder result = new StringBuilder() local [all...] |
/system/core/base/ |
stringprintf.cpp | 35 int result = vsnprintf(space, sizeof(space), format, backup_ap); local 38 if (result < static_cast<int>(sizeof(space))) { 39 if (result >= 0) { 41 dst->append(space, result); 45 if (result < 0) { 53 int length = result + 1; 58 result = vsnprintf(buf, length, format, backup_ap); 61 if (result >= 0 && result < length) { 63 dst->append(buf, result); 71 std::string result; local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fInfoLogQueryShared.cpp | 39 void verifyInfoLogQuery (tcu::ResultCollector& result, 52 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), getterName); 55 result.fail("Return buffer was not INFO_LOG_LENGTH sized and null-terminated"); 57 result.fail("Buffer end guard modified, query wrote over the end of the buffer."); 67 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), getterName); 70 result.fail("'length' was not written to"); 72 result.fail("Either length was incorrect or result was not null-terminated"); 74 result.fail("'length' characters + null terminator is larger than INFO_LOG_LENGTH"); 76 result.fail("'length' is not consistent with INFO_LOG_LENGTH") [all...] |
/external/skia/src/sksl/lex/ |
NFAState.h | 87 std::string result = "Char('" + std::string(1, fChar) + "'"; local 89 result += ", "; 90 result += std::to_string(v); 92 result += ")"; 93 return result; 96 std::string result = "Dot("; local 99 result += separator; 100 result += std::to_string(v); 103 result += ")"; 104 return result; 107 std::string result = "Remapped("; local 118 std::string result = std::string("Table(") + (fInverse ? "true" : "false") + ", ["; local [all...] |
/external/skqp/src/sksl/lex/ |
NFAState.h | 87 std::string result = "Char('" + std::string(1, fChar) + "'"; local 89 result += ", "; 90 result += std::to_string(v); 92 result += ")"; 93 return result; 96 std::string result = "Dot("; local 99 result += separator; 100 result += std::to_string(v); 103 result += ")"; 104 return result; 107 std::string result = "Remapped("; local 118 std::string result = std::string("Table(") + (fInverse ? "true" : "false") + ", ["; local [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
service_interface.h | 35 const TransferToClientRequest* arg, TransferToClientResponse* result) = 0; 38 const TransferToServerRequest* arg, TransferToServerResponse* result) = 0; 41 const TransferToInfeedRequest* arg, TransferToInfeedResponse* result) = 0; 45 TransferFromOutfeedResponse* result) = 0; 48 ResetDeviceResponse* result) = 0; 52 LoadComputationSnapshotResponse* result) = 0; 55 ExecuteResponse* result) = 0; 58 const ExecuteParallelRequest* arg, ExecuteParallelResponse* result) = 0; 61 ExecuteAsyncResponse* result) = 0; 64 const WaitForExecutionRequest* arg, WaitForExecutionResponse* result) = 0 [all...] |
/external/tpm2/ |
Marshal_CertifyCreation.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 47 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 result = TPM2B_DIGEST_Unmarshal(&target->creationHash, buffer, size); 52 if (result != TPM_RC_SUCCESS) { 53 return result; 55 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 56 if (result != TPM_RC_SUCCESS) 75 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Create.c | 33 // Compute actual parameter_size. Don't add result to total_size. 46 TPM_RC result = TPM_RC_SUCCESS; local 50 result = TPM2B_SENSITIVE_CREATE_Unmarshal(&target->inSensitive, buffer, size); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); 55 if (result != TPM_RC_SUCCESS) { 56 return result; 58 result = TPM2B_DATA_Unmarshal(&target->outsideInfo, buffer, size); 59 if (result != TPM_RC_SUCCESS) 78 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_CreatePrimary.c | 35 // Compute actual parameter_size. Don't add result to total_size. 48 TPM_RC result = TPM_RC_SUCCESS; local 52 result = TPM2B_SENSITIVE_CREATE_Unmarshal(&target->inSensitive, buffer, size); 53 if (result != TPM_RC_SUCCESS) { 54 return result; 56 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); 57 if (result != TPM_RC_SUCCESS) { 58 return result; 60 result = TPM2B_DATA_Unmarshal(&target->outsideInfo, buffer, size); 61 if (result != TPM_RC_SUCCESS) 80 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_EncryptDecrypt.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPMI_YES_NO_Unmarshal(&target->decrypt, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 result = TPMI_ALG_SYM_MODE_Unmarshal(&target->mode, buffer, size, TRUE); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 result = TPM2B_IV_Unmarshal(&target->ivIn, buffer, size); 55 if (result != TPM_RC_SUCCESS) 74 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_NV_Certify.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 48 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 49 if (result != TPM_RC_SUCCESS) { 50 return result; 52 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 53 if (result != TPM_RC_SUCCESS) { 54 return result; 56 result = UINT16_Unmarshal(&target->size, buffer, size); 57 if (result != TPM_RC_SUCCESS) 76 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_PolicySecret.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 47 result = TPM2B_NONCE_Unmarshal(&target->nonceTPM, buffer, size); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size); 52 if (result != TPM_RC_SUCCESS) { 53 return result; 55 result = TPM2B_NONCE_Unmarshal(&target->policyRef, buffer, size); 56 if (result != TPM_RC_SUCCESS) 75 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_ZGen_2Phase.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPM2B_ECC_POINT_Unmarshal(&target->inQsB, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 result = TPM2B_ECC_POINT_Unmarshal(&target->inQeB, buffer, size); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 result = 56 if (result != TPM_RC_SUCCESS) 75 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testautomation_timer.c | 27 SDLTest_AssertCheck(ret==0, "Check result from SDL_InitSubSystem(SDL_INIT_TIMER)"); 41 Uint64 result; local 43 result = SDL_GetPerformanceCounter(); 45 SDLTest_AssertCheck(result > 0, "Check result value, expected: >0, got: %lu", result); 56 Uint64 result; local 58 result = SDL_GetPerformanceFrequency(); 60 SDLTest_AssertCheck(result > 0, "Check result value, expected: >0, got: %lu", result) 73 Uint32 result; local 128 SDL_bool result; local [all...] |
/external/elfutils/libasm/ |
asm_newscn.c | 64 text_newscn (AsmScn_t *result, GElf_Word type, GElf_Xword flags) 99 fprintf (result->ctx->out.file, "\t.section \"%s\"%s%s\n", 100 result->name, flagstr, typestr); 102 return result; 107 binary_newscn (AsmScn_t *result, GElf_Word type, GElf_Xword flags, 115 result->subsection_id = 0; 118 result->offset = 0; 120 result->max_align = 1; 123 result->content = NULL; 126 result->pattern = (struct FillPattern *) __libasm_default_pattern 165 AsmScn_t *result; local [all...] |
/frameworks/wilhelm/tests/listening/ |
seekTorture.c | 36 SLresult result; local 40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 41 ASSERT_EQ(SL_RESULT_SUCCESS, result); 42 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 43 ASSERT_EQ(SL_RESULT_SUCCESS, result); 45 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 46 ASSERT_EQ(SL_RESULT_SUCCESS, result); 50 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputmixObject, 0, NULL, NULL); 51 ASSERT_EQ(SL_RESULT_SUCCESS, result); 52 result = (*outputmixObject)->Realize(outputmixObject, SL_BOOLEAN_FALSE) [all...] |
slesTest_playMuteSolo.cpp | 43 void ExitOnErrorFunc( SLresult result , int line) 45 if (SL_RESULT_SUCCESS != result) { 46 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line); 72 SLresult result; local 75 result = (*caller)->GetFillLevel(caller, &level); 76 assert(SL_RESULT_SUCCESS == result); 78 result = (*caller)->GetPrefetchStatus(caller, &status); 79 assert(SL_RESULT_SUCCESS == result); 165 SLresult result; local 189 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf) 377 SLresult result; local [all...] |
/frameworks/wilhelm/tests/sandbox/ |
urimime.c | 37 SLresult result; local 41 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 42 assert(SL_RESULT_SUCCESS == result); 44 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 45 assert(SL_RESULT_SUCCESS == result); 46 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 47 assert(SL_RESULT_SUCCESS == result); 51 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); 52 assert(SL_RESULT_SUCCESS == result); 53 result = (*outputMixObject)->Realize(outputMixObject, SL_BOOLEAN_FALSE) [all...] |
/system/extras/simpleperf/ |
cmd_kmem_test.cpp | 43 ReportResult* result) { 44 result->success = false; 50 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &result->content)); 51 ASSERT_TRUE(!result->content.empty()); 53 android::base::Split(result->content, "\n"); 54 result->lines.clear(); 58 result->lines.push_back(s); 61 ASSERT_GE(result->lines.size(), 2u); 62 result->success = true; 67 ReportResult* result) { 68 KmemReportRawFile(GetTestData(perf_data), additional_args, result); local 121 ReportResult result; local 129 ReportResult result; local 141 ReportResult result; local [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
RegisterSpecList.java | 39 RegisterSpecList result = new RegisterSpecList(1); local 40 result.set(0, spec); 41 return result; 53 RegisterSpecList result = new RegisterSpecList(2); local 54 result.set(0, spec0); 55 result.set(1, spec1); 56 return result; 69 RegisterSpecList result = new RegisterSpecList(3); local 70 result.set(0, spec0); 71 result.set(1, spec1) 88 RegisterSpecList result = new RegisterSpecList(4); local 115 int result = 0; local 204 int result = 0; local 229 RegisterSpecList result = new RegisterSpecList(sz + 1); local 257 RegisterSpecList result = new RegisterSpecList(newSize); local 284 RegisterSpecList result = new RegisterSpecList(newSize); local 313 RegisterSpecList result = new RegisterSpecList(newSize); local 346 RegisterSpecList result = new RegisterSpecList(sz); local 398 private final RegisterSpecList result; field in class:RegisterSpecList.Expander [all...] |
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
wifi_offload.cpp | 95 int result; local 100 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); 101 if (result != WIFI_SUCCESS) { 102 ALOGE("Failed to create start keep alive request; result = %d", result); 103 return result; 108 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); 109 if (result < 0) { 110 ALOGE("Failed to put id request; result = %d", result); 178 int result = createRequest(request); local 227 wifi_error result = (wifi_error)cmd->start(); local 242 wifi_error result = (wifi_error)cmd->start(); local [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t048rewrite.py | 28 result = tokens.toString() 30 self.failUnlessEqual(result, expecting) 37 result = tokens.toString() 39 self.failUnlessEqual(result, expecting) 47 result = tokens.toString() 49 self.failUnlessEqual(result, expecting) 56 result = tokens.toString() 58 self.failUnlessEqual(result, expecting) 65 result = tokens.toString() 67 self.failUnlessEqual(result, expecting [all...] |