Home
last modified time | relevance | path

Searched refs:num_str (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/broadcom/cle/
Dgen_pack_header.py86 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/mesa3d/src/intel/genxml/
Dgen_pack_header.py199 def num_from_str(num_str): argument
200 if num_str.lower().startswith('0x'):
201 return int(num_str, base=16)
203 assert not num_str.startswith('0'), 'octals numbers not allowed'
204 return int(num_str)
/third_party/alsa-utils/alsactl/
Dstate.c46 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/
Dgen_pack.py187 def num_from_str(num_str): argument
188 if num_str.lower().startswith('0x'):
189 return int(num_str, base=16)
191 assert(not num_str.startswith('0') and 'octals numbers not allowed')
192 return int(num_str)
/third_party/mesa3d/src/panfrost/lib/genxml/
Dgen_pack.py260 def num_from_str(num_str): argument
261 if num_str.lower().startswith('0x'):
262 return int(num_str, base=16)
264 assert(not num_str.startswith('0') and 'octals numbers not allowed')
265 return int(num_str)
/third_party/gstreamer/gstreamer/libs/gst/check/
Dgstcheck.c452 gchar num_str[32]; in gst_check_init() local
454 g_snprintf (num_str, sizeof (num_str), "%d", timeout_multiplier); in gst_check_init()
455 GST_INFO ("slow CPU, setting CK_TIMEOUT_MULTIPLIER to %s", num_str); in gst_check_init()
456 g_setenv ("CK_TIMEOUT_MULTIPLIER", num_str, TRUE); in gst_check_init()
/third_party/python/Doc/library/
Djson.rst249 float to be decoded. By default, this is equivalent to ``float(num_str)``.
254 to be decoded. By default, this is equivalent to ``int(num_str)``. This can
348 float to be decoded. By default, this is equivalent to ``float(num_str)``.
353 to be decoded. By default, this is equivalent to ``int(num_str)``. This can
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_indata.c5700 unsigned int num_str; local
5710 num_str = fwd_sz / sizeof(struct sctp_strseq_mid);
5712 num_str = fwd_sz / sizeof(struct sctp_strseq);
5714 for (i = 0; i < num_str; i++) {