/toolchain/binutils/binutils-2.27/libiberty/ |
xstrndup.c | 26 without fail, using @code{xmalloc} to obtain memory. The result is 50 char *result; local 56 result = XNEWVEC (char, len + 1); 58 result[len] = '\0'; 59 return (char *) memcpy (result, s, len);
|
/tools/test/connectivity/tools/lab/metrics/ |
system_load_metric.py | 38 result = os.getloadavg() 40 self.LOAD_AVG_1_MIN: result[0], 41 self.LOAD_AVG_5_MIN: result[1], 42 self.LOAD_AVG_15_MIN: result[2]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
IShardableListener.java | 16 package com.android.tradefed.result;
|
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/ |
core_cmSimd.h | 137 uint32_t result; local 139 __ASM volatile ("sadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); 140 return(result); 145 uint32_t result; local 147 __ASM volatile ("qadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); 148 return(result); 153 uint32_t result; local 155 __ASM volatile ("shadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); 156 return(result); 161 uint32_t result; local 169 uint32_t result; local 177 uint32_t result; local 186 uint32_t result; local 194 uint32_t result; local 202 uint32_t result; local 210 uint32_t result; local 218 uint32_t result; local 226 uint32_t result; local 235 uint32_t result; local 243 uint32_t result; local 251 uint32_t result; local 259 uint32_t result; local 267 uint32_t result; local 275 uint32_t result; local 283 uint32_t result; local 291 uint32_t result; local 299 uint32_t result; local 307 uint32_t result; local 315 uint32_t result; local 323 uint32_t result; local 331 uint32_t result; local 339 uint32_t result; local 347 uint32_t result; local 355 uint32_t result; local 363 uint32_t result; local 371 uint32_t result; local 379 uint32_t result; local 387 uint32_t result; local 395 uint32_t result; local 403 uint32_t result; local 411 uint32_t result; local 419 uint32_t result; local 427 uint32_t result; local 435 uint32_t result; local 457 uint32_t result; local 465 uint32_t result; local 473 uint32_t result; local 481 uint32_t result; local 489 uint32_t result; local 497 uint32_t result; local 505 uint32_t result; local 513 uint32_t result; local 555 uint32_t result; local 563 uint32_t result; local 571 uint32_t result; local 579 uint32_t result; local 621 uint32_t result; local 629 uint32_t result; local 637 uint32_t result; local 662 int32_t result; local [all...] |
/art/test/478-checker-inliner-nested-loop/src/ |
Main.java | 20 public static void assertIntEquals(int expected, int result) { 21 if (expected != result) { 22 throw new Error("Expected: " + expected + ", found: " + result); 27 int result; local 29 result = x * y; 31 result = 0; 33 return result;
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/ |
PatternUtil.java | 46 StringBuffer result = new StringBuffer();
local 51 result.append(".*");
54 result.append('.');
69 result.append('\\');
70 result.append(ch);
73 result.append(ch);
76 return result.toString();
|
/external/tpm2/ |
NV_WriteLock.c | 26 TPM_RC result; local 33 result = NvWriteAccessChecks(in->authHandle, in->nvIndex); 34 if(result != TPM_RC_SUCCESS) 36 if(result == TPM_RC_NV_AUTHORIZATION) 57 result = NvIsAvailable(); 58 if(result != TPM_RC_SUCCESS) 59 return result;
|
/frameworks/av/media/libaaudio/tests/ |
test_no_close.cpp | 29 aaudio_result_t result = AAUDIO_OK; local 33 result = AAudio_createStreamBuilder(&aaudioBuilder); 34 if (result != AAUDIO_OK) { 39 result = AAudioStreamBuilder_openStream(aaudioBuilder, &aaudioStream); 40 if (result != AAUDIO_OK) { 41 printf("ERROR could not open AAudio stream, %d\n", result); 50 return (result != AAUDIO_OK) ? EXIT_FAILURE : EXIT_SUCCESS;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
HearingAidStackEvent.java | 50 StringBuilder result = new StringBuilder(); local 51 result.append("HearingAidStackEvent {type:" + eventTypeToString(type)); 52 result.append(", device:" + device); 53 result.append(", value1:" + valueInt1); 54 result.append(", value2:" + valueLong2); 55 result.append("}"); 56 return result.toString();
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
BandwidthMicroBenchMarkTestTest.java | 38 Map<String, String> result = BandwidthMicroBenchMarkTest.parseServerResponse( local 40 assertNotNull(result); 41 assertEquals(3, result.size()); 42 assertTrue(result.containsKey("foo")); 43 assertEquals("bar", result.get("foo")); 44 assertEquals("red", result.get("blue")); 45 assertEquals("google", result.get("android"));
|
/frameworks/wilhelm/tests/mimeUri/ |
slesTestPlayUri2.cpp | 29 void ExitOnError( SLresult result ) 31 if (SL_RESULT_SUCCESS != result) { 32 fprintf(stdout, "%u error code encountered, exiting\n", result); 65 SLresult result; local 89 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 90 ExitOnError(result); 108 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); 109 ExitOnError(result); 112 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); 113 ExitOnError(result); 251 SLresult result; local [all...] |
/external/libxml2/python/tests/ |
reader7.py | 11 result = "" variable 13 global result 15 result = result + "%d %d %s %d\n" % (reader.Depth(), reader.NodeType(), 37 result = "" variable 49 if result != expect: 50 print("Unexpected result for test1") 51 print(result) 73 result = "" variable 85 if result != expect [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
SimTonesTest.java | 46 boolean result = TonesAutoTest.tonesDtmfTest(); 47 assertTrue("DTMF Tones", result); 52 boolean result = TonesAutoTest.tonesSupervisoryTest(); 53 assertTrue("Supervisory Tones", result); 58 boolean result = TonesAutoTest.tonesProprietaryTest(); 59 assertTrue("Proprietary Tones", result); 64 boolean result = TonesAutoTest.tonesSimultaneousTest(); 65 assertTrue("Simultaneous Tones", result); 70 boolean result = TonesAutoTest.tonesStressTest(); 71 assertTrue("Stress Tones", result); [all...] |
/frameworks/base/telephony/java/android/telephony/data/ |
IDataServiceCallback.aidl | 27 void onSetupDataCallComplete(int result, in DataCallResponse dataCallResponse); 28 void onDeactivateDataCallComplete(int result); 29 void onSetInitialAttachApnComplete(int result); 30 void onSetDataProfileComplete(int result); 31 void onGetDataCallListComplete(int result, in List<DataCallResponse> dataCallList);
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.c | 55 int result; local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); 59 if (result) { 60 return result; 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); 64 if (result) { 67 return result; 90 int result, ret_result = 0; local 91 result = pthread_cond_destroy( &thelper->thread_cond); 92 if (result) { 125 int result = 0; local 160 int result; local 192 int result = thelper->thread_ready; local 223 int result = 0; local 305 int result; local 386 int result; local [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.c | 55 int result; local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); 59 if (result) { 60 return result; 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); 64 if (result) { 67 return result; 90 int result, ret_result = 0; local 91 result = pthread_cond_destroy( &thelper->thread_cond); 92 if (result) { 125 int result = 0; local 160 int result; local 192 int result = thelper->thread_ready; local 223 int result = 0; local 305 int result; local 386 int result; local [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.c | 55 int result; local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); 59 if (result) { 60 return result; 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); 64 if (result) { 67 return result; 90 int result, ret_result = 0; local 91 result = pthread_cond_destroy( &thelper->thread_cond); 92 if (result) { 125 int result = 0; local 160 int result; local 192 int result = thelper->thread_ready; local 223 int result = 0; local 305 int result; local 386 int result; local [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.c | 55 int result; local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); 59 if (result) { 60 return result; 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); 64 if (result) { 67 return result; 90 int result, ret_result = 0; local 91 result = pthread_cond_destroy( &thelper->thread_cond); 92 if (result) { 125 int result = 0; local 160 int result; local 192 int result = thelper->thread_ready; local 223 int result = 0; local 305 int result; local 386 int result; local [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.c | 55 int result; local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); 59 if (result) { 60 return result; 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); 64 if (result) { 67 return result; 90 int result, ret_result = 0; local 91 result = pthread_cond_destroy( &thelper->thread_cond); 92 if (result) { 125 int result = 0; local 160 int result; local 192 int result = thelper->thread_ready; local 223 int result = 0; local 305 int result; local 386 int result; local [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.c | 55 int result; local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); 59 if (result) { 60 return result; 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); 64 if (result) { 67 return result; 90 int result, ret_result = 0; local 91 result = pthread_cond_destroy( &thelper->thread_cond); 92 if (result) { 125 int result = 0; local 160 int result; local 192 int result = thelper->thread_ready; local 223 int result = 0; local 305 int result; local 386 int result; local [all...] |
/packages/services/Car/car-lib/src/android/car/ |
CarApiUtil.java | 63 int[] result = CarSettings.DEFAULT_GARAGE_MODE_WAKE_UP_TIME; local 65 return result; 70 return result; 73 result[0] = Integer.valueOf(tokens[0]); 74 result[1] = Integer.valueOf(tokens[1]); 78 if (result[0] >= 0 && result[0] <= 23 && result[1] >= 0 && result[1] <= 59) { 79 return result; [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/ |
GenericVisitorAdapter.java | 47 R result = a.accept(this, arg); local 48 if (result != null) { 49 return result; 57 R result = member.accept(this, arg); local 58 if (result != null) { 59 return result; 73 R result = a.accept(this, arg); local 74 if (result != null) { 75 return result; 81 R result = n.getType().accept(this, arg) local 88 R result = n.getDefaultValue().accept(this, arg); local 101 R result = n.getName().accept(this, arg); local 107 R result = n.getIndex().accept(this, arg); local 119 R result = n.getType().accept(this, arg); local 125 R result = level.accept(this, arg); local 131 R result = n.getInitializer().accept(this, arg); local 145 R result = expr.accept(this, arg); local 159 R result = n.getCheck().accept(this, arg); local 166 R result = n.getMessage().accept(this, arg); local 179 R result = n.getTarget().accept(this, arg); local 185 R result = n.getValue().accept(this, arg); local 197 R result = n.getLeft().accept(this, arg); local 203 R result = n.getRight().accept(this, arg); local 217 R result = s.accept(this, arg); local 244 R result = n.getType().accept(this, arg); local 250 R result = n.getExpr().accept(this, arg); local 262 R result = n.getParam().accept(this, arg); local 268 R result = n.getBody().accept(this, arg); local 287 R result = n.getType().accept(this, arg); local 301 R result = a.accept(this, arg); local 311 R result = t.accept(this, arg); local 321 R result = c.accept(this, arg); local 332 R result = c.accept(this, arg); local 342 R result = member.accept(this, arg); local 356 R result = a.accept(this, arg); local 363 R result = n.getScope().accept(this, arg); local 371 R result = type.accept(this, arg); local 385 R result = n.getPackage().accept(this, arg); local 394 R result = i.accept(this, arg); local 404 R result = typeDeclaration.accept(this, arg); local 418 R result = n.getCondition().accept(this, arg); local 424 R result = n.getThenExpr().accept(this, arg); local 430 R result = n.getElseExpr().accept(this, arg); local 444 R result = a.accept(this, arg); local 454 R result = t.accept(this, arg); local 464 R result = p.accept(this, arg); local 474 R result = name.accept(this, arg); local 482 R result = n.getBody().accept(this, arg); local 500 R result = n.getBody().accept(this, arg); local 506 R result = n.getCondition().accept(this, arg); local 542 R result = n.getInner().accept(this, arg); local 556 R result = a.accept(this, arg); local 566 R result = e.accept(this, arg); local 576 R result = member.accept(this, arg); local 592 R result = a.accept(this, arg); local 602 R result = c.accept(this, arg); local 612 R result = e.accept(this, arg); local 622 R result = member.accept(this, arg); local 637 R result = n.getExpr().accept(this, arg); local 645 R result = type.accept(this, arg); local 654 R result = e.accept(this, arg); local 668 R result = n.getExpression().accept(this, arg); local 680 R result = n.getScope().accept(this, arg); local 688 R result = type.accept(this, arg); local 704 R result = a.accept(this, arg); local 712 R result = n.getElementType().accept(this, arg); local 719 R result = var.accept(this, arg); local 732 R result = n.getVariable().accept(this, arg); local 738 R result = n.getIterable().accept(this, arg); local 744 R result = n.getBody().accept(this, arg); local 758 R result = e.accept(this, arg); local 767 R result = n.getCompare().accept(this, arg); local 776 R result = e.accept(this, arg); local 784 R result = n.getBody().accept(this, arg); local 796 R result = n.getCondition().accept(this, arg); local 802 R result = n.getThenStmt().accept(this, arg); local 809 R result = n.getElseStmt().accept(this, arg); local 822 R result = n.getName().accept(this, arg); local 834 R result = n.getBlock().accept(this, arg); local 846 R result = n.getExpr().accept(this, arg); local 852 R result = n.getType().accept(this, arg); local 881 R result = n.getStmt().accept(this, arg); local 905 R result = n.getName().accept(this, arg); local 917 R result = n.getValue().accept(this, arg); local 930 R result = n.getScope().accept(this, arg); local 938 R result = type.accept(this, arg); local 947 R result = e.accept(this, arg); local 963 R result = a.accept(this, arg); local 973 R result = t.accept(this, arg); local 981 R result = n.getElementType().accept(this, arg); local 989 R result = p.accept(this, arg); local 999 R result = name.accept(this, arg); local 1008 R result = n.getBody().accept(this, arg); local 1027 R result = n.getName().accept(this, arg); local 1035 R result = m.accept(this, arg); local 1056 R result = n.getScope().accept(this, arg); local 1064 R result = type.accept(this, arg); local 1071 R result = n.getType().accept(this, arg); local 1079 R result = e.accept(this, arg); local 1089 R result = member.accept(this, arg); local 1105 R result = a.accept(this, arg); local 1113 R result = n.getName().accept(this, arg); local 1127 R result = a.accept(this, arg); local 1135 R result = n.getElementType().accept(this, arg); local 1141 R result = n.getId().accept(this, arg); local 1153 R result = a.accept(this, arg); local 1165 R result = n.getQualifier().accept(this, arg); local 1177 R result = a.accept(this, arg); local 1183 R result = n.getComponentType().accept(this, arg); local 1195 R result = a.accept(this, arg); local 1202 R result = n.getDimension().accept(this, arg); local 1215 R result = a.accept(this, arg); local 1222 R result = element.accept(this, arg); local 1235 R result = a.accept(this, arg); local 1242 R result = element.accept(this, arg); local 1256 R result = n.getExpr().accept(this, arg); local 1269 R result = n.getName().accept(this, arg); local 1275 R result = n.getMemberValue().accept(this, arg); local 1294 R result = n.getClassExpr().accept(this, arg); local 1308 R result = n.getLabel().accept(this, arg); local 1317 R result = s.accept(this, arg); local 1331 R result = n.getSelector().accept(this, arg); local 1339 R result = e.accept(this, arg); local 1355 R result = n.getExpr().accept(this, arg); local 1362 R result = n.getBody().accept(this, arg); local 1375 R result = n.getClassExpr().accept(this, arg); local 1388 R result = n.getExpr().accept(this, arg); local 1402 R result = v.accept(this, arg); local 1410 R result = n.getTryBlock().accept(this, arg); local 1418 R result = c.accept(this, arg); local 1427 R result = n.getFinallyBlock().accept(this, arg); local 1440 R result = n.getTypeDeclaration().accept(this, arg); local 1454 R result = c.accept(this, arg); local 1468 R result = n.getExpr().accept(this, arg); local 1486 R result = a.accept(this, arg); local 1492 R result = n.getElementType().accept(this, arg); local 1499 R result = v.accept(this, arg); local 1512 R result = n.getId().accept(this, arg); local 1519 R result = n.getInit().accept(this, arg); local 1538 R result = a.accept(this, arg); local 1550 R result = n.getCondition().accept(this, arg); local 1556 R result = n.getBody().accept(this, arg); local 1568 R result = a.accept(this, arg); local 1575 R result = n.getExtends().accept(this, arg); local 1583 R result = n.getSuper().accept(this, arg); local 1597 R result = a.accept(this, arg); local 1604 R result = n.getBody().accept(this, arg); local 1618 R result = type.accept(this, arg); local 1626 R result = n.getScope().accept(this, arg); local 1638 R result = n.getType().accept(this, arg); local 1650 R result = a.accept(this, arg); local 1671 Comment result = (Comment) n.getComment().accept(this, arg); local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/VcCheck/ |
VcCheck.c | 96 int result;
local 100 result = 0;
103 result += (gGloba16 == 0) ? 0 : 1;
106 result += (gGloba16 == 1) ? 0 : 1;
108 if (result != 0) {
|
/external/clang/test/Preprocessor/ |
macro_arg_directive.c | 18 ({ int result = 0; __VA_ARGS__; if (!result) { fail(#__VA_ARGS__); }; result }) 23 result = 24; 25 result = k - 4;
|
/external/eigen/doc/examples/ |
Tutorial_ArrayClass_interop.cpp | 11 MatrixXf result(2,2); 18 result = (m.array() + 4).matrix() * m; 19 cout << "-- Combination 1: --" << endl << result << endl << endl; 20 result = (m.array() * n.array()).matrix() * m; 21 cout << "-- Combination 2: --" << endl << result << endl << endl;
|