/third_party/python/Python/ |
H A D | formatter_unicode.c | 54 input string, updates *result with the corresponding positive 61 Py_ssize_t *result) in get_integer() 88 *result = accumulator; in get_integer() 772 int result = -1; in format_string_internal() local 842 result = fill_padding(writer, len, format->fill_char, lpad, rpad); in format_string_internal() 843 if (result == -1) in format_string_internal() 852 result = 0; in format_string_internal() 855 return result; in format_string_internal() 867 int result = -1; in format_long_internal() local 1025 result in format_long_internal() 60 get_integer(PyObject *str, Py_ssize_t *ppos, Py_ssize_t end, Py_ssize_t *result) get_integer() argument 1058 int result = -1; format_float_internal() local 1216 int result = -1; format_complex_internal() local 1494 int result = -1; _PyLong_FormatAdvancedWriter() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_debugfs.c | 192 uint32_t result = 0; in dp_link_settings_read() local 236 r = put_user(*(rd_buf + result), buf); in dp_link_settings_read() 245 result += 1; in dp_link_settings_read() 249 return result; in dp_link_settings_read() 534 uint32_t result = 0; in dp_phy_settings_read() local 553 r = put_user((*(rd_buf + result)), buf); in dp_phy_settings_read() 562 result += 1; in dp_phy_settings_read() 566 return result; in dp_phy_settings_read() 1455 ssize_t result = 0; in dp_dsc_clock_en_read() local 1485 r = put_user(*(rd_buf + result), bu in dp_dsc_clock_en_read() 1641 ssize_t result = 0; dp_dsc_slice_width_read() local 1825 ssize_t result = 0; dp_dsc_slice_height_read() local 2005 ssize_t result = 0; dp_dsc_bits_per_pixel_read() local 2180 ssize_t result = 0; dp_dsc_pic_width_read() local 2236 ssize_t result = 0; dp_dsc_pic_height_read() local 2307 ssize_t result = 0; dp_dsc_chunk_size_read() local 2378 ssize_t result = 0; dp_dsc_slice_bpg_offset_read() local 2440 ssize_t result = 0; dp_max_bpc_read() local 3400 ssize_t result = 0; dtn_log_read() local 3734 uint32_t result = 0; dcc_en_bits_read() local [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | emc2103.c | 239 int result = kstrtol(buf, 10, &val); in temp_min_store() local 240 if (result < 0) in temp_min_store() 241 return result; in temp_min_store() 261 int result = kstrtol(buf, 10, &val); in temp_max_store() local 262 if (result < 0) in temp_max_store() 263 return result; in temp_max_store() 382 int result = kstrtoul(buf, 10, &rpm_target); in fan1_target_store() local 383 if (result < 0) in fan1_target_store() 384 return result; in fan1_target_store() 428 int result in pwm1_enable_store() local [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | emc2103.c | 239 int result = kstrtol(buf, 10, &val); in temp_min_store() local 240 if (result < 0) in temp_min_store() 241 return result; in temp_min_store() 261 int result = kstrtol(buf, 10, &val); in temp_max_store() local 262 if (result < 0) in temp_max_store() 263 return result; in temp_max_store() 382 int result = kstrtoul(buf, 10, &rpm_target); in fan1_target_store() local 383 if (result < 0) in fan1_target_store() 384 return result; in fan1_target_store() 428 int result in pwm1_enable_store() local [all...] |
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_queue.c | 438 int result = 0; in snd_seq_queue_timer_open() local 446 result = snd_seq_timer_open(queue); in snd_seq_queue_timer_open() 447 if (result < 0) { in snd_seq_queue_timer_open() 449 result = snd_seq_timer_open(queue); in snd_seq_queue_timer_open() 452 return result; in snd_seq_queue_timer_open() 461 int result = 0; in snd_seq_queue_timer_close() local 468 return result; in snd_seq_queue_timer_close() 476 int result; in snd_seq_queue_timer_set_tempo() local 485 result = snd_seq_timer_set_tempo_ppq(q->timer, info->tempo, info->ppq); in snd_seq_queue_timer_set_tempo() 486 if (result > in snd_seq_queue_timer_set_tempo() 539 int result; snd_seq_queue_is_used() local [all...] |
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | bignum.cc | 87 uint64_t result = 0; in ReadUInt64() local 91 result = result * 10 + digit; in ReadUInt64() 93 return result; in ReadUInt64() 416 // Since the result was guaranteed to lie inside the number the 507 // Easy case: if we have less digits than the divisor than the result is 0. 515 uint16_t result = 0; 522 // the result should be small (less than 10). 527 result += static_cast<uint16_t>(RawBigit(used_bigits_ - 1)); 544 result [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | double-conversion-bignum.cpp | 101 uint64_t result = 0; in ReadUInt64() local 105 result = result * 10 + digit; in ReadUInt64() 107 return result; in ReadUInt64() 430 // Since the result was guaranteed to lie inside the number the 521 // Easy case: if we have less digits than the divisor than the result is 0. 529 uint16_t result = 0; 536 // the result should be small (less than 10). 541 result += static_cast<uint16_t>(RawBigit(used_bigits_ - 1)); 558 result [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | double-conversion-bignum.cpp | 101 uint64_t result = 0; in ReadUInt64() local 105 result = result * 10 + digit; in ReadUInt64() 107 return result; in ReadUInt64() 430 // Since the result was guaranteed to lie inside the number the 521 // Easy case: if we have less digits than the divisor than the result is 0. 529 uint16_t result = 0; 536 // the result should be small (less than 10). 541 result += static_cast<uint16_t>(RawBigit(used_bigits_ - 1)); 558 result [all...] |
/third_party/node/deps/v8/src/bigint/ |
H A D | bigint.h | 119 digit_t result; in read_4byte_aligned() local 120 memcpy(&result, digits_ + i, sizeof(result)); in read_4byte_aligned() 121 return result; in read_4byte_aligned() 157 digit_t result; in operator digit_t() local 158 memcpy(&result, ptr_, sizeof(result)); in operator digit_t() 159 return result; in operator digit_t() 201 // You must preallocate the result; use the respective {OperationResultLength} 202 // function to determine its minimum required length. The actual result ma 435 Result result() { return result_; } result() function in v8::bigint::FromStringAccumulator 590 twodigit_t result = twodigit_t{stack_parts_[i]} * multiplier; AddPart() local [all...] |
/third_party/node/deps/v8/src/base/numbers/ |
H A D | bignum.cc | 65 uint64_t result = 0; in ReadUInt64() local 71 result = result * 10 + digit; in ReadUInt64() 73 return result; in ReadUInt64() 365 // Since the result was guaranteed to lie inside the number the in MultiplyByPowerOfTen() 453 // Easy case: if we have less digits than the divisor than the result is 0. in DivideModuloIntBignum() 461 uint16_t result = 0; in DivideModuloIntBignum() local 468 // the result should be small (less than 10). in DivideModuloIntBignum() 472 result += bigits_[used_digits_ - 1]; in DivideModuloIntBignum() 488 result in DivideModuloIntBignum() 513 int result = 0; SizeInHexChars() local [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | earley-parser.h | 207 auto result = action(child_results); in AsSingletonVector() 208 if (!result) return result; in AsSingletonVector() 209 return ParseResult{std::vector<T>{(*result).Cast<T>()}}; in AsSingletonVector() 314 Item result(rule_, mark_ + 1, start_, new_pos); in Advance() 315 result.prev_ = this; in Advance() 316 result.child_ = child; in Advance() 317 return result; in Advance() 387 // it. These symbols form the result of the lexing. 415 // A grammar can have a result, whic 438 Symbol* result = symbol.get(); global() local 480 To result = std::move(child_results->NextAs<From>()); CastParseResult() local 496 std::vector<T> result; MakeSingletonVector() local [all...] |
/third_party/python/Lib/ |
H A D | platform.py | 142 result = [] 150 result.extend((t, v)) 151 return result 806 result = cls.__new__(cls, *iterable) 807 if len(result) != num_fields + 1: 808 msg = f'Expected {num_fields} arguments, got {len(result)}' 810 return result 1027 result = _sys_version_cache.get(sys_version, None) 1028 if result is not None: 1029 return result [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | double-conversion-bignum.cpp | 101 uint64_t result = 0; in ReadUInt64() local 105 result = result * 10 + digit; in ReadUInt64() 107 return result; in ReadUInt64() 429 // Since the result was guaranteed to lie inside the number the 520 // Easy case: if we have less digits than the divisor than the result is 0. 528 uint16_t result = 0; 535 // the result should be small (less than 10). 540 result += static_cast<uint16_t>(RawBigit(used_bigits_ - 1)); 557 result [all...] |
/third_party/protobuf/js/binary/ |
H A D | utils.js | 261 // bounadaries of precision, the result can be off by one. 310 * lost if the result is greater than 2^52. 322 * if the result is greater than 2^52. 338 var result = jspb.utils.joinUint64(bitsLow, bitsHigh); 339 return sign ? -result : result; 344 * zig-zag encoding. Invokes the provided function to produce final result. 349 * the result value, takes parameters (lowBits, highBits). 372 * decoding. Precision will be lost if the result is greater than 2^52. 384 * complement encoding. Invokes the provided function to produce final result [all...] |
/third_party/python/Parser/ |
H A D | string_parser.c | 148 PyObject *result = _PyBytes_DecodeEscape(s, len, NULL, &first_invalid_escape); in decode_bytes_with_escapes() local 149 if (result == NULL) { in decode_bytes_with_escapes() 155 Py_DECREF(result); in decode_bytes_with_escapes() 159 return result; in decode_bytes_with_escapes() 164 _PyPegen_parsestr parses it, and sets *result to decoded Python string object. 168 _PyPegen_parsestr(Parser *p, int *bytesmode, int *rawmode, PyObject **result, in _PyPegen_parsestr() argument 181 *result = NULL; in _PyPegen_parsestr() 270 *result = PyBytes_FromStringAndSize(s, len); in _PyPegen_parsestr() 273 *result = decode_bytes_with_escapes(p, s, len, t); in _PyPegen_parsestr() 278 *result in _PyPegen_parsestr() 356 expr_ty result = NULL; fstring_compile_expr() local 457 int result = 0; fstring_find_literal() local 879 int result; fstring_find_literal_and_expr() local 1132 int result = fstring_find_literal_and_expr(p, str, end, raw, recurse_lvl, _PyPegen_FstringParser_ConcatFstring() local [all...] |
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
H A D | SentinelOuterClass.java | 401 com.google.protobuf.jruby.SentinelOuterClass.Sentinel result = buildPartial(); in build() 402 if (!result.isInitialized()) { in build() 403 throw newUninitializedMessageException(result); in build() 405 return result; in build() 409 com.google.protobuf.jruby.SentinelOuterClass.Sentinel result = new com.google.protobuf.jruby.SentinelOuterClass.Sentinel(this); in buildPartial() 410 result.defaultInt32_ = defaultInt32_; in buildPartial() 411 result.defaultInt64_ = defaultInt64_; in buildPartial() 412 result.defaultUnit32_ = defaultUnit32_; in buildPartial() 413 result.defaultUint64_ = defaultUint64_; in buildPartial() 414 result in buildPartial() [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.h | 213 // to 'result'. If there are consecutive delimiters, this function skips 220 // as a nul-terminated c string. Append the components to 'result'. 228 std::vector<string>* result); 236 std::vector<string> result; in Split() local 238 SplitStringUsing(full, delim, &result); in Split() 240 SplitStringAllowEmpty(full, delim, &result); in Split() 242 return result; in Split() 254 const char* delim, string* result); 258 string result; in JoinStrings() local 259 JoinStrings(components, delim, &result); in JoinStrings() 768 Join(Iterator start, Iterator end, const char* delim, string* result) Join() argument 781 string result; Join() local [all...] |
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | selftest.c | 50 bool result = true; in apply_subtest_filter() local 70 result = false; in apply_subtest_filter() 78 result = false; in apply_subtest_filter() 82 result = allow; in apply_subtest_filter() 87 return result; in apply_subtest_filter()
|
/kernel/linux/linux-5.10/drivers/clk/mxs/ |
H A D | clk-frac.c | 53 u64 tmp, tmp_rate, result; in clk_frac_round_rate() local 67 result = tmp_rate >> frac->width; in clk_frac_round_rate() 68 if ((result << frac->width) < tmp_rate) in clk_frac_round_rate() 69 result += 1; in clk_frac_round_rate() 70 return result; in clk_frac_round_rate()
|
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
H A D | dm-space-map-common.h | 50 typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result); 108 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result); 109 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result); 111 dm_block_t end, dm_block_t *result); 113 dm_block_t begin, dm_block_t end, dm_block_t *result);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | efivar.c | 156 int result; in read_hfi1_efi_var() local 166 result = read_efi_var(name, size, return_data); in read_hfi1_efi_var() 172 if (result) { in read_hfi1_efi_var() 178 result = read_efi_var(name, size, return_data); in read_hfi1_efi_var() 181 return result; in read_hfi1_efi_var()
|
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
H A D | w1_ds2423.c | 39 int result; in w1_slave_show() local 91 result = 0; in w1_slave_show() 93 result <<= 8; in w1_slave_show() 94 result |= rbuf[(p * in w1_slave_show() 98 c, "crc=YES c=%d\n", result); in w1_slave_show()
|
/kernel/linux/linux-5.10/fs/sysfs/ |
H A D | symlink.c | 171 int result; in sysfs_rename_link_ns() local 181 result = -ENOENT; in sysfs_rename_link_ns() 186 result = -EINVAL; in sysfs_rename_link_ns() 192 result = kernfs_rename_ns(kn, parent, new, new_ns); in sysfs_rename_link_ns() 196 return result; in sysfs_rename_link_ns()
|
/kernel/linux/linux-6.6/fs/sysfs/ |
H A D | symlink.c | 171 int result; in sysfs_rename_link_ns() local 181 result = -ENOENT; in sysfs_rename_link_ns() 186 result = -EINVAL; in sysfs_rename_link_ns() 192 result = kernfs_rename_ns(kn, parent, new, new_ns); in sysfs_rename_link_ns() 196 return result; in sysfs_rename_link_ns()
|
/kernel/linux/linux-6.6/drivers/w1/slaves/ |
H A D | w1_ds2423.c | 39 int result; in w1_slave_show() local 91 result = 0; in w1_slave_show() 93 result <<= 8; in w1_slave_show() 94 result |= rbuf[(p * in w1_slave_show() 98 c, "crc=YES c=%d\n", result); in w1_slave_show()
|