/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | ucoleitr.cpp | 334 int64_t result = UCOL_IGNORABLE; in nextProcessed() local 349 result = UCOL_PROCESSED_NULLORDER; in nextProcessed() 353 result = processCE((uint32_t)ce); in nextProcessed() 354 } while (result == UCOL_IGNORABLE); in nextProcessed() 364 return result; in nextProcessed() 387 int64_t result = UCOL_IGNORABLE; in previousProcessed() local 422 result = processCE(rcei->ce); in previousProcessed() 424 if (result != UCOL_IGNORABLE) { in previousProcessed() 425 pceBuffer.put(result, rcei->low, rcei->high, *status); in previousProcessed()
|
H A D | windtfmt.cpp | 59 UnicodeString *result = NULL; in getTimeDateFormat() local 87 result = new UnicodeString(TRUE, resStr, resStrLen); in getTimeDateFormat() 94 return result; in getTimeDateFormat() 310 int result=0; in formatDate() local 320 result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BUFFER_SIZE, NULL); in formatDate() 322 if (result == 0) { in formatDate() 343 int result; in formatTime() local 353 result = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, STACK_BUFFER_SIZE); in formatTime() 355 if (result == 0) { in formatTime()
|
H A D | winnmfmt.cpp | 318 void Win32NumberFormat::parse(const UnicodeString& text, Formattable& result, ParsePosition& parsePosition) const in parse() argument 323 nf->parse(text, result, parsePosition); in parse() 343 int result; in format() local 347 /* Due to the arguments causing a result to be <= 23 characters (+2 for NULL and minus), in format() 350 result = _vsnwprintf(nBuffer, STACK_BUFFER_SIZE, fmt, args); in format() 354 U_ASSERT(result >=0); in format() 356 /*if (result < 0) { in format() 366 result = _vsnwprintf(nBuffer, newLength + 1, fmt, args); in format() 409 result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE); in format() 411 if (result in format() [all...] |
/third_party/python/Lib/tkinter/ |
H A D | simpledialog.py | 125 self.result = None 305 result = self.getresult() 314 if self.minvalue is not None and result < self.minvalue: 323 if self.maxvalue is not None and result > self.maxvalue: 332 self.result = result 356 return d.result 378 return d.result 412 return d.result
|
/third_party/python/Lib/test/libregrtest/ |
H A D | runtest.py | 146 def is_failed(result: TestResult, ns: Namespace) -> bool: 147 if isinstance(result, EnvChanged): 149 return isinstance(result, Failed) 214 result = _runtest_inner(ns, test_name, 216 if not isinstance(result, Passed): 230 result = _runtest_inner(ns, test_name, 235 result.xml_data = [ 240 result.duration_sec = time.perf_counter() - start_time 241 return result 254 Returns a TestResult sub-class depending on the kind of result receive [all...] |
/third_party/skia/tools/skpbench/ |
H A D | skpbench.py | 246 result = BenchResult.match(message.value) 247 if result: 249 self._process_result(result) 273 def _process_result(self, result): 274 if not self.best_result or result.stddev <= self.best_result.stddev: 275 self.best_result = result 277 print("reusing previous result for %s/%s with lower stddev " 279 (result.config, result.bench, self.best_result.stddev, 280 result [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | caniter.cpp | 148 //String result = buffer.toString(); // not needed in next() 267 void U_EXPORT2 CanonicalIterator::permute(UnicodeString &source, UBool skipZeros, Hashtable *result, UErrorCode &status) { in permute() argument 284 result->put(source, toPut, status); in permute() 334 result->put(*chStr, chStr, status); in permute() 338 //return result; in permute() 345 Hashtable result(status); in getEquivalents() 351 result.setValueDeleter(uprv_deleteUObject); in getEquivalents() 390 result.put(possible, new UnicodeString(possible), status); //add(possible); in getEquivalents() 405 //String[] finalResult = new String[result.size()]; in getEquivalents() 408 if((resultCount = result in getEquivalents() [all...] |
/third_party/vixl/benchmarks/aarch64/ |
H A D | bench-utils.cc | 57 uint64_t result = 0; in GetRandomBits() local 61 result = (result << 32) | jrand48(rand_state_); // [-2^31, 2^31] in GetRandomBits() 64 if (bits == 0) return result; in GetRandomBits() 71 result = (result << rnd_bits_) | rnd_; in GetRandomBits() 79 result = (result << bits) | (rnd_ % (UINT32_C(1) << bits)); in GetRandomBits() 82 return result; in GetRandomBits()
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | io_win32.cc | 200 std::wstringstream result; in normalize() local 203 result << L'\\'; in normalize() 206 result << segments[i]; in normalize() 210 result << L'\\'; in normalize() 212 return result.str(); in normalize() 215 bool as_windows_path(const char* path, wstring* result) { in as_windows_path() argument 217 result->clear(); in as_windows_path() 225 *result = wpath; in as_windows_path() 250 *result = wpath; in as_windows_path()
|
/third_party/protobuf/js/binary/ |
H A D | decoder.js | 273 * function with the value in two signed 32 bit integers to produce the result. 285 * the result value, takes parameters (lowBits, highBits). 329 * produce the result. Since this does not convert the value to a number, no 341 * the result value, takes parameters (lowBits, highBits). 354 * function with the value in two signed 32 bit integers to produce the result. 358 * the result value, takes parameters (lowBits, highBits). 530 var result = this.readUnsignedVarint32(); 531 return (result >>> 1) ^ - (result & 1); 836 var result [all...] |
/third_party/python/Modules/ |
H A D | main.c | 268 PyObject *module, *runpy, *runmodule, *runargs, *result; in pymain_run_module() local 300 result = PyObject_Call(runmodule, runargs, NULL); in pymain_run_module() 301 if (!result && PyErr_Occurred() == PyExc_KeyboardInterrupt) { in pymain_run_module() 308 if (result == NULL) { in pymain_run_module() 311 Py_DECREF(result); in pymain_run_module() 450 PyObject *sys, *hook, *result; in pymain_run_interactive_hook() local 467 result = _PyObject_CallNoArgs(hook); in pymain_run_interactive_hook() 469 if (result == NULL) { in pymain_run_interactive_hook() 472 Py_DECREF(result); in pymain_run_interactive_hook()
|
/third_party/python/Lib/test/ |
H A D | test_ttk_textonly.py | 44 def check_against(fmt_opts, result): 46 self.assertEqual(result.pop(fmt_opts[i]), fmt_opts[i + 1]) 47 if result: 48 self.fail("result still got elements: %s" % result) 133 result = ttk._format_mapdict(opts) 134 self.assertEqual(len(result), len(list(opts.keys())) * 2) 135 self.assertEqual(result, ('-a', '{b c} val d otherval {} single')) 142 result = ttk._format_mapdict(opts) 143 self.assertEqual(result, (' [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
H A D | vktObjectRefreshTests.cpp | 56 vk::VkResult result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, DE_NULL); in queryRefreshableObjects() local 57 if (result != vk::VK_SUCCESS) in queryRefreshableObjects() 71 result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countRetrieved, refreshableObjects.data()); in queryRefreshableObjects() 74 if ((result != vk::VK_SUCCESS) && (result != vk::VK_INCOMPLETE)) in queryRefreshableObjects() 99 vk::VkResult result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, DE_NULL); in refreshObjects() local 100 if ((result != vk::VK_SUCCESS) || (countReported == 0)) in refreshObjects() 104 result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, refreshableObjectTypes.data()); in refreshObjects() 105 if (result != vk::VK_SUCCESS) in refreshObjects()
|
/third_party/vulkan-loader/scripts/ |
H A D | update_deps.py | 284 result = subprocess.run(cmd, cwd=directory, capture_output=True, text=True) 286 if result.returncode != 0: 287 print(f'{result.stderr}', file=sys.stderr) 291 print(result.stdout) 292 return result.stdout 298 result = subprocess.run(cmake_cmd, 305 print(result.stdout) 308 if result.returncode != 0: 309 print(result.stdout, file=sys.stderr) 310 sys.exit(result [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | copyvertex.inc.h | 201 float result = 0; in CopyToFloatVertexData() local 207 result = static_cast<float>(offsetInput[j]) / static_cast<float>(NL::max()); in CopyToFloatVertexData() 208 result = result >= -1.0f ? result : -1.0f; in CopyToFloatVertexData() 212 result = static_cast<float>(offsetInput[j]) / static_cast<float>(NL::max()); in CopyToFloatVertexData() 217 result = static_cast<float>(offsetInput[j]); in CopyToFloatVertexData() 222 offsetOutput[j] = gl::float32ToFloat16(result); in CopyToFloatVertexData() 226 offsetOutput[j] = static_cast<outputType>(result); in CopyToFloatVertexData()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_manager_service.cpp | 485 ErrCode result = CheckLocalId(id); in GetOsAccountProfilePhoto() local 486 if (result != ERR_OK) { in GetOsAccountProfilePhoto() 487 return result; in GetOsAccountProfilePhoto() 665 ErrCode result = ERR_OK; in DeactivateAllOsAccounts() local 671 result = res; in DeactivateAllOsAccounts() 674 return result; in DeactivateAllOsAccounts() 826 ErrCode result = ERR_OK; in DumpState() local 830 result = innerManager_.QueryAllCreatedOsAccounts(osAccountInfos); in DumpState() 831 if (result != ERR_OK) { in DumpState() 832 return result; in DumpState() 851 ErrCode result = ERR_OK; DumpOsAccountInfo() local 1121 ErrCode result = IsOsAccountExists(id, isOsAccountExists); IsOsAccountForeground() local [all...] |
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/ |
H A D | zero_branch6_test.cpp | 141 auto result = Security::AccessToken::AccessTokenKit::ReloadNativeTokenInfo(); in SetUpTestCase() local 142 EXPECT_EQ(result, Security::AccessToken::RET_SUCCESS); in SetUpTestCase() 754 int32_t result = ott.InviteToConference(requestInfo, numberList); in HWTEST_F() local 758 ASSERT_NE(result, TELEPHONY_SUCCESS); in HWTEST_F() 795 int32_t result = 0; in HWTEST_F() local 796 callStatusCallback->StartDtmfResult(result); in HWTEST_F() 797 callStatusCallback->StopDtmfResult(result); in HWTEST_F() 798 callStatusCallback->SendUssdResult(result); in HWTEST_F() 799 callStatusCallback->GetImsCallDataResult(result); in HWTEST_F() 802 callStatusCallback->UpdateSetWaitingResult(result); in HWTEST_F() [all...] |
/base/time/time_service/test/unittest/service_test/src/ |
H A D | time_client_test.cpp | 226 int32_t result = TimeServiceClient::GetInstance()->SetTimeV9(time); in HWTEST_F() local 227 EXPECT_EQ(result, TimeError::E_TIME_OK); in HWTEST_F() 237 int32_t result = TimeServiceClient::GetInstance()->SetTimeV9(-1); in HWTEST_F() local 238 EXPECT_NE(result, TimeError::E_TIME_OK); in HWTEST_F() 248 int32_t result = TimeServiceClient::GetInstance()->SetTimeV9(LLONG_MAX); in HWTEST_F() local 249 EXPECT_NE(result, TimeError::E_TIME_OK); in HWTEST_F() 264 int32_t result = TimeServiceClient::GetInstance()->SetTimeV9(time); in HWTEST_F() local 265 EXPECT_NE(result, TimeError::E_TIME_OK); in HWTEST_F() 285 int32_t result = TimeServiceClient::GetInstance()->SetTimeZoneV9(timeZoneNicosia); in HWTEST_F() local 286 EXPECT_EQ(result, TimeErro in HWTEST_F() 302 int32_t result = TimeServiceClient::GetInstance()->SetTimeZoneV9("123"); HWTEST_F() local 314 int32_t result = TimeServiceClient::GetInstance()->SetTimeZoneV9("Asia/Shanghai"); HWTEST_F() local 624 auto result = TimeServiceClient::GetInstance()->StartTimerV9(timerId, triggerTime + 1000); HWTEST_F() local 1202 int32_t result = TimeServiceClient::GetInstance()->SetTimeV9(time); HWTEST_F() local 1246 int32_t result = TimeServiceClient::GetInstance()->SetTimeV9(time1); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | garmin_gps.c | 264 int result = 0; in pkt_add() local 279 result = list_empty(&garmin_data_p->pktlist); in pkt_add() 291 if (result && (state == STATE_GSP_WAIT_DATA)) in pkt_add() 294 return result; in pkt_add() 302 struct garmin_packet *result = NULL; in pkt_pop() local 306 result = (struct garmin_packet *)garmin_data_p->pktlist.next; in pkt_pop() 307 list_del(&result->list); in pkt_pop() 310 return result; in pkt_pop() 318 struct garmin_packet *result = NULL; in pkt_clear() local 322 result in pkt_clear() 704 int result = 0; gsp_next_packet() local 740 int result = count; nat_receive() local [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdpsock_user.c | 587 unsigned int result = 0; in do_csum() local 595 result += (*buff << 8); in do_csum() 597 result = *buff; in do_csum() 604 result += *(unsigned short *)buff; in do_csum() 617 result += carry; in do_csum() 618 result += w; in do_csum() 619 carry = (w > result); in do_csum() 621 result += carry; in do_csum() 622 result = (result in do_csum() [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | main.c | 897 int result, i; in ieee80211_register_hw() local 1091 result = -EINVAL; in ieee80211_register_hw() 1155 result = -EINVAL; in ieee80211_register_hw() 1159 result = ieee80211_init_cipher_suites(local); in ieee80211_register_hw() 1160 if (result < 0) in ieee80211_register_hw() 1197 result = -ENOMEM; in ieee80211_register_hw() 1232 result = ieee80211_txq_setup_flows(local); in ieee80211_register_hw() 1233 if (result) in ieee80211_register_hw() 1237 result = ieee80211_init_rate_ctrl_alg(local, in ieee80211_register_hw() 1240 if (result < in ieee80211_register_hw() [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | garmin_gps.c | 264 int result = 0; in pkt_add() local 280 result = list_empty(&garmin_data_p->pktlist); in pkt_add() 292 if (result && (state == STATE_GSP_WAIT_DATA)) in pkt_add() 295 return result; in pkt_add() 303 struct garmin_packet *result = NULL; in pkt_pop() local 307 result = (struct garmin_packet *)garmin_data_p->pktlist.next; in pkt_pop() 308 list_del(&result->list); in pkt_pop() 311 return result; in pkt_pop() 319 struct garmin_packet *result = NULL; in pkt_clear() local 323 result in pkt_clear() 705 int result = 0; gsp_next_packet() local 741 int result = count; nat_receive() local [all...] |
/third_party/backends/tools/ |
H A D | sane-find-scanner.c | 309 int result; in check_scsi_file() local 332 result = sanei_scsi_open (file_name, &sfd, NULL, NULL); in check_scsi_file() 336 if (result != 0) in check_scsi_file() 337 printf (" failed to open (%s)\n", sane_strstatus (result)); in check_scsi_file() 342 if (result == SANE_STATUS_GOOD) in check_scsi_file() 353 SANE_Status result; in check_usb_file() local 376 result = sanei_usb_open (file_name, &fd); in check_usb_file() 378 if (result != SANE_STATUS_GOOD) in check_usb_file() 381 printf (" failed to open (%s)\n", sane_strstatus (result)); in check_usb_file() 385 result in check_usb_file() 1298 SANE_Status result; check_mustek_pp_device() local [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
H A D | StringSearch.java | 68 * Match results in the forward direction will match the result matches in 97 * E.g. In English, overlapping matches produces the result 0 and 2 99 * exclusive matches only produces the result of 0. 294 * changes to the {@link RuleBasedCollator} result should follow with a call to 404 int result = textIter_.getOffset(); in getIndex() 405 if (isOutOfBounds(search_.beginIndex(), search_.endIndex(), result)) { in getIndex() 408 return result; in getIndex() 719 int result = 0; in initializePatternCETable() 730 result += (coleiter.getMaxExpansion(ce) - 1); in initializePatternCETable() 737 return result; in initializePatternCETable() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICUResourceBundleReader.java | 414 char[] result = new char[length]; in getTable16KeyOffsets() 417 result[i] = b16BitUnits.charAt(offset++); in getTable16KeyOffsets() 422 temp.get(result); in getTable16KeyOffsets() 424 return result; in getTable16KeyOffsets() 698 ByteBuffer result = bytes.duplicate(); in getBinary() 699 result.position(offset).limit(offset + length); in getBinary() 700 result = ICUBinary.sliceWithOrder(result); in getBinary() 701 if(!result.isReadOnly()) { in getBinary() 702 result in getBinary() [all...] |