/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | psycho_common.c | 38 struct strbuf *strbuf = &pbm->stc; in psycho_check_stc_error() local 42 if (!strbuf->strbuf_control) in psycho_check_stc_error() 45 err_base = strbuf->strbuf_err_stat; in psycho_check_stc_error() 46 tag_base = strbuf->strbuf_tag_diag; in psycho_check_stc_error() 47 line_base = strbuf->strbuf_line_diag; in psycho_check_stc_error() 59 control = upa_readq(strbuf->strbuf_control); in psycho_check_stc_error() 60 upa_writeq(control | PSYCHO_STRBUF_CTRL_DENAB, strbuf->strbuf_control); in psycho_check_stc_error() 76 upa_writeq(control, strbuf->strbuf_control); in psycho_check_stc_error()
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | psycho_common.c | 39 struct strbuf *strbuf = &pbm->stc; in psycho_check_stc_error() local 43 if (!strbuf->strbuf_control) in psycho_check_stc_error() 46 err_base = strbuf->strbuf_err_stat; in psycho_check_stc_error() 47 tag_base = strbuf->strbuf_tag_diag; in psycho_check_stc_error() 48 line_base = strbuf->strbuf_line_diag; in psycho_check_stc_error() 60 control = upa_readq(strbuf->strbuf_control); in psycho_check_stc_error() 61 upa_writeq(control | PSYCHO_STRBUF_CTRL_DENAB, strbuf->strbuf_control); in psycho_check_stc_error() 77 upa_writeq(control, strbuf->strbuf_control); in psycho_check_stc_error()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | wpa_debug.c | 346 char *strbuf = NULL; in _wpa_hexdump() 355 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump() 356 if (strbuf == NULL) { in _wpa_hexdump() 363 os_snprintf(&strbuf[i * 3], 4, " %02x", in _wpa_hexdump() 366 display = strbuf; in _wpa_hexdump() 388 bin_clear_free(strbuf, 1 + 3 * slen); in _wpa_hexdump() 416 char *strbuf = NULL; in _wpa_hexdump() 426 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump() 427 if (strbuf == NULL) { in _wpa_hexdump() 434 os_snprintf(&strbuf[ in _wpa_hexdump() [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | enc.c | 126 char *str = NULL, *passarg = NULL, *pass = NULL, *strbuf = NULL; in enc_main() local 338 strbuf = app_malloc(SIZE, "strbuf"); in enc_main() 366 strbuf[0] = '\0'; in enc_main() 367 i = EVP_read_pw_string((char *)strbuf, SIZE, prompt, enc); in enc_main() 369 if (strbuf[0] == '\0') { in enc_main() 373 str = strbuf; in enc_main() 523 if (str == strbuf) in enc_main() 641 OPENSSL_free(strbuf); in enc_main()
|
/third_party/openssl/apps/ |
H A D | enc.c | 126 char *str = NULL, *passarg = NULL, *pass = NULL, *strbuf = NULL; in enc_main() local 338 strbuf = app_malloc(SIZE, "strbuf"); in enc_main() 366 strbuf[0] = '\0'; in enc_main() 367 i = EVP_read_pw_string((char *)strbuf, SIZE, prompt, enc); in enc_main() 369 if (strbuf[0] == '\0') { in enc_main() 373 str = strbuf; in enc_main() 523 if (str == strbuf) in enc_main() 638 OPENSSL_free(strbuf); in enc_main()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-common.cc | 359 char strbuf[64]; in hb_language_from_string() local 360 len = hb_min (len, (int) sizeof (strbuf) - 1); in hb_language_from_string() 361 memcpy (strbuf, str, len); in hb_language_from_string() 362 strbuf[len] = '\0'; in hb_language_from_string() 363 item = lang_find_or_insert (strbuf); in hb_language_from_string()
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | eth_media.c | 42 char *strbuf, int bufsz) in tipc_eth_addr2str() 47 sprintf(strbuf, "%pM", addr->value); in tipc_eth_addr2str() 41 tipc_eth_addr2str(struct tipc_media_addr *addr, char *strbuf, int bufsz) tipc_eth_addr2str() argument
|
/kernel/linux/linux-6.6/net/tipc/ |
H A D | eth_media.c | 42 char *strbuf, int bufsz) in tipc_eth_addr2str() 47 sprintf(strbuf, "%pM", addr->value); in tipc_eth_addr2str() 41 tipc_eth_addr2str(struct tipc_media_addr *addr, char *strbuf, int bufsz) tipc_eth_addr2str() argument
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | xattr.c | 683 char *strbuf; in hfsplus_listxattr() local 703 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + in hfsplus_listxattr() 705 if (!strbuf) { in hfsplus_listxattr() 739 strbuf, &xattr_name_len)) { in hfsplus_listxattr() 746 if (can_list(strbuf)) in hfsplus_listxattr() 747 res += name_len(strbuf, xattr_name_len); in hfsplus_listxattr() 748 } else if (can_list(strbuf)) { in hfsplus_listxattr() 749 if (size < (res + name_len(strbuf, xattr_name_len))) { in hfsplus_listxattr() 754 strbuf, xattr_name_len); in hfsplus_listxattr() 762 kfree(strbuf); in hfsplus_listxattr() [all...] |
H A D | dir.c | 135 char *strbuf; in hfsplus_readdir() local 147 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_MAX_STRLEN + 1, GFP_KERNEL); in hfsplus_readdir() 148 if (!strbuf) { in hfsplus_readdir() 207 err = hfsplus_uni2asc(sb, &fd.key->cat.name, strbuf, &len); in hfsplus_readdir() 221 if (!dir_emit(ctx, strbuf, len, in hfsplus_readdir() 248 if (!dir_emit(ctx, strbuf, len, in hfsplus_readdir() 283 kfree(strbuf); in hfsplus_readdir()
|
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | xattr.c | 681 char *strbuf; in hfsplus_listxattr() local 701 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + in hfsplus_listxattr() 703 if (!strbuf) { in hfsplus_listxattr() 738 strbuf, &xattr_name_len)) { in hfsplus_listxattr() 745 if (can_list(strbuf)) in hfsplus_listxattr() 746 res += name_len(strbuf, xattr_name_len); in hfsplus_listxattr() 747 } else if (can_list(strbuf)) { in hfsplus_listxattr() 748 if (size < (res + name_len(strbuf, xattr_name_len))) { in hfsplus_listxattr() 753 strbuf, xattr_name_len); in hfsplus_listxattr() 761 kfree(strbuf); in hfsplus_listxattr() [all...] |
H A D | dir.c | 135 char *strbuf; in hfsplus_readdir() local 147 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_MAX_STRLEN + 1, GFP_KERNEL); in hfsplus_readdir() 148 if (!strbuf) { in hfsplus_readdir() 207 err = hfsplus_uni2asc(sb, &fd.key->cat.name, strbuf, &len); in hfsplus_readdir() 221 if (!dir_emit(ctx, strbuf, len, in hfsplus_readdir() 248 if (!dir_emit(ctx, strbuf, len, in hfsplus_readdir() 283 kfree(strbuf); in hfsplus_readdir()
|
/third_party/pulseaudio/src/modules/macosx/ |
H A D | module-coreaudio-device.c | 43 #include <pulsecore/strbuf.h> 415 pa_strbuf *strbuf; in ca_device_create_sink() local 430 strbuf = pa_strbuf_new(); in ca_device_create_sink() 446 pa_strbuf_puts(strbuf, ", "); in ca_device_create_sink() 449 pa_strbuf_printf(strbuf, "Channel %d", (int) property_address.mElement); in ca_device_create_sink() 451 pa_strbuf_puts(strbuf, tmp); in ca_device_create_sink() 457 ca_sink->name = pa_strbuf_to_string_free(strbuf); in ca_device_create_sink() 549 pa_strbuf *strbuf; in ca_device_create_source() local 564 strbuf = pa_strbuf_new(); in ca_device_create_source() 580 pa_strbuf_puts(strbuf, ", "); in ca_device_create_source() [all...] |
/kernel/linux/linux-5.10/fs/hfs/ |
H A D | dir.c | 53 char strbuf[HFS_MAX_NAMELEN]; in hfs_readdir() local 118 len = hfs_mac2asc(sb, strbuf, &fd.key->cat.CName); in hfs_readdir() 125 if (!dir_emit(ctx, strbuf, len, in hfs_readdir() 134 if (!dir_emit(ctx, strbuf, len, in hfs_readdir()
|
/kernel/linux/linux-6.6/fs/hfs/ |
H A D | dir.c | 53 char strbuf[HFS_MAX_NAMELEN]; in hfs_readdir() local 118 len = hfs_mac2asc(sb, strbuf, &fd.key->cat.CName); in hfs_readdir() 125 if (!dir_emit(ctx, strbuf, len, in hfs_readdir() 134 if (!dir_emit(ctx, strbuf, len, in hfs_readdir()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | pfm.c | 15 #include "util/strbuf.h" 164 print_attr_flags(struct strbuf *buf, const pfm_event_attr_info_t *info) in print_attr_flags() 176 struct strbuf *buf) in print_libpfm_event() 276 struct strbuf storage; in print_libpfm_events()
|
H A D | parse-events.h | 21 struct strbuf; 186 int parse_events_term__to_strbuf(struct list_head *term_list, struct strbuf *sb);
|
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-ws-proxy/ |
H A D | protocol_lws_minimal_dbus_ws_proxy.c | 741 char strbuf[256]; in callback_minimal_dbus_wsproxy() local 744 if (l > sizeof(strbuf) - 1u) in callback_minimal_dbus_wsproxy() 745 l = sizeof(strbuf) - 1u; in callback_minimal_dbus_wsproxy() 747 memcpy(strbuf, in, l); in callback_minimal_dbus_wsproxy() 748 strbuf[l] = '\0'; in callback_minimal_dbus_wsproxy() 750 issue_dbus_signal(wsi, "Receive", strbuf); in callback_minimal_dbus_wsproxy()
|
/third_party/eudev/src/udev/ |
H A D | udev-rules.c | 36 #include "strbuf.h" 73 struct strbuf *strbuf; member 85 return rules->strbuf->buf + off; in rules_str() 89 return strbuf_add_string(rules->strbuf, s, strlen(s)); in rules_add_string() 1702 rules->strbuf = strbuf_new(); in udev_rules_new() 1703 if (!rules->strbuf) in udev_rules_new() 1730 rules->token_max * sizeof(struct token), rules->token_max, sizeof(struct token), rules->strbuf->len); in udev_rules_new() 1732 /* cleanup temporary strbuf data */ in udev_rules_new() 1734 rules->strbuf in udev_rules_new() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | shared.h | 24 #include <pulsecore/strbuf.h>
|
H A D | cli-command.h | 23 #include <pulsecore/strbuf.h>
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | iommu_64.h | 74 struct strbuf { struct
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | iommu_64.h | 74 struct strbuf { struct
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | dwarf-aux.c | 12 #include "strbuf.h" 1032 * @buf: a strbuf for result type name 1039 int die_get_typename(Dwarf_Die *vr_die, struct strbuf *buf) in die_get_typename() 1073 * @buf: a strbuf for type and variable name 1077 int die_get_varname(Dwarf_Die *vr_die, struct strbuf *buf) in die_get_varname() 1095 * @buf: a strbuf for variable byte offset range 1101 struct strbuf *buf) in die_get_var_innermost_scope() 1158 * @buf: a strbuf for type and variable name and byte offset range 1163 int die_get_var_range(Dwarf_Die *sp_die, Dwarf_Die *vr_die, struct strbuf *buf) in die_get_var_range() 1218 struct strbuf *bu in die_get_var_range() [all...] |
H A D | metricgroup.c | 12 #include "strbuf.h" 602 static void metricgroup__add_metric_weak_group(struct strbuf *events, in metricgroup__add_metric_weak_group() 633 static void metricgroup__add_metric_non_group(struct strbuf *events, in metricgroup__add_metric_non_group() 967 struct strbuf *events, in metricgroup__add_metric() 1026 struct strbuf *events, in metricgroup__add_metric_list() 1088 struct strbuf extra_events; in parse_groups()
|