/external/libbrillo/brillo/ |
process_information.cc | 15 std::string result; local 19 if (result.length()) { 20 result.append(" "); 22 result.append((*cmd_itr)); 24 return result;
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
demangle.cc | 40 char *result = nullptr; local 42 result = abi::__cxa_demangle(mangled, nullptr, nullptr, &status); 44 if (status == 0 && result != nullptr) { // Demangling succeeded. 45 demangled.append(result); 46 free(result);
|
/external/tpm2/ |
Marshal_GetCapability.c | 30 // Compute actual parameter_size. Don't add result to total_size. 43 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM_CAP_Unmarshal(&target->capability, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = UINT32_Unmarshal(&target->property, buffer, size); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 result = UINT32_Unmarshal(&target->propertyCount, buffer, size); 54 if (result != TPM_RC_SUCCESS) 69 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_LoadExternal.c | 30 // Compute actual parameter_size. Don't add result to total_size. 43 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_SENSITIVE_Unmarshal(&target->inPrivate, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 result = TPMI_RH_HIERARCHY_Unmarshal(&target->hierarchy, buffer, size, TRUE); 54 if (result != TPM_RC_SUCCESS) 69 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_RSA_Decrypt.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_PUBLIC_KEY_RSA_Unmarshal(&target->cipherText, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = TPMT_RSA_DECRYPT_Unmarshal(&target->inScheme, buffer, size); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 result = TPM2B_DATA_Unmarshal(&target->label, buffer, size); 54 if (result != TPM_RC_SUCCESS) 69 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_RSA_Encrypt.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_PUBLIC_KEY_RSA_Unmarshal(&target->message, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = TPMT_RSA_DECRYPT_Unmarshal(&target->inScheme, buffer, size); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 result = TPM2B_DATA_Unmarshal(&target->label, buffer, size); 54 if (result != TPM_RC_SUCCESS) 69 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Sign.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_DIGEST_Unmarshal(&target->digest, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 result = TPMT_TK_HASHCHECK_Unmarshal(&target->validation, buffer, size); 54 if (result != TPM_RC_SUCCESS) 69 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
_TPM_Hash_Start.c | 17 TPM_RC result; local 32 result = ObjectCreateEventSequence(NULL, &g_DRTMHandle); 35 if(result != TPM_RC_SUCCESS) 60 result = ObjectCreateEventSequence(NULL, &g_DRTMHandle); 61 pAssert(result == TPM_RC_SUCCESS);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ListResourceBundleTest.java | 36 Vector<String> result = new Vector<String>(); local 38 result.addElement(keys.nextElement()); 40 assertTrue("Missing key parent1", result.contains("parent1")); 41 assertTrue("Missing key parent2", result.contains("parent2")); 42 assertTrue("Missing key parent3", result.contains("parent3")); 43 assertTrue("Missing key parent4", result.contains("parent4")); 44 assertTrue("Missing key child1", result.contains("child1")); 45 assertTrue("Missing key child2", result.contains("child2")); 46 assertTrue("Missing key child3", result.contains("child3")); 56 Vector result = new Vector() local [all...] |
/prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc/src/ |
shaderc_c_smoke_test.c | 31 shaderc_compilation_result_t result; local 37 result = shaderc_compile_into_spv( 41 assert(result); 43 if (shaderc_result_get_compilation_status(result) != 48 shaderc_result_release(result);
|
/toolchain/binutils/binutils-2.27/libiberty/ |
strndup.c | 27 memory was available. The result is always NUL terminated. 43 char *result; local 49 result = (char *) malloc (len + 1); 50 if (!result) 53 result[len] = '\0'; 54 return (char *) memcpy (result, s, len);
|
/frameworks/base/cmds/bootanimation/ |
audioplay.cpp | 92 SLresult result; local 95 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 96 if (result != SL_RESULT_SUCCESS) { 97 ALOGE("slCreateEngine failed with result %d", result); 100 (void)result; 103 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 104 if (result != SL_RESULT_SUCCESS) { 105 ALOGE("sl engine Realize failed with result %d", result); 139 SLresult result; local 348 SLresult result; local [all...] |
/frameworks/native/libs/ui/ |
Rect.cpp | 76 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); 77 return result; 81 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); 82 return result; 85 bool Rect::intersect(const Rect& with, Rect* result) const { 86 result->left = max(left, with.left); 87 result->top = max(top, with.top); 88 result->right = min(right, with.right); 89 result->bottom = min(bottom, with.bottom); 90 return !(result->isEmpty()) [all...] |
/external/doclava/src/com/google/doclava/ |
LinkReference.java | 83 LinkReference result = new LinkReference(); local 84 result.text = text; 125 return result; 137 result.label = text.substring(index); 248 result.classInfo = cl; 256 result.classInfo = cl.extendedFindClass(ref); 257 if (result.classInfo == null) { 259 result.classInfo = cl.findClass(ref); 261 if (result.classInfo == null) { 263 result.classInfo = cl.findInnerClass(ref) [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testautomation_pixels.c | 130 SDL_PixelFormat* result; local 137 result = SDL_AllocFormat(format); 139 SDLTest_AssertCheck(result != NULL, "Verify result is not NULL"); 140 if (result != NULL) { 141 SDLTest_AssertCheck(result->format == format, "Verify value of result.format; expected: %u, got %u", format, result->format); 142 SDLTest_AssertCheck(result->BitsPerPixel == 0, "Verify value of result.BitsPerPixel; expected: 0, got %u", result->BitsPerPixel) 234 char* result; local 247 "Verify result text; expected: %s, got %s", unknownFormat, result); local 262 "Verify result text; expected: %s, got %s", _RGBPixelFormatsVerbose[i], result); local 278 "Verify result text; expected: %s, got %s", _nonRGBPixelFormatsVerbose[i], result); local 296 "Validate name is UNKNOWN, expected: '%s', got: '%s'", _invalidPixelFormatsVerbose[i], result); local 321 SDL_Palette* result; local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
TimePickerDialogTask.java | 48 JSONObject result = new JSONObject(); 50 result.put("which", "positive"); 51 result.put("hour", hour); 52 result.put("minute", minute); 53 setResult(result); 62 JSONObject result = new JSONObject(); 64 result.put("which", "neutral"); 65 result.put("hour", mHour); 66 result.put("minute", mMinute); 67 setResult(result); [all...] |
/external/valgrind/memcheck/tests/ |
inlinfo.c | 65 int result; local 66 result = fun_a(result); 67 VALGRIND_MAKE_MEM_UNDEFINED(&result, sizeof(result)); 68 result += fun_noninline_m(result); 69 VALGRIND_MAKE_MEM_UNDEFINED(&result, sizeof(result)); 70 result += fun_d(result) [all...] |
/external/valgrind/memcheck/tests/solaris/ |
inlinfo_nested.c | 68 int result; local 69 result = fun_a(result); 70 VALGRIND_MAKE_MEM_UNDEFINED(&result, sizeof(result)); 71 result += fun_noninline_m(result); 72 VALGRIND_MAKE_MEM_UNDEFINED(&result, sizeof(result)); 73 result += fun_d(result) [all...] |
/external/xmlrpcpp/test/ |
HelloClient.cpp | 19 XmlRpcValue noArgs, result; local 20 if (c.execute("system.listMethods", noArgs, result)) 21 std::cout << "\nMethods:\n " << result << "\n\n"; local 28 if (c.execute("system.methodHelp", oneArg, result)) 29 std::cout << "Help for 'Hello' method: " << result << "\n\n"; local 34 if (c.execute("Hello", noArgs, result)) 35 std::cout << result << "\n\n"; local 41 if (c.execute("HelloName", oneArg, result)) 42 std::cout << result << "\n\n"; local 52 if (c.execute("Sum", numbers, result)) [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_msg.c | 86 int result; local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); 88 return result; 113 int result; local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); 118 if (result != (int) msgsz) { 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); 123 return result; 148 int result; local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)) [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_msg.c | 86 int result; local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); 88 return result; 113 int result; local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); 118 if (result != (int) msgsz) { 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); 123 return result; 148 int result; local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)) [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_msg.c | 86 int result; local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); 88 return result; 113 int result; local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); 118 if (result != (int) msgsz) { 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); 123 return result; 148 int result; local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)) [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_msg.c | 86 int result; local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); 88 return result; 113 int result; local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); 118 if (result != (int) msgsz) { 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); 123 return result; 148 int result; local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)) [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_msg.c | 86 int result; local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); 88 return result; 113 int result; local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); 118 if (result != (int) msgsz) { 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); 123 return result; 148 int result; local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)) [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_glue_msg.c | 86 int result; local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); 88 return result; 113 int result; local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); 118 if (result != (int) msgsz) { 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); 123 return result; 148 int result; local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)) [all...] |