Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 2243) sorted by relevance

12345678910>>...90

/openbmc/qemu/tests/unit/
H A Dtest-cutils.c116 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_correct()
130 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_octal()
144 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_decimal()
158 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_llong_max()
174 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_max()
192 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_overflow()
200 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_overflow()
208 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_overflow()
224 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_negative()
232 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_negative()
[all …]
/openbmc/u-boot/board/freescale/mx6sllevk/
H A Dplugin.S12 str r1, [r0, #0x550]
14 str r1, [r0, #0x534]
16 str r1, [r0, #0x2AC]
17 str r1, [r0, #0x548]
18 str r1, [r0, #0x52C]
20 str r1, [r0, #0x530]
22 str r1, [r0, #0x2B0]
23 str r1, [r0, #0x2B4]
24 str r1, [r0, #0x2B8]
25 str r1, [r0, #0x2BC]
[all …]
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_event.c13 char *str; member
27 free_sz = str->sz - str->len - 1; in komeda_sprintf()
33 num = vsnprintf(str->str + str->len, free_sz, fmt, args); in komeda_sprintf()
38 str->len += num; in komeda_sprintf()
41 str->len = str->sz - 1; in komeda_sprintf()
51 komeda_sprintf(str, msg); in evt_sprintf()
102 if (str->len > 0 && (str->str[str->len - 1] == '|')) { in evt_str()
103 str->str[str->len - 1] = 0; in evt_str()
104 str->len--; in evt_str()
140 str.str = msg; in komeda_print_events()
[all …]
/openbmc/u-boot/board/freescale/mx6ullevk/
H A Dplugin.S12 str r1, [r0, #0x4B4]
14 str r1, [r0, #0x4AC]
16 str r1, [r0, #0x27C]
18 str r1, [r0, #0x250]
19 str r1, [r0, #0x24C]
20 str r1, [r0, #0x490]
22 str r1, [r0, #0x288]
25 str r1, [r0, #0x270]
28 str r1, [r0, #0x260]
29 str r1, [r0, #0x264]
[all …]
/openbmc/u-boot/board/freescale/mx7ulp_evk/
H A Dplugin.S11 str r3, [r2, #0xdc]
15 str r3, [r2, #0x40]
17 str r3, [r2, #0x500]
19 str r3, [r2, #0x50c]
21 str r3, [r2, #0x508]
23 str r3, [r2, #0x510]
25 str r3, [r2, #0x514]
27 str r3, [r2, #0x500]
47 str r3, [r2, #0x30]
49 str r3, [r2, #0x40]
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dnetif_receive_skb.c103 char *str; in BPF_PROG() local
107 if (!str) in BPF_PROG()
133 TEST_BTF_C(str, int, 0, 1234); in BPF_PROG()
136 TEST_BTF(str, int, 0, "(int)0", 0); in BPF_PROG()
140 TEST_BTF_C(str, int, 0, -4567); in BPF_PROG()
144 TEST_BTF_C(str, char, 0, 100); in BPF_PROG()
153 TEST_BTF_C(str, uint64_t, 0, 100); in BPF_PROG()
156 TEST_BTF(str, u64, 0, "(u64)0", 0); in BPF_PROG()
188 TEST_BTF_C(str, struct btf_enum, 0, in BPF_PROG()
231 TEST_BTF(str, struct __sk_buff, 0, in BPF_PROG()
[all …]
/openbmc/qemu/scripts/qapi/
H A Dcommon.py30 def camel_to_upper(value: str) -> str: argument
156 def cgen(code: str, **kwds: object) -> str: argument
175 def c_fname(filename: str) -> str: argument
179 def guardstart(name: str) -> str: argument
188 def guardend(name: str) -> str: argument
198 all_operator: str, any_operator: str) -> str: argument
223 def cgen_ifcond(ifcond: Optional[Union[str, Dict[str, Any]]]) -> str: argument
227 def docgen_ifcond(ifcond: Optional[Union[str, Dict[str, Any]]]) -> str: argument
232 def gen_if(cond: str) -> str: argument
240 def gen_endif(cond: str) -> str: argument
[all …]
/openbmc/linux/drivers/usb/cdns3/
H A Dcdns3-debug.h46 ret += sprintf(str + ret, "Reset"); in cdns3_decode_usb_irq()
48 return str; in cdns3_decode_usb_irq()
62 ret += sprintf(str + ret, "IOC "); in cdns3_decode_ep_irq()
64 ret += sprintf(str + ret, "ISP "); in cdns3_decode_ep_irq()
86 return str; in cdns3_decode_ep_irq()
123 ret += sprintf(str + ret, in cdns3_dbg_ring()
129 ret += sprintf(str + ret, in cdns3_dbg_ring()
134 ret += sprintf(str + ret, in cdns3_dbg_ring()
141 return str; in cdns3_dbg_ring()
146 ret += sprintf(str + ret, in cdns3_dbg_ring()
[all …]
/openbmc/u-boot/arch/arm/mach-imx/mx5/
H A Dlowlevel_init.S64 str r1, [r0, #0x0]
65 str r1, [r0, #0x4]
67 str r1, [r0, #0x0]
68 str r1, [r0, #0x4]
85 str r1, [r0, #0x40]
87 str r4, [r0, #0x44]
90 str r1, [r0, #0x9C]
93 str r1, [r0, #0x48]
226 str r1, [r0, #0x14]
385 str r1, [r0, #0x0]
[all …]
/openbmc/linux/sound/pci/lola/
H A Dlola_pcm.c131 if (str->prepared && str->paused) { in lola_sync_wait_for_fifo()
162 if (str->paused && str->prepared) in lola_sync_pause()
172 if (str->paused) in lola_stream_reset()
224 str->opened = 1; in lola_pcm_open()
330 str->frags++; in setup_bdle()
353 str->frags = 0; in lola_setup_periods()
440 lola_dsd_write(chip, str->dsd, LVI, str->frags - 1); in lola_setup_controller()
468 str[i].master = str; in lola_pcm_prepare()
569 if (str->substream && str->running) in lola_pcm_update()
627 str->nid = nid; in lola_init_stream()
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dsegment.c25 str += sprintf(str, "%-5s", am_str[am]); in build_segment_config()
33 str += sprintf(str, " %03lx", in build_segment_config()
36 str += sprintf(str, " UND"); in build_segment_config()
39 str += sprintf(str, " %01ld", in build_segment_config()
42 str += sprintf(str, " U"); in build_segment_config()
45 str += sprintf(str, " %01ld\n", in build_segment_config()
52 char str[42]; in segments_show() local
58 build_segment_config(str, segcfg); in segments_show()
62 build_segment_config(str, segcfg); in segments_show()
66 build_segment_config(str, segcfg); in segments_show()
[all …]
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/
H A Dplatform.S255 str r2, [r0]
259 str r1, [r0]
264 str r1, [r0]
280 str r1, [r0]
284 str r1, [r0]
290 str r1, [r0]
293 str r1, [r0]
300 str r1, [r0]
310 str r1, [r0]
327 str r1, [r0]
[all …]
/openbmc/linux/tools/perf/util/
H A Ddemangle-rust.c109 str += hash_prefix_len; in is_prefixed_hash()
112 for (end = str + hash_len; str < end; str++) in is_prefixed_hash()
113 if (*str >= '0' && *str <= '9') in is_prefixed_hash()
114 seen[*str - '0'] = true; in is_prefixed_hash()
115 else if (*str >= 'a' && *str <= 'f') in is_prefixed_hash()
133 while (str < end) in looks_like_rust()
134 switch (*str) { in looks_like_rust()
137 str += 3; in looks_like_rust()
145 str += 4; in looks_like_rust()
151 str += 5; in looks_like_rust()
[all …]
/openbmc/u-boot/board/samsung/smdkc100/
H A Dlowlevel_init.S30 str r5, [r0]
35 str r1, [r0]
77 str r1, [r8, #0x304]
79 str r1, [r8, #0x308]
81 str r1, [r8, #0x300]
92 str r1, [r8, #0x100]
95 str r1, [r8, #0x104]
98 str r1, [r8, #0x108]
101 str r1, [r8, #0x10C]
138 str r1, [r0]
[all …]
/openbmc/openbmc/meta-google/recipes-google/networking/network-sh/
H A Dtest.sh123 str="$(ip_bytes_to_str in)" || fail
124 expect_streq "$str" '10.0.255.1'
130 expect_streq "$str" '::'
133 expect_streq "$str" 'fd00::'
136 expect_streq "$str" '::fd'
139 expect_streq "$str" 'fd01::1'
170 expect_streq "$str" '::1/128'
172 expect_streq "$str" 'fd01::1/64'
174 expect_streq "$str" 'fd01::1/127'
176 expect_streq "$str" 'fd02::1/15'
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dump.c293 str[0] = '\0'; in btf_dump_data()
351 char *str) in test_btf_dump_int_data() argument
409 char *str) in test_btf_dump_float_data() argument
454 char *str) in test_btf_dump_char_data() argument
531 char *str) in test_btf_dump_enum_data() argument
648 str[0] = '\0'; in test_btf_dump_struct_data()
749 str[0] = '\0'; in test_btf_dump_struct_data()
777 str[0] = '\0'; in test_btf_dump_struct_data()
802 char *str) in test_btf_dump_var_data() argument
830 str[0] = '\0'; in test_btf_datasec()
[all …]
/openbmc/telemetry/src/utils/
H A Dtstring.hpp13 static std::string str() in str() function
21 static std::string str() in str() function
29 static std::string str() in str() function
37 static std::string str() in str() function
45 static std::string str() in str() function
53 static std::string str() in str() function
61 static std::string str() in str() function
69 static std::string str() in str() function
77 static std::string str() in str() function
85 static std::string str() in str() function
[all …]
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_dbg.c80 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
87 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
101 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
111 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
125 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
148 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
163 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
188 num = scnprintf(str, sizeof(str), "flow :\n"); in vpu_dbg_instance()
244 num = scnprintf(str, sizeof(str), "power %s\n", in vpu_dbg_core()
269 num = scnprintf(str, sizeof(str), in vpu_dbg_core()
[all …]
/openbmc/sdbusplus/include/sdbusplus/message/
H A Dnative_types.hpp21 std::string str; member
44 return str == r.str; in operator ==()
48 return str != r.str; in operator !=()
52 return str < r.str; in operator <()
56 return str == r; in operator ==()
60 return str != r; in operator !=()
64 return str < r; in operator <()
85 std::string str; member
108 return str == r.str; in operator ==()
112 return str != r.str; in operator !=()
[all …]
/openbmc/linux/drivers/usb/common/
H A Ddebug.c15 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument
22 snprintf(str, size, in usb_decode_get_status()
74 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature() argument
107 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor() argument
195 char *str, size_t size) in usb_decode_synch_frame() argument
218 snprintf(str, size, in usb_decode_ctrl_generic()
241 wIndex, str, size); in usb_decode_ctrl_standard()
244 usb_decode_set_address(wValue, str, size); in usb_decode_ctrl_standard()
249 wIndex, wLength, str, size); in usb_decode_ctrl_standard()
267 usb_decode_set_sel(wLength, str, size); in usb_decode_ctrl_standard()
[all …]
/openbmc/u-boot/test/
H A Dprint_ut.c22 char str[10]; in efi_ut_print() local
42 snprintf(str, sizeof(str), "_%pD_", buf); in efi_ut_print()
46 snprintf(str, sizeof(str), "_%pD_", NULL); in efi_ut_print()
56 char str[10], *s; in do_ut_print() local
61 snprintf(str, sizeof(str), "testing"); in do_ut_print()
64 snprintf(str, sizeof(str), "testing but too long"); in do_ut_print()
70 *str = 'x'; in do_ut_print()
78 s = display_options_get_banner(true, str, sizeof(str)); in do_ut_print()
79 assert(s == str); in do_ut_print()
83 assert(s == str); in do_ut_print()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-mx35/
H A Dlowlevel_macro.S25 str r1, [r0, #AIPS_MPR_0_7]
26 str r1, [r0, #AIPS_MPR_8_15]
28 str r1, [r2, #AIPS_MPR_0_7]
29 str r1, [r2, #AIPS_MPR_8_15]
33 str r1, [r0, #AIPS_OPACR_0_7]
34 str r1, [r0, #AIPS_OPACR_8_15]
35 str r1, [r0, #AIPS_OPACR_16_23]
36 str r1, [r0, #AIPS_OPACR_24_31]
37 str r1, [r0, #AIPS_OPACR_32_39]
38 str r1, [r2, #AIPS_OPACR_0_7]
[all …]
/openbmc/linux/drivers/firmware/
H A Discsi_ibft.c215 str += sprintf(str, "%pI6", ip); in sprintf_ipaddr()
217 str += sprintf(str, "\n"); in sprintf_ipaddr()
310 str += sprintf_ipaddr(str, nic->ip_addr); in ibft_attr_show_nic()
314 str += sprintf(str, "%pI4", &val); in ibft_attr_show_nic()
320 str += sprintf(str, "%d\n", nic->origin); in ibft_attr_show_nic()
323 str += sprintf_ipaddr(str, nic->gateway); in ibft_attr_show_nic()
332 str += sprintf_ipaddr(str, nic->dhcp); in ibft_attr_show_nic()
335 str += sprintf(str, "%d\n", nic->vlan); in ibft_attr_show_nic()
338 str += sprintf(str, "%pM\n", nic->mac); in ibft_attr_show_nic()
373 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target()
[all …]
/openbmc/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-debug.h48 return str; in cdns2_decode_usb_irq()
80 return str; in cdns2_decode_dma_irq()
100 char *str, size_t size) in cdns2_raw_ring() argument
112 ret += snprintf(str + ret, size - ret, in cdns2_raw_ring()
118 ret += snprintf(str + ret, size - ret, in cdns2_raw_ring()
122 ret += snprintf(str + ret, size - ret, in cdns2_raw_ring()
129 return str; in cdns2_raw_ring()
146 return str; in cdns2_raw_ring()
169 ret = snprintf(str, size, in cdns2_decode_trb()
179 ret = snprintf(str, size, in cdns2_decode_trb()
[all …]
/openbmc/u-boot/board/samsung/goni/
H A Dlowlevel_init.S89 str r1, [r0]
94 str r1, [r0]
99 str r1, [r0]
104 str r1, [r0]
147 str r1, [r0]
163 str r5, [r0]
169 str r1, [r0]
203 str r1, [r0]
212 str r1, [r0]
346 str r1, [r2]
[all …]

12345678910>>...90