/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/ |
H A D | 13-1.c | 21 int result; in main() local 23 result = mlockall(0); in main() 25 if (result == -1 && errno == EINVAL) { in main() 28 } else if (result != -1) { in main() 29 printf("mlockall() return %i instead of -1.\n", result); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/speculative/ |
H A D | 7-1.c | 24 int result = -1; in main() local 26 result = sched_getparam(0, NULL); in main() 28 if (result == -1 && errno == EFAULT) { in main() 33 if (result == -1 && errno == EINVAL) { in main() 40 result, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/speculative/ |
H A D | 5-1.c | 25 int result = -2; in main() local 27 result = sched_rr_get_interval(0, NULL); in main() 29 if (result == -1 && errno == EFAULT) { in main() 34 if (result == -1 && errno == EINVAL) { in main() 41 result, errno); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | ctermid.c | 26 char *result = ctermid(buf); in ctermid_0100() local 27 EXPECT_EQ("ctermid_0100", buf, result); in ctermid_0100() 28 EXPECT_STREQ("ctermid_0100", result, "/dev/tty"); in ctermid_0100() 39 char *result = ctermid(NULL); in ctermid_0200() local 40 EXPECT_STREQ("ctermid_0200", result, "/dev/tty"); in ctermid_0200()
|
/third_party/curl/lib/ |
H A D | md5.c | 298 static void my_md5_final(unsigned char *result, my_md5_ctx *ctx); 506 static void my_md5_final(unsigned char *result, my_md5_ctx *ctx) in my_md5_final() argument 537 result[0] = curlx_ultouc((ctx->a)&0xff); in my_md5_final() 538 result[1] = curlx_ultouc((ctx->a >> 8)&0xff); in my_md5_final() 539 result[2] = curlx_ultouc((ctx->a >> 16)&0xff); in my_md5_final() 540 result[3] = curlx_ultouc(ctx->a >> 24); in my_md5_final() 541 result[4] = curlx_ultouc((ctx->b)&0xff); in my_md5_final() 542 result[5] = curlx_ultouc((ctx->b >> 8)&0xff); in my_md5_final() 543 result[6] = curlx_ultouc((ctx->b >> 16)&0xff); in my_md5_final() 544 result[ in my_md5_final() 598 CURLcode result; Curl_md5it() local 646 Curl_MD5_final(struct MD5_context *context, unsigned char *result) Curl_MD5_final() argument [all...] |
H A D | krb5.c | 73 CURLcode result = CURLE_OK; in ftpsend() local 93 result = Curl_nwrite(data, FIRSTSOCKET, sptr, write_len, in ftpsend() 100 if(result) in ftpsend() 113 return result; in ftpsend() 200 CURLcode result; in krb5_auth() local 232 result = ftpsend(data, conn, "AUTH GSSAPI"); in krb5_auth() 233 if(result) in krb5_auth() 301 result = Curl_base64_encode((char *)output_buffer.value, in krb5_auth() 303 if(result) { in krb5_auth() 304 infof(data, "base64-encoding: %s", curl_easy_strerror(result)); in krb5_auth() 469 CURLcode result; socket_read() local 496 CURLcode result; socket_write() local 519 CURLcode result; read_data() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ucnvsel.cpp | 62 static void generateSelectorData(UConverterSelector* result, in generateSelectorData() argument 71 int32_t columns = (result->encodingsCount+31)/32; in generateSelectorData() 79 for (int32_t i = 0; i < result->encodingsCount; ++i) { in generateSelectorData() 84 UConverter* test_converter = ucnv_open(result->encodings[i], status); in generateSelectorData() 142 result->trie = upvec_compactToUTrie2WithRowIndexes(upvec, status); in generateSelectorData() 143 result->pv = upvec_cloneArray(upvec, &result->pvCount, NULL, status); in generateSelectorData() 144 result->pvCount *= columns; // number of uint32_t = rows * columns in generateSelectorData() 145 result->ownPv = true; in generateSelectorData() 630 const char* result; in ucnvsel_next_encoding() local [all...] |
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_query.c | 29 {"FEP", "FEP-valid-primitives-no-rendered-pixels", "[FEP] Valid primitives that result in no rendered pixels, for all rendered tiles"}, 193 VkResult result; in v3dv_CreateQueryPool() local 199 result = vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in v3dv_CreateQueryPool() 213 result = vk_error(device, VK_ERROR_OUT_OF_DEVICE_MEMORY); in v3dv_CreateQueryPool() 217 result = vk_error(device, VK_ERROR_OUT_OF_DEVICE_MEMORY); in v3dv_CreateQueryPool() 260 result = vk_sync_create(&device->vk, in v3dv_CreateQueryPool() 263 if (result != VK_SUCCESS) in v3dv_CreateQueryPool() 291 return result; in v3dv_CreateQueryPool() 343 VkResult result = VK_SUCCESS; in query_wait_available() local 348 result in query_wait_available() 508 VkResult result = query_wait_available(device, q, pool->query_type); query_is_available() local 516 VkResult result = query_check_available(device, q, pool->query_type); query_is_available() local 558 VkResult result = VK_SUCCESS; v3dv_get_query_pool_results() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-fs-realpath.js | 118 const result = realpathSync(entry); 119 assertEqualPath(result, path.resolve(expected)); 120 asynctest(realpath, [entry], callback, function(err, result) { 121 assertEqualPath(result, path.resolve(expected)); 146 const result = realpathSync(entry); 147 assertEqualPath(result, path.resolve(expected)); 148 asynctest(realpath, [entry], callback, function(err, result) { 149 assertEqualPath(result, path.resolve(expected)); 182 asynctest(realpath, [entry], callback, function(err, result) { 183 assertEqualPath(result, pat [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucnvsel.cpp | 62 static void generateSelectorData(UConverterSelector* result, in generateSelectorData() argument 71 int32_t columns = (result->encodingsCount+31)/32; in generateSelectorData() 79 for (int32_t i = 0; i < result->encodingsCount; ++i) { in generateSelectorData() 84 UConverter* test_converter = ucnv_open(result->encodings[i], status); in generateSelectorData() 142 result->trie = upvec_compactToUTrie2WithRowIndexes(upvec, status); in generateSelectorData() 143 result->pv = upvec_cloneArray(upvec, &result->pvCount, nullptr, status); in generateSelectorData() 144 result->pvCount *= columns; // number of uint32_t = rows * columns in generateSelectorData() 145 result->ownPv = true; in generateSelectorData() 630 const char* result; in ucnvsel_next_encoding() local [all...] |
H A D | uniset_closure.cpp | 136 // add the result of a full case mapping to the set 139 addCaseMapping(UnicodeSet &set, int32_t result, const char16_t *full, UnicodeString &str) { in addCaseMapping() argument 140 if(result >= 0) { in addCaseMapping() 141 if(result > UCASE_MAX_STRING_LENGTH) { in addCaseMapping() 143 set.add(result); in addCaseMapping() 145 // add a string case mapping from full with length result in addCaseMapping() 146 str.setTo((UBool)false, full, result); in addCaseMapping() 150 // result < 0: the code point mapped to itself, no need to add it in addCaseMapping() 306 UChar32 result; in closeOverAddCaseMappings() local 317 result in closeOverAddCaseMappings() [all...] |
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetBOCU1.java | 262 * @param m Output variable for the rest (modulo result). 293 int result, m = 0; in packDiff() 301 result=0x02000000; in packDiff() 305 result|=BOCU1_TRAIL_TO_BYTE(m); in packDiff() 307 result|=(BOCU1_START_POS_2+diff)<<8; in packDiff() 311 result=0x03000000; in packDiff() 315 result|=BOCU1_TRAIL_TO_BYTE(m); in packDiff() 319 result|=BOCU1_TRAIL_TO_BYTE(m)<<8; in packDiff() 321 result|=(BOCU1_START_POS_3+diff)<<16; in packDiff() 328 result in packDiff() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucnvsel.cpp | 62 static void generateSelectorData(UConverterSelector* result, in generateSelectorData() argument 71 int32_t columns = (result->encodingsCount+31)/32; in generateSelectorData() 79 for (int32_t i = 0; i < result->encodingsCount; ++i) { in generateSelectorData() 84 UConverter* test_converter = ucnv_open(result->encodings[i], status); in generateSelectorData() 142 result->trie = upvec_compactToUTrie2WithRowIndexes(upvec, status); in generateSelectorData() 143 result->pv = upvec_cloneArray(upvec, &result->pvCount, NULL, status); in generateSelectorData() 144 result->pvCount *= columns; // number of uint32_t = rows * columns in generateSelectorData() 145 result->ownPv = TRUE; in generateSelectorData() 630 const char* result; in ucnvsel_next_encoding() local [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | cpp_driver_lite.py | 66 result = "" variable in CppTestDriver 116 if os.path.exists(self.result): 117 os.remove(self.result) 206 self.result = check_result_report( 207 request.config.report_path, self.result, self.error_message, 220 result, _, _ = self.config.device.execute_command_with_timeout( 224 if CPP_TEST_MOUNT_STOP_SIGN in result: 236 parser_instance.suites_name = os.path.basename(self.result) 243 result, _, _ = self.config.device.execute_command_with_timeout( 248 self.config.command_result, result) [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | uspoof.cpp | 238 SpoofImpl *result = new SpoofImpl(*src, *status); // copy constructor in uspoof_clone() local 239 if (result == nullptr) { in uspoof_clone() 244 delete result; in uspoof_clone() 245 result = nullptr; in uspoof_clone() 247 return result->asUSpoofChecker(); in uspoof_clone() 327 const UnicodeSet *result = uspoof_getAllowedUnicodeSet(sc, status); in uspoof_getAllowedChars() local 328 return result->toUSet(); in uspoof_getAllowedChars() 401 int32_t result = uspoof_check2UnicodeString(sc, idStr, checkResult, status); in uspoof_check2() local 402 return result; in uspoof_check2() 432 int32_t result in uspoof_check2UTF8() local 518 int32_t result = 0; uspoof_areConfusableUnicodeString() local 612 uint32_t result = 0; uspoof_areBidiConfusableUnicodeString() local 648 int32_t result = 0; checkImpl() local [all...] |
/third_party/node/deps/v8/src/strings/ |
H A D | unicode.cc | 96 // following the one to map. The result will be written in to the result 99 // it if the result contains multiple characters or depends on the 103 // the result is the same as for the start point on the entire range. 107 uchar chr, uchar next, uchar* result, in LookupMapping() 145 result[0] = chr + (value >> 2); in LookupMapping() 147 result[0] = entry + chunk_start + (value >> 2); in LookupMapping() 159 result[length] = mapped + (key - entry); in LookupMapping() 161 result[length] = mapped; in LookupMapping() 176 result[ in LookupMapping() 105 LookupMapping(const int32_t* table, uint16_t size, const MultiCharacterSpecialCase<kW>* multi_chars, uchar chr, uchar next, uchar* result, bool* allow_caching_ptr) LookupMapping() argument 987 Convert(uchar c, uchar n, uchar* result, bool* allow_caching_ptr) Convert() argument 1302 Convert(uchar c, uchar n, uchar* result, bool* allow_caching_ptr) Convert() argument 1543 Convert(uchar c, uchar n, uchar* result, bool* allow_caching_ptr) Convert() argument 2462 Convert(uchar c, uchar n, uchar* result, bool* allow_caching_ptr) Convert() argument 2525 Convert(uchar c, uchar n, uchar* result, bool* allow_caching_ptr) Convert() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_dump_state.c | 966 const union pipe_query_result *result) in trace_dump_query_result() 971 if (!result) { in trace_dump_query_result() 982 trace_dump_bool(result->b); in trace_dump_query_result() 990 trace_dump_uint(result->u64); in trace_dump_query_result() 995 trace_dump_member(uint, &result->so_statistics, num_primitives_written); in trace_dump_query_result() 996 trace_dump_member(uint, &result->so_statistics, primitives_storage_needed); in trace_dump_query_result() 1002 trace_dump_member(uint, &result->timestamp_disjoint, frequency); in trace_dump_query_result() 1003 trace_dump_member(bool, &result->timestamp_disjoint, disjoint); in trace_dump_query_result() 1009 trace_dump_member(uint, &result->pipeline_statistics, ia_vertices); in trace_dump_query_result() 1010 trace_dump_member(uint, &result in trace_dump_query_result() 965 trace_dump_query_result(unsigned query_type, unsigned index, const union pipe_query_result *result) trace_dump_query_result() argument [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | js-temporal-objects.cc | 454 // 2. Set ns to the result of clamping ns between −8.64 × 10^21 and 8.64 × in SystemUTCEpochNanoseconds() 1001 DateTimeRecordCommon result; in GetISOPartsFromEpoch() local 1038 result.year = year; in GetISOPartsFromEpoch() 1040 result.month = month + 1; in GetISOPartsFromEpoch() 1041 DCHECK_GE(result.month, 1); in GetISOPartsFromEpoch() 1042 DCHECK_LE(result.month, 12); in GetISOPartsFromEpoch() 1044 result.day = day; in GetISOPartsFromEpoch() 1045 DCHECK_GE(result.day, 1); in GetISOPartsFromEpoch() 1046 DCHECK_LE(result.day, 31); in GetISOPartsFromEpoch() 1048 result in GetISOPartsFromEpoch() 1132 DateTimeRecordCommon result = maybe_result.FromJust(); BuiltinTimeZoneGetPlainDateTimeFor() local 1462 Handle<JSObject> result = PrepareTemporalFieldsOrPartial() local 1582 Handle<Object> result; FromFields() local 1880 DateRecord result = maybe_result.FromJust(); ToTemporalDate() local 1950 TimeRecord result; ToTemporalTime() local 2119 Handle<String> result; ToTemporalTimeZone() local 2285 DateTimeRecord result; ParseISODateTime() local 2395 DateTimeRecord result = maybe_result.FromJust(); ParseTemporalDateString() local 2431 DateTimeRecord result = maybe_result.FromJust(); ParseTemporalTimeString() local 2462 DateTimeRecord result = maybe_result.FromJust(); ParseTemporalInstantString() local 2512 InstantRecord result = maybe_result.FromJust(); ParseTemporalInstant() local 2676 TimeZoneRecord result = maybe_result.FromJust(); ParseTemporalTimeZone() local 3090 Handle<Object> result; InvokeCalendarMethod() local 3144 Handle<Object> result; CalendarMonthCode() local 3165 Handle<Object> result; CalendarEraYear() local 3185 Handle<Object> result; CalendarEra() local 3327 TimeRecord result; ToTemporalTimeRecord() local 4108 DurationRecord result; DifferenceISODateTime() local 4240 Handle<BigInt> result; AddInstant() local 4339 Handle<BigInt> result; GetEpochFromISOParts() local [all...] |
/test/xts/acts/communication/wifi_standard/entry/src/ohosTest/ets/test/ |
H A D | WifiStationEvent.test.js | 71 let wifiStateChangeCallback = result => { 72 console.info("[wifi_test]wifiStateChange callback, result: " + JSON.stringify(result)); 89 let wifiConnectionChangeCallback = result => { 90 console.info("[wifi_test]wifiConnectionChange callback, result: " + JSON.stringify(result)); 107 let wifiScanStateChangeCallback = result => { 108 console.info("[wifi_test]wifiScanStateChange callback, result: " + JSON.stringify(result)); 131 let wifiRssiChangeCallback = result [all...] |
H A D | WifiManagerStationEvent.test.js | 70 let wifiStateChangeCallback = result => { 71 console.info("[wifi_test]wifiStateChange callback, result: " + JSON.stringify(result)); 88 let wifiConnectionChangeCallback = result => { 89 console.info("[wifi_test]wifiConnectionChange callback, result: " + JSON.stringify(result)); 106 let wifiScanStateChangeCallback = result => { 107 console.info("[wifi_test]wifiScanStateChange callback, result: " + JSON.stringify(result)); 130 let wifiRssiChangeCallback = result [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib582.c | 152 int result = 0; in checkForCompletion() local 160 result = 1; in checkForCompletion() 161 if(message->data.result == CURLE_OK) in checkForCompletion() 169 result = 1; in checkForCompletion() 173 return result; in checkForCompletion() 179 ssize_t result; in getMicroSecondTimeout() local 181 result = (ssize_t)((timeout->tv_sec - now.tv_sec) * 1000000 + in getMicroSecondTimeout() 183 if(result < 0) in getMicroSecondTimeout() 184 result = 0; in getMicroSecondTimeout() 186 return curlx_sztosi(result); in getMicroSecondTimeout() 208 CURLMcode result = curl_multi_socket_action(curl, s, evBitmask, &numhandles); notifyCurl() local [all...] |
/third_party/elfutils/libelf/ |
H A D | elf32_getphdr.c | 49 ElfW2(LIBELFBITS,Phdr) *result; in ElfW2() 54 result = elf->state.ELFW(elf,LIBELFBITS).phdr; in ElfW2() 55 if (likely (result != NULL)) in ElfW2() 56 return result; in ElfW2() 63 result = NULL; in ElfW2() 67 if (likely (result == NULL)) in ElfW2() 229 result = elf->state.ELFW(elf,LIBELFBITS).phdr; in ElfW2() 233 return result; in ElfW2() 239 ElfW2(LIBELFBITS,Phdr) *result; in ElfW2() 253 result in ElfW2() [all...] |
/third_party/backends/backend/ |
H A D | plustek-pp_wrapper.c | 106 int result; in ppDev_open() local 114 result = PtDrvInit( dev_name, dev->adj.mov ); in ppDev_open() 115 if( 0 != result ) { in ppDev_open() 116 DBG( _DBG_ERROR, "open: PtDrvInit failed: %d\n", result ); in ppDev_open() 132 result = PtDrvIoctl( _PTDRV_OPEN_DEVICE, &version ); in ppDev_open() 134 result = ioctl( handle, _PTDRV_OPEN_DEVICE, &version ); in ppDev_open() 136 if( result < 0 ) { in ppDev_open() 138 if( -9019 == result ) { in ppDev_open() 147 result = PtDrvIoctl( _PTDRV_OPEN_DEVICE, &version ); in ppDev_open() 149 result in ppDev_open() [all...] |
/third_party/backends/sanei/ |
H A D | sanei_thread.c | 415 int result; in sanei_thread_begin() local 437 result = pthread_create( &thread, NULL, local_thread, &td ); in sanei_thread_begin() 440 if ( result != 0 ) { in sanei_thread_begin() 441 DBG( 1, "pthread_create() failed with %d\n", result ); in sanei_thread_begin() 491 SANE_Pid result = pid; in sanei_thread_waitpid() local 509 DBG(2, "* result = %d (%p)\n", stat, (void*)status ); in sanei_thread_waitpid() 510 result = pid; in sanei_thread_waitpid() 527 result = waitpid( pid, &ls, 0 ); in sanei_thread_waitpid() 528 if((result < 0) && (errno == ECHILD)) { in sanei_thread_waitpid() 530 result in sanei_thread_waitpid() [all...] |
/third_party/node/deps/v8/tools/ |
H A D | bigint-tester.py | 87 # whose content is defined by the result of a call to "EmitOne". 215 result = abs(a) / abs(b) 216 if (a < 0) != (b < 0): result = -result 217 return result 228 result = a % b 229 if a < 0 and result > 0: 230 result -= abs(b) 231 if a > 0 and result < 0: 232 result [all...] |