Searched refs:num_str (Results 1 – 10 of 10) sorted by relevance
/third_party/mesa3d/src/broadcom/cle/ |
D | gen_pack_header.py | 86 def num_from_str(num_str): argument 87 if num_str.lower().startswith('0x'): 88 return int(num_str, base=16) 90 assert(not num_str.startswith('0') and 'octals numbers not allowed') 91 return int(num_str)
|
/third_party/alsa-utils/alsactl/ |
D | state.c | 46 static char *num_str(long n) in num_str() function 218 err = snd_config_integer_add(value, num_str(i), dbgain); in add_tlv_comments() 259 err = snd_config_compound_add(top, num_str(snd_ctl_elem_info_get_numid(info)), 0, &control); in get_control() 364 err = snd_config_string_add(item, num_str(idx), snd_ctl_elem_info_get_item_name(info)); in get_control() 463 err = snd_config_search(item, num_str(v), &c); in get_control() 490 …err = snd_config_string_add(value, num_str(idx), snd_ctl_elem_value_get_boolean(ctl, idx) ? "true"… in get_control() 499 err = snd_config_integer_add(value, num_str(idx), snd_ctl_elem_value_get_integer(ctl, idx)); in get_control() 508 err = snd_config_integer64_add(value, num_str(idx), snd_ctl_elem_value_get_integer64(ctl, idx)); in get_control() 519 err = snd_config_search(item, num_str(v), &c); in get_control() 523 err = snd_config_string_add(value, num_str(idx), s); in get_control() [all …]
|
/third_party/mesa3d/src/asahi/lib/ |
D | gen_pack.py | 202 def num_from_str(num_str): argument 203 if num_str.lower().startswith('0x'): 204 return int(num_str, base=16) 206 assert(not num_str.startswith('0') and 'octals numbers not allowed') 207 return int(num_str)
|
/third_party/mesa3d/src/intel/genxml/ |
D | gen_pack_header.py | 241 def num_from_str(num_str): argument 242 if num_str.lower().startswith('0x'): 243 return int(num_str, base=16) 245 assert not num_str.startswith('0'), 'octals numbers not allowed' 246 return int(num_str)
|
/third_party/mesa3d/src/panfrost/lib/genxml/ |
D | gen_pack.py | 265 def num_from_str(num_str): argument 266 if num_str.lower().startswith('0x'): 267 return int(num_str, base=16) 269 assert(not num_str.startswith('0') and 'octals numbers not allowed') 270 return int(num_str)
|
/third_party/mesa3d/src/imagination/csbgen/ |
D | gen_pack_header.py | 86 def num_from_str(num_str: str) -> int: 87 if num_str.lower().startswith("0x"): 88 return int(num_str, base=16) 90 if num_str.startswith("0") and len(num_str) > 1: 93 return int(num_str)
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_valuefactory.cpp | 644 istringstream num_str(size_str); in dest_from_string() local 645 num_str >> offset; in dest_from_string() 712 istringstream num_str(size_str); in src_from_string() local 713 num_str >> offset; in src_from_string()
|
/third_party/mindspore/patches/ |
D | 0010-micro-dynamic-shape-support-discrete-value.patch | 104 - for (const auto &num_str : num_str_list) { 105 - symbols_to_num[item.first].push_back(std::stoi(num_str));
|
D | 0005-micro-for-ohos.patch | 9736 + for (const auto &num_str : num_str_list) { 9737 + symbols_to_num[item.first].push_back(std::stoi(num_str));
|
/third_party/python/Doc/library/ |
D | json.rst | 254 float to be decoded. By default, this is equivalent to ``float(num_str)``. 259 to be decoded. By default, this is equivalent to ``int(num_str)``. This can 359 float to be decoded. By default, this is equivalent to ``float(num_str)``. 364 to be decoded. By default, this is equivalent to ``int(num_str)``. This can
|