Home
last modified time | relevance | path

Searched refs:isspace (Results 1 – 25 of 155) sorted by relevance

1234567

/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/fatcat/fatcat/
H A D0001-Replace-std-ptr_fun-for-c-17.patch12 | s.erase(find_if(s.rbegin(), s.rend(), not1(ptr_fun<int, int>(isspace))).base(), s.end());
16 Also use 'unsigned char' parameter to std::isspace, for reason see [1]
18 [1] https://en.cppreference.com/w/cpp/string/byte/isspace#Notes
34 - s.erase(s.begin(), find_if(s.begin(), s.end(), not1(ptr_fun<int, int>(isspace))));
35 + s.erase(s.begin(), find_if(s.begin(), s.end(), [](unsigned char c) {return !isspace(c);}));
41 - s.erase(find_if(s.rbegin(), s.rend(), not1(ptr_fun<int, int>(isspace))).base(), s.end());
42 + s.erase(find_if(s.rbegin(), s.rend(), [](unsigned char c) {return !isspace(c);}).base(), s.end()…
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/dracut/dracut/
H A D0001-feat-dracut-install-split-ldd-command-arguments-for-.patch43 + while (isspace(ldd[pos]))
46 + if (isspace(ldd[pos])) {
49 + while (isspace(ldd[pos]))
58 + while (isspace(ldd[pos]))
62 + while (ldd[pos] && !isspace(ldd[pos]))
73 + while (isspace(ldd[pos]))
/openbmc/ipmitool/src/
H A Dipmishell.c151 if (isspace((int)*ptr)) in ipmi_shell_main()
159 if (isspace((int)*ptr)) in ipmi_shell_main()
437 if (isspace((int)*ptr)) in ipmi_exec_main()
445 if (isspace((int)*ptr)) in ipmi_exec_main()
455 while (isspace((int)*ptr) && ptr >= buf) in ipmi_exec_main()
458 while (isspace((int)*ptr)) in ipmi_exec_main()
/openbmc/u-boot/lib/
H A Dlinux_string.c22 while (isspace(*str)) in skip_spaces()
46 while (end >= s && isspace(*end)) in strim()
/openbmc/linux/tools/usb/usbip/libsrc/
H A Dnames.c340 while (isspace(*cp)) in parse()
347 while (isspace(*cp)) in parse()
361 if (buf[0] == 'A' && buf[1] == 'T' && isspace(buf[2])) { in parse()
366 && isspace(buf[3])) { in parse()
373 while (isspace(*cp)) in parse()
390 while (isspace(*cp)) in parse()
429 while (isspace(*cp)) in parse()
/openbmc/linux/tools/bootconfig/include/linux/
H A Dbootconfig.h27 while (isspace(*str)) in skip_spaces()
42 while (end >= s && isspace(*end)) in strim()
/openbmc/linux/net/sunrpc/
H A Dsysctl.c82 while (left && isspace(*p)) { in proc_dodebug()
97 if (left && !isspace(*s)) in proc_dodebug()
99 while (left && isspace(*s)) { in proc_dodebug()
/openbmc/linux/lib/
H A Dargv_split.c18 if (isspace(*str)) { in count_argc()
81 if (isspace(*argv_str)) { in argv_split()
/openbmc/phosphor-networkd/src/
H A Dconfig_parser.cpp125 constexpr bool isspace(char c) noexcept in isspace() function
138 for (; idx > 0 && isspace(str[idx - 1]); idx--) in removePadding()
143 for (; idx < str.size() && isspace(str[idx]); idx++) in removePadding()
172 if (!isspace(c)) in pumpSection()
241 else if (!isspace(c)) in pump()
H A Dutil.cpp97 while (!interface.empty() && std::isspace(interface.front())) in parseInterfaces()
101 while (!interface.empty() && std::isspace(interface.back())) in parseInterfaces()
/openbmc/u-boot/cmd/
H A Dini.c43 while (p > s && isspace(*--p)) in rstrip()
51 while (*s && isspace(*s)) in lskip()
64 was_whitespace = isspace(*s); in find_char_or_comment()
/openbmc/linux/arch/s390/boot/
H A Dstring.c27 while (isspace(*str)) in skip_spaces()
42 while (end >= s && isspace(*end)) in strim()
/openbmc/qemu/chardev/
H A Dtestdev.c63 while (isspace(c)) { in DECLARE_INSTANCE_CHECKER()
73 while (isspace(c)) { in DECLARE_INSTANCE_CHECKER()
/openbmc/openbmc/poky/meta/recipes-connectivity/connman/connman/
H A D0002-resolve-musl-does-not-implement-res_ninit.patch73 + if (strncmp(line, "nameserver", 10) || !isspace(line[10]))
75 + for (s = &line[11]; isspace(s[0]); s++);
76 + for (i = 0; s[i] && !isspace(s[i]); i++);
/openbmc/linux/kernel/trace/
H A Dtrace_events_inject.c48 while (isspace(str[i])) in parse_field()
66 while (isspace(str[i])) in parse_field()
71 while (isspace(str[i])) in parse_field()
90 if (c != '\0' && !isspace(c)) in parse_field()
/openbmc/linux/tools/lib/
H A Dstring.c126 while (isspace(*str)) in skip_spaces()
149 while (end >= s && isspace(*end)) in strim()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dskip_spaces.c9 while (isspace(*str)) in skip_spaces()
/openbmc/u-boot/include/bedbug/
H A Dbedbug.h13 #define isblank(c) isspace((int)(c))
/openbmc/obmc-console/
H A Dconfig.c255 while (*suffix && isspace(*suffix)) { in config_parse_bytesize()
276 while (*suffix && (tolower(*suffix) == 'b' || isspace(*suffix))) { in config_parse_bytesize()
/openbmc/linux/drivers/s390/char/
H A Dhmcdrv_ftp.c122 while (isspace(*cmd)) in hmcdrv_ftp_parse()
132 while ((*cmd != '\0') && !isspace(*cmd)) in hmcdrv_ftp_parse()
/openbmc/openbmc/meta-openembedded/contrib/
H A Doe-stylize.py308 return not line.isspace() or line == "\n"
389 if line.isspace() or line == '':
/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Ddebugfs.c60 while (word_start < isize && isspace(in[word_start])) in parse_hex_sentence()
68 while (word_end < isize && !isspace(in[word_end])) in parse_hex_sentence()
/openbmc/linux/tools/perf/util/
H A Dstring.c116 if (isspace(*str)) { in __match_glob()
120 if (isspace(*pat)) { in __match_glob()
H A Dconfig.c93 if (isspace(c) && !quote) { in parse_value()
182 } while (isspace(c)); in get_extended_base_var()
222 if (isspace(c)) in get_base_var()
266 if (comment || isspace(c)) in perf_parse_file()
/openbmc/qemu/include/qemu/
H A Dctype.h19 #define qemu_isspace(c) isspace((unsigned char)(c))

1234567