Home
last modified time | relevance | path

Searched refs:strbuf (Results 1 - 25 of 43) sorted by relevance

12

/third_party/eudev/src/shared/
H A Dstrbuf.h26 struct strbuf { struct
51 struct strbuf *strbuf_new(void);
52 ssize_t strbuf_add_string(struct strbuf *str, const char *s, size_t len);
53 void strbuf_complete(struct strbuf *str);
54 void strbuf_cleanup(struct strbuf *str);
H A Dstrbuf.c24 #include "strbuf.h"
44 struct strbuf *strbuf_new(void) { in strbuf_new()
45 struct strbuf *str; in strbuf_new()
47 str = new0(struct strbuf, 1); in strbuf_new()
78 void strbuf_complete(struct strbuf *str) { in strbuf_complete()
87 void strbuf_cleanup(struct strbuf *str) { in strbuf_cleanup()
127 ssize_t strbuf_add_string(struct strbuf *str, const char *s, size_t len) { in strbuf_add_string()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dwpa_debug.c344 char *strbuf = NULL; in _wpa_hexdump()
353 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump()
354 if (strbuf == NULL) { in _wpa_hexdump()
361 os_snprintf(&strbuf[i * 3], 4, " %02x", in _wpa_hexdump()
364 display = strbuf; in _wpa_hexdump()
372 bin_clear_free(strbuf, 1 + 3 * slen); in _wpa_hexdump()
400 char *strbuf = NULL; in _wpa_hexdump()
410 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump()
411 if (strbuf == NULL) { in _wpa_hexdump()
418 os_snprintf(&strbuf[ in _wpa_hexdump()
[all...]
/third_party/lame/dshow/
H A Daboutprp.cpp123 CHAR strbuf[250]; in OnActivate() local
126 sprintf(strbuf, "LAME Encoder Version %s", get_lame_version()); in OnActivate()
127 SendDlgItemMessage(m_hwnd, IDC_LAME_VER, WM_SETTEXT, 0, (LPARAM)strbuf); in OnActivate()
129 sprintf(strbuf, "LAME Project Homepage: %s", get_lame_url()); in OnActivate()
130 SendDlgItemMessage(m_hwnd, IDC_LAME_URL, WM_SETTEXT, 0, (LPARAM)strbuf); in OnActivate()
/third_party/musl/porting/liteos_m/kernel/include/
H A Dstropts.h89 struct strbuf { struct
96 struct strbuf ctlbuf;
97 struct strbuf databuf;
102 struct strbuf ctlbuf;
103 struct strbuf databuf;
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dstropts.h89 struct strbuf { struct
96 struct strbuf ctlbuf;
97 struct strbuf databuf;
102 struct strbuf ctlbuf;
103 struct strbuf databuf;
/third_party/musl/porting/uniproton/kernel/include/
H A Dstropts.h89 struct strbuf { struct
96 struct strbuf ctlbuf;
97 struct strbuf databuf;
102 struct strbuf ctlbuf;
103 struct strbuf databuf;
/third_party/musl/include/
H A Dstropts.h89 struct strbuf { struct
96 struct strbuf ctlbuf;
97 struct strbuf databuf;
102 struct strbuf ctlbuf;
103 struct strbuf databuf;
/third_party/ffmpeg/libavcodec/
H A Dac3enc.c1834 char strbuf[32]; in dprint_options() local
1837 case 6: av_strlcpy(strbuf, "AC-3 (alt syntax)", 32); break; in dprint_options()
1838 case 8: av_strlcpy(strbuf, "AC-3 (standard)", 32); break; in dprint_options()
1839 case 9: av_strlcpy(strbuf, "AC-3 (dnet half-rate)", 32); break; in dprint_options()
1840 case 10: av_strlcpy(strbuf, "AC-3 (dnet quater-rate)", 32); break; in dprint_options()
1841 case 16: av_strlcpy(strbuf, "E-AC-3 (enhanced)", 32); break; in dprint_options()
1842 default: snprintf(strbuf, 32, "ERROR"); in dprint_options()
1844 ff_dlog(avctx, "bitstream_id: %s (%d)\n", strbuf, s->bitstream_id); in dprint_options()
1846 av_channel_layout_describe(&avctx->ch_layout, strbuf, sizeof(strbuf)); in dprint_options()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dwpa_debug.c346 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 Denc.c126 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 Denc.c126 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 Dhb-common.cc359 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()
/third_party/pulseaudio/src/modules/macosx/
H A Dmodule-coreaudio-device.c43 #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...]
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-ws-proxy/
H A Dprotocol_lws_minimal_dbus_ws_proxy.c741 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 Dudev-rules.c36 #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 Dshared.h24 #include <pulsecore/strbuf.h>
H A Dcli-command.h23 #include <pulsecore/strbuf.h>
H A Dstrlist.c28 #include <pulsecore/strbuf.h>
H A Dcli.c34 #include <pulsecore/strbuf.h>
/third_party/pulseaudio/src/modules/rtp/
H A Dheaderlist.c30 #include <pulsecore/strbuf.h>
/third_party/pulseaudio/src/daemon/
H A Dcmdline.c33 #include <pulsecore/strbuf.h>
/third_party/mksh/
H A Dvar.c406 char strbuf[1 + 2 + 1 + 8 * sizeof(mksh_uari_t) + 1]; in str_val() local
410 s = strbuf + sizeof(strbuf); in str_val()
422 *(s = strbuf) = '1'; in str_val()
/third_party/pulseaudio/src/modules/jack/
H A Dmodule-jackdbus-detect.c35 #include <pulsecore/strbuf.h>
/third_party/pulseaudio/src/tests/
H A Dmemblockq-test.c31 #include <pulsecore/strbuf.h>

Completed in 21 milliseconds

12