/third_party/libunwind/libunwind/tests/ |
H A D | Lrs-race.c | 49 void *buf[20]; in foo_0() local 52 if ((n = unw_backtrace (buf, 20)) < 3) in foo_0() 59 void *buf[20]; in foo_1() local 62 if ((n = unw_backtrace (buf, 20)) < 3) in foo_1() 69 void *buf[20]; in foo_2() local 72 if ((n = unw_backtrace (buf, 20)) < 3) in foo_2() 79 void *buf[20]; in foo_3() local 82 if ((n = unw_backtrace (buf, 20)) < 3) in foo_3() 89 void *buf[20]; in foo_4() local 92 if ((n = unw_backtrace (buf, 2 in foo_4() 99 void *buf[20]; foo_5() local 109 void *buf[20]; foo_6() local 119 void *buf[20]; foo_7() local 129 void *buf[20]; foo_8() local 139 void *buf[20]; foo_9() local 149 void *buf[20]; foo_10() local 159 void *buf[20]; foo_11() local 169 void *buf[20]; foo_12() local 179 void *buf[20]; foo_13() local 189 void *buf[20]; foo_14() local 199 void *buf[20]; foo_15() local 209 void *buf[20]; foo_16() local 219 void *buf[20]; foo_17() local 229 void *buf[20]; foo_18() local 239 void *buf[20]; foo_19() local 249 void *buf[20]; foo_20() local 259 void *buf[20]; foo_21() local 269 void *buf[20]; foo_22() local 279 void *buf[20]; foo_23() local 289 void *buf[20]; foo_24() local 299 void *buf[20]; foo_25() local 309 void *buf[20]; foo_26() local 319 void *buf[20]; foo_27() local 329 void *buf[20]; foo_28() local 339 void *buf[20]; foo_29() local 349 void *buf[20]; foo_30() local 359 void *buf[20]; foo_31() local 369 void *buf[20]; foo_32() local 379 void *buf[20]; foo_33() local 389 void *buf[20]; foo_34() local 399 void *buf[20]; foo_35() local 409 void *buf[20]; foo_36() local 419 void *buf[20]; foo_37() local 429 void *buf[20]; foo_38() local 439 void *buf[20]; foo_39() local 449 void *buf[20]; foo_40() local 459 void *buf[20]; foo_41() local 469 void *buf[20]; foo_42() local 479 void *buf[20]; foo_43() local 489 void *buf[20]; foo_44() local 499 void *buf[20]; foo_45() local 509 void *buf[20]; foo_46() local 519 void *buf[20]; foo_47() local 529 void *buf[20]; foo_48() local 539 void *buf[20]; foo_49() local 549 void *buf[20]; foo_50() local 559 void *buf[20]; foo_51() local 569 void *buf[20]; foo_52() local 579 void *buf[20]; foo_53() local 589 void *buf[20]; foo_54() local 599 void *buf[20]; foo_55() local 609 void *buf[20]; foo_56() local 619 void *buf[20]; foo_57() local 629 void *buf[20]; foo_58() local 639 void *buf[20]; foo_59() local 649 void *buf[20]; foo_60() local 659 void *buf[20]; foo_61() local 669 void *buf[20]; foo_62() local 679 void *buf[20]; foo_63() local 689 void *buf[20]; foo_64() local 699 void *buf[20]; foo_65() local 709 void *buf[20]; foo_66() local 719 void *buf[20]; foo_67() local 729 void *buf[20]; foo_68() local 739 void *buf[20]; foo_69() local 749 void *buf[20]; foo_70() local 759 void *buf[20]; foo_71() local 769 void *buf[20]; foo_72() local 779 void *buf[20]; foo_73() local 789 void *buf[20]; foo_74() local 799 void *buf[20]; foo_75() local 809 void *buf[20]; foo_76() local 819 void *buf[20]; foo_77() local 829 void *buf[20]; foo_78() local 839 void *buf[20]; foo_79() local 849 void *buf[20]; foo_80() local 859 void *buf[20]; foo_81() local 869 void *buf[20]; foo_82() local 879 void *buf[20]; foo_83() local 889 void *buf[20]; foo_84() local 899 void *buf[20]; foo_85() local 909 void *buf[20]; foo_86() local 919 void *buf[20]; foo_87() local 929 void *buf[20]; foo_88() local 939 void *buf[20]; foo_89() local 949 void *buf[20]; foo_90() local 959 void *buf[20]; foo_91() local 969 void *buf[20]; foo_92() local 979 void *buf[20]; foo_93() local 989 void *buf[20]; foo_94() local 999 void *buf[20]; foo_95() local 1009 void *buf[20]; foo_96() local 1019 void *buf[20]; foo_97() local 1029 void *buf[20]; foo_98() local 1039 void *buf[20]; foo_99() local 1049 void *buf[20]; foo_100() local 1059 void *buf[20]; foo_101() local 1069 void *buf[20]; foo_102() local 1079 void *buf[20]; foo_103() local 1089 void *buf[20]; foo_104() local 1099 void *buf[20]; foo_105() local 1109 void *buf[20]; foo_106() local 1119 void *buf[20]; foo_107() local 1129 void *buf[20]; foo_108() local 1139 void *buf[20]; foo_109() local 1149 void *buf[20]; foo_110() local 1159 void *buf[20]; foo_111() local 1169 void *buf[20]; foo_112() local 1179 void *buf[20]; foo_113() local 1189 void *buf[20]; foo_114() local 1199 void *buf[20]; foo_115() local 1209 void *buf[20]; foo_116() local 1219 void *buf[20]; foo_117() local 1229 void *buf[20]; foo_118() local 1239 void *buf[20]; foo_119() local 1249 void *buf[20]; foo_120() local 1259 void *buf[20]; foo_121() local 1269 void *buf[20]; foo_122() local 1279 void *buf[20]; foo_123() local 1289 void *buf[20]; foo_124() local 1299 void *buf[20]; foo_125() local 1309 void *buf[20]; foo_126() local 1319 void *buf[20]; foo_127() local 1329 void *buf[20]; foo_128() local [all...] |
/third_party/mesa3d/src/util/ |
H A D | u_dynarray.h | 54 util_dynarray_init(struct util_dynarray *buf, void *mem_ctx) in util_dynarray_init() argument 56 memset(buf, 0, sizeof(*buf)); in util_dynarray_init() 57 buf->mem_ctx = mem_ctx; in util_dynarray_init() 61 util_dynarray_fini(struct util_dynarray *buf) in util_dynarray_fini() argument 63 if (buf->data) { in util_dynarray_fini() 64 if (buf->mem_ctx) { in util_dynarray_fini() 65 ralloc_free(buf->data); in util_dynarray_fini() 67 free(buf->data); in util_dynarray_fini() 69 util_dynarray_init(buf, bu in util_dynarray_fini() 74 util_dynarray_clear(struct util_dynarray *buf) util_dynarray_clear() argument 82 util_dynarray_ensure_cap(struct util_dynarray *buf, unsigned newcap) util_dynarray_ensure_cap() argument 105 util_dynarray_resize_bytes(struct util_dynarray *buf, unsigned nelts, size_t eltsize) util_dynarray_resize_bytes() argument 121 util_dynarray_clone(struct util_dynarray *buf, void *mem_ctx, struct util_dynarray *from_buf) util_dynarray_clone() argument 130 util_dynarray_grow_bytes(struct util_dynarray *buf, unsigned ngrow, size_t eltsize) util_dynarray_grow_bytes() argument 149 util_dynarray_trim(struct util_dynarray *buf) util_dynarray_trim() argument [all...] |
H A D | u_idalloc.c | 40 util_idalloc_resize(struct util_idalloc *buf, unsigned new_num_elements) in util_idalloc_resize() argument 42 if (new_num_elements > buf->num_elements) { in util_idalloc_resize() 43 buf->data = realloc(buf->data, new_num_elements * sizeof(*buf->data)); in util_idalloc_resize() 44 memset(&buf->data[buf->num_elements], 0, in util_idalloc_resize() 45 (new_num_elements - buf->num_elements) * sizeof(*buf->data)); in util_idalloc_resize() 46 buf in util_idalloc_resize() 51 util_idalloc_init(struct util_idalloc *buf, unsigned initial_num_ids) util_idalloc_init() argument 59 util_idalloc_fini(struct util_idalloc *buf) util_idalloc_fini() argument 66 util_idalloc_alloc(struct util_idalloc *buf) util_idalloc_alloc() argument 89 find_free_block(struct util_idalloc *buf, unsigned start) find_free_block() argument 100 util_idalloc_alloc_range(struct util_idalloc *buf, unsigned num) util_idalloc_alloc_range() argument 145 util_idalloc_free(struct util_idalloc *buf, unsigned id) util_idalloc_free() argument 154 util_idalloc_reserve(struct util_idalloc *buf, unsigned id) util_idalloc_reserve() argument 162 util_idalloc_mt_init(struct util_idalloc_mt *buf, unsigned initial_num_ids, bool skip_zero) util_idalloc_mt_init() argument 177 util_idalloc_mt_init_tc(struct util_idalloc_mt *buf) util_idalloc_mt_init_tc() argument 183 util_idalloc_mt_fini(struct util_idalloc_mt *buf) util_idalloc_mt_fini() argument 190 util_idalloc_mt_alloc(struct util_idalloc_mt *buf) util_idalloc_mt_alloc() argument 199 util_idalloc_mt_free(struct util_idalloc_mt *buf, unsigned id) util_idalloc_mt_free() argument [all...] |
/third_party/python/Modules/_blake2/impl/ |
H A D | blake2s-load-sse2.h | 17 #define LOAD_MSG_0_1(buf) buf = _mm_set_epi32(m6,m4,m2,m0) 18 #define LOAD_MSG_0_2(buf) buf = _mm_set_epi32(m7,m5,m3,m1) 19 #define LOAD_MSG_0_3(buf) buf = _mm_set_epi32(m14,m12,m10,m8) 20 #define LOAD_MSG_0_4(buf) buf = _mm_set_epi32(m15,m13,m11,m9) 21 #define LOAD_MSG_1_1(buf) buf [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | golomb.h | 55 unsigned int buf; in get_ue_golomb() local 58 buf = show_bits_long(gb, 32); in get_ue_golomb() 60 if (buf >= (1 << 27)) { in get_ue_golomb() 61 buf >>= 32 - 9; in get_ue_golomb() 62 skip_bits_long(gb, ff_golomb_vlc_len[buf]); in get_ue_golomb() 64 return ff_ue_golomb_vlc_code[buf]; in get_ue_golomb() 66 int log = 2 * av_log2(buf) - 31; in get_ue_golomb() 71 buf >>= log; in get_ue_golomb() 72 buf--; in get_ue_golomb() 74 return buf; in get_ue_golomb() 106 unsigned buf, log; get_ue_golomb_long() local 122 unsigned int buf; get_ue_golomb_31() local 145 uint32_t buf; get_interleaved_ue_golomb() local 241 unsigned int buf; get_se_golomb() local 296 unsigned int buf = get_ue_golomb_long(gb); get_se_golomb_long() local 303 unsigned int buf; get_interleaved_se_golomb() local 377 unsigned int buf; get_ur_golomb() local 431 unsigned int buf; get_ur_golomb_jpegls() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | bprint.c | 33 #define av_bprint_room(buf) ((buf)->size - FFMIN((buf)->len, (buf)->size)) 34 #define av_bprint_is_allocated(buf) ((buf)->str != (buf)->reserved_internal_buffer) 36 static int av_bprint_alloc(AVBPrint *buf, unsigned room) in av_bprint_alloc() argument 41 if (buf->size == buf in av_bprint_alloc() 60 av_bprint_grow(AVBPrint *buf, unsigned extra_len) av_bprint_grow() argument 69 av_bprint_init(AVBPrint *buf, unsigned size_init, unsigned size_max) av_bprint_init() argument 85 av_bprint_init_for_buffer(AVBPrint *buf, char *buffer, unsigned size) av_bprint_init_for_buffer() argument 94 av_bprintf(AVBPrint *buf, const char *fmt, ...) av_bprintf() argument 117 av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg) av_vbprintf() argument 140 av_bprint_chars(AVBPrint *buf, char c, unsigned n) av_bprint_chars() argument 158 av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size) av_bprint_append_data() argument 176 av_bprint_strftime(AVBPrint *buf, const char *fmt, const struct tm *tm) av_bprint_strftime() argument 218 av_bprint_get_buffer(AVBPrint *buf, unsigned size, unsigned char **mem, unsigned *actual_size) av_bprint_get_buffer() argument 227 av_bprint_clear(AVBPrint *buf) av_bprint_clear() argument 235 av_bprint_finalize(AVBPrint *buf, char **ret_str) av_bprint_finalize() argument [all...] |
/third_party/musl/libc-test/src/functionalext/unittest/ |
H A D | unit_test_hilog_vsnprint_f_p.c | 43 char buf[MAX_LOG_LEN] = {0};
in vsnprintfp_s_0010() local 45 int ret = vsprintf_test(buf, MAX_LOG_LEN, MAX_LOG_LEN - 1, true, fmt);
in vsnprintfp_s_0010() 47 EXPECT_STREQ("vsnprintfp_s_0010", buf, "MUSL");
in vsnprintfp_s_0010() 52 * @tc.desc : test vsnprintf both param buf and fmt are NULL
57 char *buf = NULL;
in vsnprintfp_s_0020() local 59 int ret = vsprintf_test(buf, MAX_LOG_LEN, MAX_LOG_LEN - 1, true, fmt);
in vsnprintfp_s_0020() 70 char buf[MAX_LOG_LEN] = {0};
in vsnprintfp_s_0030() local 72 int ret = vsprintf_test(buf, MAX_LOG_LEN - 1, MAX_LOG_LEN, true, fmt);
in vsnprintfp_s_0030() 74 EXPECT_STREQ("vsnprintfp_s_0030", buf, "MUSL");
in vsnprintfp_s_0030() 84 char buf[MAX_LOG_LE in vsnprintfp_s_0040() local 98 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0050() local 112 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0060() local 126 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0070() local 140 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0080() local 153 char buf[2] = {0}; vsnprintfp_s_0090() local 166 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0100() local 180 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0110() local 194 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0120() local 208 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0130() local 221 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0140() local 235 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0150() local 249 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0160() local 263 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0170() local 276 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0180() local 290 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0190() local 304 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0200() local 318 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0210() local 332 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0220() local 346 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0230() local 360 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0240() local 374 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0250() local 388 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0260() local 401 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0270() local 415 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0280() local 429 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0290() local 443 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0300() local 457 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0310() local 471 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0320() local 485 char buf[2] = {0}; vsnprintfp_s_0330() local 499 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0340() local 513 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0350() local 526 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0360() local 540 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0370() local 553 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0380() local 567 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0390() local 581 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0400() local 595 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0410() local 609 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0420() local 623 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0430() local 637 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0440() local 651 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0450() local 664 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0460() local 677 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0470() local 690 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0480() local 703 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0490() local 718 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0500() local 732 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0510() local 745 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0520() local 758 char buf[MAX_LOG_LEN] = {0}; vsnprintfp_s_0530() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_build.c | 18 void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token) in p2p_buf_add_action_hdr() argument 20 wpabuf_put_u8(buf, WLAN_ACTION_VENDOR_SPECIFIC); in p2p_buf_add_action_hdr() 21 wpabuf_put_be32(buf, P2P_IE_VENDOR_TYPE); in p2p_buf_add_action_hdr() 23 wpabuf_put_u8(buf, subtype); /* OUI Subtype */ in p2p_buf_add_action_hdr() 24 wpabuf_put_u8(buf, dialog_token); in p2p_buf_add_action_hdr() 29 void p2p_buf_add_public_action_hdr(struct wpabuf *buf, u8 subtype, in p2p_buf_add_public_action_hdr() argument 32 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in p2p_buf_add_public_action_hdr() 33 wpabuf_put_u8(buf, WLAN_PA_VENDOR_SPECIFIC); in p2p_buf_add_public_action_hdr() 34 wpabuf_put_be32(buf, P2P_IE_VENDOR_TYPE); in p2p_buf_add_public_action_hdr() 36 wpabuf_put_u8(buf, subtyp in p2p_buf_add_public_action_hdr() 42 p2p_buf_add_ie_hdr(struct wpabuf *buf) p2p_buf_add_ie_hdr() argument 55 p2p_buf_update_ie_hdr(struct wpabuf *buf, u8 *len) p2p_buf_update_ie_hdr() argument 62 p2p_buf_add_capability(struct wpabuf *buf, u8 dev_capab, u8 group_capab) p2p_buf_add_capability() argument 74 p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent) p2p_buf_add_go_intent() argument 85 p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) p2p_buf_add_listen_channel() argument 99 p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) p2p_buf_add_operating_channel() argument 113 p2p_buf_add_pref_channel_list(struct wpabuf *buf, const u32 *preferred_freq_list, unsigned int size) p2p_buf_add_pref_channel_list() argument 151 p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, struct p2p_channels *chan) p2p_buf_add_channel_list() argument 176 p2p_buf_add_status(struct wpabuf *buf, u8 status) p2p_buf_add_status() argument 186 p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p, struct p2p_device *peer) p2p_buf_add_device_info() argument 245 p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) p2p_buf_add_device_id() argument 255 p2p_buf_add_config_timeout(struct wpabuf *buf, u8 go_timeout, u8 client_timeout) p2p_buf_add_config_timeout() argument 268 p2p_buf_add_intended_addr(struct wpabuf *buf, const u8 *interface_addr) p2p_buf_add_intended_addr() argument 279 p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid) p2p_buf_add_group_bssid() argument 290 p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len) p2p_buf_add_group_id() argument 304 p2p_buf_add_invitation_flags(struct wpabuf *buf, u8 flags) p2p_buf_add_invitation_flags() argument 314 p2p_buf_add_noa_desc(struct wpabuf *buf, struct p2p_noa_desc *desc) p2p_buf_add_noa_desc() argument 326 p2p_buf_add_noa(struct wpabuf *buf, u8 noa_index, u8 opp_ps, u8 ctwindow, struct p2p_noa_desc *desc1, struct p2p_noa_desc *desc2) p2p_buf_add_noa() argument 340 p2p_buf_add_ext_listen_timing(struct wpabuf *buf, u16 period, u16 interval) p2p_buf_add_ext_listen_timing() argument 353 p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p) p2p_buf_add_p2p_interface() argument 370 p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, u8 oper_class, u8 channel, enum p2p_role_indication role) p2p_buf_add_oob_go_neg_channel() argument 387 p2p_buf_add_service_hash(struct wpabuf *buf, struct p2p_data *p2p) p2p_buf_add_service_hash() argument 402 p2p_buf_add_session_info(struct wpabuf *buf, const char *info) p2p_buf_add_session_info() argument 420 p2p_buf_add_connection_capability(struct wpabuf *buf, u8 connection_cap) p2p_buf_add_connection_capability() argument 431 p2p_buf_add_advertisement_id(struct wpabuf *buf, u32 id, const u8 *mac) p2p_buf_add_advertisement_id() argument 476 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) p2p_buf_add_service_info() argument 594 p2p_buf_add_service_instance(struct wpabuf *buf, struct p2p_data *p2p, u8 hash_count, const u8 *hash, struct p2ps_advertisement *adv_list) p2p_buf_add_service_instance() argument 665 p2p_buf_add_session_id(struct wpabuf *buf, u32 id, const u8 *mac) p2p_buf_add_session_id() argument 680 p2p_buf_add_feature_capability(struct wpabuf *buf, u16 len, const u8 *mask) p2p_buf_add_feature_capability() argument 693 p2p_buf_add_persistent_group_info(struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len) p2p_buf_add_persistent_group_info() argument 706 p2p_add_wps_string(struct wpabuf *buf, enum wps_attribute attr, const char *val) p2p_add_wps_string() argument 736 p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, int all_attr) p2p_build_wps_ie() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_build.c | 18 void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token) in p2p_buf_add_action_hdr() argument 20 wpabuf_put_u8(buf, WLAN_ACTION_VENDOR_SPECIFIC); in p2p_buf_add_action_hdr() 21 wpabuf_put_be32(buf, P2P_IE_VENDOR_TYPE); in p2p_buf_add_action_hdr() 23 wpabuf_put_u8(buf, subtype); /* OUI Subtype */ in p2p_buf_add_action_hdr() 24 wpabuf_put_u8(buf, dialog_token); in p2p_buf_add_action_hdr() 29 void p2p_buf_add_public_action_hdr(struct wpabuf *buf, u8 subtype, in p2p_buf_add_public_action_hdr() argument 32 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in p2p_buf_add_public_action_hdr() 33 wpabuf_put_u8(buf, WLAN_PA_VENDOR_SPECIFIC); in p2p_buf_add_public_action_hdr() 34 wpabuf_put_be32(buf, P2P_IE_VENDOR_TYPE); in p2p_buf_add_public_action_hdr() 36 wpabuf_put_u8(buf, subtyp in p2p_buf_add_public_action_hdr() 42 p2p_buf_add_ie_hdr(struct wpabuf *buf) p2p_buf_add_ie_hdr() argument 55 p2p_buf_update_ie_hdr(struct wpabuf *buf, u8 *len) p2p_buf_update_ie_hdr() argument 62 p2p_buf_add_capability(struct wpabuf *buf, u8 dev_capab, u8 group_capab) p2p_buf_add_capability() argument 74 p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent) p2p_buf_add_go_intent() argument 85 p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) p2p_buf_add_listen_channel() argument 99 p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) p2p_buf_add_operating_channel() argument 113 p2p_buf_add_pref_channel_list(struct wpabuf *buf, const unsigned int *preferred_freq_list, unsigned int size) p2p_buf_add_pref_channel_list() argument 151 p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, struct p2p_channels *chan) p2p_buf_add_channel_list() argument 176 p2p_buf_add_status(struct wpabuf *buf, u8 status) p2p_buf_add_status() argument 186 p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p, struct p2p_device *peer) p2p_buf_add_device_info() argument 245 p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) p2p_buf_add_device_id() argument 255 p2p_buf_add_config_timeout(struct wpabuf *buf, u8 go_timeout, u8 client_timeout) p2p_buf_add_config_timeout() argument 268 p2p_buf_add_intended_addr(struct wpabuf *buf, const u8 *interface_addr) p2p_buf_add_intended_addr() argument 279 p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid) p2p_buf_add_group_bssid() argument 290 p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len) p2p_buf_add_group_id() argument 304 p2p_buf_add_invitation_flags(struct wpabuf *buf, u8 flags) p2p_buf_add_invitation_flags() argument 314 p2p_buf_add_noa_desc(struct wpabuf *buf, struct p2p_noa_desc *desc) p2p_buf_add_noa_desc() argument 326 p2p_buf_add_noa(struct wpabuf *buf, u8 noa_index, u8 opp_ps, u8 ctwindow, struct p2p_noa_desc *desc1, struct p2p_noa_desc *desc2) p2p_buf_add_noa() argument 340 p2p_buf_add_ext_listen_timing(struct wpabuf *buf, u16 period, u16 interval) p2p_buf_add_ext_listen_timing() argument 353 p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p) p2p_buf_add_p2p_interface() argument 370 p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, u8 oper_class, u8 channel, enum p2p_role_indication role) p2p_buf_add_oob_go_neg_channel() argument 387 p2p_buf_add_service_hash(struct wpabuf *buf, struct p2p_data *p2p) p2p_buf_add_service_hash() argument 402 p2p_buf_add_session_info(struct wpabuf *buf, const char *info) p2p_buf_add_session_info() argument 420 p2p_buf_add_connection_capability(struct wpabuf *buf, u8 connection_cap) p2p_buf_add_connection_capability() argument 431 p2p_buf_add_advertisement_id(struct wpabuf *buf, u32 id, const u8 *mac) p2p_buf_add_advertisement_id() argument 476 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) p2p_buf_add_service_info() argument 594 p2p_buf_add_service_instance(struct wpabuf *buf, struct p2p_data *p2p, u8 hash_count, const u8 *hash, struct p2ps_advertisement *adv_list) p2p_buf_add_service_instance() argument 665 p2p_buf_add_session_id(struct wpabuf *buf, u32 id, const u8 *mac) p2p_buf_add_session_id() argument 680 p2p_buf_add_feature_capability(struct wpabuf *buf, u16 len, const u8 *mask) p2p_buf_add_feature_capability() argument 693 p2p_buf_add_persistent_group_info(struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len) p2p_buf_add_persistent_group_info() argument 706 p2p_add_wps_string(struct wpabuf *buf, enum wps_attribute attr, const char *val) p2p_add_wps_string() argument 736 p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, int all_attr) p2p_build_wps_ie() argument [all...] |
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | ucbuf.cpp | 163 ucbuf_fillucbuf( UCHARBUF* buf,UErrorCode* error){ in ucbuf_fillucbuf() argument 174 pTarget = buf->buffer; in ucbuf_fillucbuf() 176 if(buf->currentPos<buf->bufLimit){ in ucbuf_fillucbuf() 177 offset = (int32_t)(buf->bufLimit-buf->currentPos); in ucbuf_fillucbuf() 178 memmove(buf->buffer,buf->currentPos,offset* sizeof(char16_t)); in ucbuf_fillucbuf() 184 if(buf->isBuffered){ in ucbuf_fillucbuf() 187 inputRead=T_FileStream_read(buf in ucbuf_fillucbuf() 325 ucbuf_getc(UCHARBUF* buf,UErrorCode* error) ucbuf_getc() argument 344 ucbuf_getc32(UCHARBUF* buf,UErrorCode* error) ucbuf_getc32() argument 375 ucbuf_getcx32(UCHARBUF* buf,UErrorCode* error) ucbuf_getcx32() argument 469 UCHARBUF* buf =(UCHARBUF*) uprv_malloc(sizeof(UCHARBUF)); ucbuf_open() local 539 ucbuf_ungetc(int32_t c,UCHARBUF* buf) ucbuf_ungetc() argument 556 ucbuf_closebuf(UCHARBUF* buf) ucbuf_closebuf() argument 563 ucbuf_close(UCHARBUF* buf) ucbuf_close() argument 576 ucbuf_rewind(UCHARBUF* buf,UErrorCode* error) ucbuf_rewind() argument 615 ucbuf_size(UCHARBUF* buf) ucbuf_size() argument 627 ucbuf_getBuffer(UCHARBUF* buf,int32_t* len,UErrorCode* error) ucbuf_getBuffer() argument 716 ucbuf_readline(UCHARBUF* buf,int32_t* len,UErrorCode* err) ucbuf_readline() argument [all...] |
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | ucbuf.cpp | 163 ucbuf_fillucbuf( UCHARBUF* buf,UErrorCode* error){ in ucbuf_fillucbuf() argument 174 pTarget = buf->buffer; in ucbuf_fillucbuf() 176 if(buf->currentPos<buf->bufLimit){ in ucbuf_fillucbuf() 177 offset = (int32_t)(buf->bufLimit-buf->currentPos); in ucbuf_fillucbuf() 178 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); in ucbuf_fillucbuf() 184 if(buf->isBuffered){ in ucbuf_fillucbuf() 187 inputRead=T_FileStream_read(buf in ucbuf_fillucbuf() 325 ucbuf_getc(UCHARBUF* buf,UErrorCode* error) ucbuf_getc() argument 344 ucbuf_getc32(UCHARBUF* buf,UErrorCode* error) ucbuf_getc32() argument 375 ucbuf_getcx32(UCHARBUF* buf,UErrorCode* error) ucbuf_getcx32() argument 469 UCHARBUF* buf =(UCHARBUF*) uprv_malloc(sizeof(UCHARBUF)); ucbuf_open() local 539 ucbuf_ungetc(int32_t c,UCHARBUF* buf) ucbuf_ungetc() argument 556 ucbuf_closebuf(UCHARBUF* buf) ucbuf_closebuf() argument 563 ucbuf_close(UCHARBUF* buf) ucbuf_close() argument 576 ucbuf_rewind(UCHARBUF* buf,UErrorCode* error) ucbuf_rewind() argument 615 ucbuf_size(UCHARBUF* buf) ucbuf_size() argument 627 ucbuf_getBuffer(UCHARBUF* buf,int32_t* len,UErrorCode* error) ucbuf_getBuffer() argument 716 ucbuf_readline(UCHARBUF* buf,int32_t* len,UErrorCode* err) ucbuf_readline() argument [all...] |
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | ucbuf.cpp | 163 ucbuf_fillucbuf( UCHARBUF* buf,UErrorCode* error){ in ucbuf_fillucbuf() argument 174 pTarget = buf->buffer; in ucbuf_fillucbuf() 176 if(buf->currentPos<buf->bufLimit){ in ucbuf_fillucbuf() 177 offset = (int32_t)(buf->bufLimit-buf->currentPos); in ucbuf_fillucbuf() 178 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); in ucbuf_fillucbuf() 184 if(buf->isBuffered){ in ucbuf_fillucbuf() 187 inputRead=T_FileStream_read(buf in ucbuf_fillucbuf() 325 ucbuf_getc(UCHARBUF* buf,UErrorCode* error) ucbuf_getc() argument 344 ucbuf_getc32(UCHARBUF* buf,UErrorCode* error) ucbuf_getc32() argument 375 ucbuf_getcx32(UCHARBUF* buf,UErrorCode* error) ucbuf_getcx32() argument 469 UCHARBUF* buf =(UCHARBUF*) uprv_malloc(sizeof(UCHARBUF)); ucbuf_open() local 539 ucbuf_ungetc(int32_t c,UCHARBUF* buf) ucbuf_ungetc() argument 556 ucbuf_closebuf(UCHARBUF* buf) ucbuf_closebuf() argument 563 ucbuf_close(UCHARBUF* buf) ucbuf_close() argument 576 ucbuf_rewind(UCHARBUF* buf,UErrorCode* error) ucbuf_rewind() argument 615 ucbuf_size(UCHARBUF* buf) ucbuf_size() argument 627 ucbuf_getBuffer(UCHARBUF* buf,int32_t* len,UErrorCode* error) ucbuf_getBuffer() argument 716 ucbuf_readline(UCHARBUF* buf,int32_t* len,UErrorCode* err) ucbuf_readline() argument [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares__buf.c | 91 ares__buf_t *buf = ares_malloc_zero(sizeof(*buf)); in ares__buf_create() local 92 if (buf == NULL) { in ares__buf_create() 96 buf->tag_offset = SIZE_MAX; in ares__buf_create() 97 return buf; in ares__buf_create() 102 ares__buf_t *buf; in ares__buf_create_const() local 108 buf = ares__buf_create(); in ares__buf_create_const() 109 if (buf == NULL) { in ares__buf_create_const() 113 buf->data = data; in ares__buf_create_const() 114 buf in ares__buf_create_const() 119 ares__buf_destroy(ares__buf_t *buf) ares__buf_destroy() argument 128 ares__buf_is_const(const ares__buf_t *buf) ares__buf_is_const() argument 141 ares__buf_reclaim(ares__buf_t *buf) ares__buf_reclaim() argument 183 ares__buf_ensure_space(ares__buf_t *buf, size_t needed_size) ares__buf_ensure_space() argument 242 ares__buf_set_length(ares__buf_t *buf, size_t len) ares__buf_set_length() argument 256 ares__buf_append(ares__buf_t *buf, const unsigned char *data, size_t data_len) ares__buf_append() argument 275 ares__buf_append_byte(ares__buf_t *buf, unsigned char byte) ares__buf_append_byte() argument 280 ares__buf_append_be16(ares__buf_t *buf, unsigned short u16) ares__buf_append_be16() argument 297 ares__buf_append_be32(ares__buf_t *buf, unsigned int u32) ares__buf_append_be32() argument 324 ares__buf_append_start(ares__buf_t *buf, size_t *len) ares__buf_append_start() argument 342 ares__buf_append_finish(ares__buf_t *buf, size_t len) ares__buf_append_finish() argument 351 ares__buf_finish_bin(ares__buf_t *buf, size_t *len) ares__buf_finish_bin() argument 371 ares__buf_finish_str(ares__buf_t *buf, size_t *len) ares__buf_finish_str() argument 392 ares__buf_tag(ares__buf_t *buf) ares__buf_tag() argument 401 ares__buf_tag_rollback(ares__buf_t *buf) ares__buf_tag_rollback() argument 412 ares__buf_tag_clear(ares__buf_t *buf) ares__buf_tag_clear() argument 422 ares__buf_tag_fetch(const ares__buf_t *buf, size_t *len) ares__buf_tag_fetch() argument 432 ares__buf_tag_length(const ares__buf_t *buf) ares__buf_tag_length() argument 440 ares__buf_tag_fetch_bytes(const ares__buf_t *buf, unsigned char *bytes, size_t *len) ares__buf_tag_fetch_bytes() argument 462 ares__buf_tag_fetch_string(const ares__buf_t *buf, char *str, size_t len) ares__buf_tag_fetch_string() argument 494 ares__buf_fetch(const ares__buf_t *buf, size_t *len) ares__buf_fetch() argument 512 ares__buf_consume(ares__buf_t *buf, size_t len) ares__buf_consume() argument 524 ares__buf_fetch_be16(ares__buf_t *buf, unsigned short *u16) ares__buf_fetch_be16() argument 542 ares__buf_fetch_be32(ares__buf_t *buf, unsigned int *u32) ares__buf_fetch_be32() argument 557 ares__buf_fetch_bytes(ares__buf_t *buf, unsigned char *bytes, size_t len) ares__buf_fetch_bytes() argument 571 ares__buf_fetch_bytes_dup(ares__buf_t *buf, size_t len, ares_bool_t null_term, unsigned char **bytes) ares__buf_fetch_bytes_dup() argument 594 ares__buf_fetch_str_dup(ares__buf_t *buf, size_t len, char **str) ares__buf_fetch_str_dup() argument 614 ares__buf_fetch_bytes_into_buf(ares__buf_t *buf, ares__buf_t *dest, size_t len) ares__buf_fetch_bytes_into_buf() argument 633 ares__buf_consume_whitespace(ares__buf_t *buf, ares_bool_t include_linefeed) ares__buf_consume_whitespace() argument 669 ares__buf_consume_nonwhitespace(ares__buf_t *buf) ares__buf_consume_nonwhitespace() argument 700 ares__buf_consume_line(ares__buf_t *buf, ares_bool_t include_linefeed) ares__buf_consume_line() argument 727 ares__buf_consume_until_charset(ares__buf_t *buf, const unsigned char *charset, size_t len, ares_bool_t require_charset) ares__buf_consume_until_charset() argument 761 ares__buf_consume_charset(ares__buf_t *buf, const unsigned char *charset, size_t len) ares__buf_consume_charset() argument 805 const ares__buf_t *buf = ares__llist_node_val(node); ares__buf_split_isduplicate() local 827 ares__buf_split(ares__buf_t *buf, const unsigned char *delims, size_t delims_len, ares__buf_split_t flags, ares__llist_t **list) ares__buf_split() argument 901 ares__buf_begins_with(const ares__buf_t *buf, const unsigned char *data, size_t data_len) ares__buf_begins_with() argument 922 ares__buf_len(const ares__buf_t *buf) ares__buf_len() argument 931 ares__buf_peek(const ares__buf_t *buf, size_t *len) ares__buf_peek() argument 936 ares__buf_get_position(const ares__buf_t *buf) ares__buf_get_position() argument 944 ares__buf_set_position(ares__buf_t *buf, size_t idx) ares__buf_set_position() argument 958 ares__buf_parse_dns_binstr(ares__buf_t *buf, size_t remaining_len, unsigned char **bin, size_t *bin_len, ares_bool_t allow_multiple) ares__buf_parse_dns_binstr() argument 1020 ares__buf_parse_dns_str(ares__buf_t *buf, size_t remaining_len, char **str, ares_bool_t allow_multiple) ares__buf_parse_dns_str() argument 1028 ares__buf_append_num_dec(ares__buf_t *buf, size_t num, size_t len) ares__buf_append_num_dec() argument 1059 ares__buf_append_num_hex(ares__buf_t *buf, size_t num, size_t len) ares__buf_append_num_hex() argument 1078 ares__buf_append_str(ares__buf_t *buf, const char *str) ares__buf_append_str() argument 1083 ares__buf_hexdump_line(ares__buf_t *buf, size_t idx, const unsigned char *data, size_t len) ares__buf_hexdump_line() argument 1137 ares__buf_hexdump(ares__buf_t *buf, const unsigned char *data, size_t len) ares__buf_hexdump() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | wpabuf.c | 22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) in wpabuf_get_trace() argument 25 ((const u8 *) buf - sizeof(struct wpabuf_trace)); in wpabuf_get_trace() 30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) in wpabuf_overflow() argument 33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); in wpabuf_overflow() 40 buf, (unsigned long) buf->size, (unsigned long) buf->used, in wpabuf_overflow() 49 struct wpabuf *buf = *_buf; in wpabuf_resize() local 54 if (buf == NULL) { in wpabuf_resize() 60 trace = wpabuf_get_trace(buf); in wpabuf_resize() 118 struct wpabuf *buf; wpabuf_alloc() local 140 struct wpabuf *buf; wpabuf_alloc_ext_data() local 162 struct wpabuf *buf = wpabuf_alloc(len); wpabuf_alloc_copy() local 171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); wpabuf_dup() local 182 wpabuf_free(struct wpabuf *buf) wpabuf_free() argument 208 wpabuf_clear_free(struct wpabuf *buf) wpabuf_clear_free() argument 217 wpabuf_put(struct wpabuf *buf, size_t len) wpabuf_put() argument 275 wpabuf_zeropad(struct wpabuf *buf, size_t len) wpabuf_zeropad() argument 298 wpabuf_printf(struct wpabuf *buf, char *fmt, ...) wpabuf_printf() argument 320 wpabuf_parse_bin(const char *buf) wpabuf_parse_bin() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | wpabuf.c | 22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) in wpabuf_get_trace() argument 25 ((const u8 *) buf - sizeof(struct wpabuf_trace)); in wpabuf_get_trace() 30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) in wpabuf_overflow() argument 33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); in wpabuf_overflow() 40 buf, (unsigned long) buf->size, (unsigned long) buf->used, in wpabuf_overflow() 49 struct wpabuf *buf = *_buf; in wpabuf_resize() local 54 if (buf == NULL) { in wpabuf_resize() 60 trace = wpabuf_get_trace(buf); in wpabuf_resize() 118 struct wpabuf *buf; wpabuf_alloc() local 140 struct wpabuf *buf; wpabuf_alloc_ext_data() local 162 struct wpabuf *buf = wpabuf_alloc(len); wpabuf_alloc_copy() local 171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); wpabuf_dup() local 182 wpabuf_free(struct wpabuf *buf) wpabuf_free() argument 208 wpabuf_clear_free(struct wpabuf *buf) wpabuf_clear_free() argument 217 wpabuf_put(struct wpabuf *buf, size_t len) wpabuf_put() argument 275 wpabuf_zeropad(struct wpabuf *buf, size_t len) wpabuf_zeropad() argument 298 wpabuf_printf(struct wpabuf *buf, char *fmt, ...) wpabuf_printf() argument 320 wpabuf_parse_bin(const char *buf) wpabuf_parse_bin() argument [all...] |
/third_party/lwip/src/api/ |
H A D | netbuf.c | 65 struct netbuf *buf; in netbuf_new() local 67 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netbuf_new() 68 if (buf != NULL) { in netbuf_new() 69 memset(buf, 0, sizeof(struct netbuf)); in netbuf_new() 71 return buf; in netbuf_new() 78 * @param buf pointer to a netbuf allocated by netbuf_new() 81 netbuf_delete(struct netbuf *buf) in netbuf_delete() argument 83 if (buf != NULL) { in netbuf_delete() 84 if (buf->p != NULL) { in netbuf_delete() 85 pbuf_free(buf in netbuf_delete() 102 netbuf_alloc(struct netbuf *buf, u16_t size) netbuf_alloc() argument 127 netbuf_free(struct netbuf *buf) netbuf_free() argument 151 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) netbuf_ref() argument 196 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) netbuf_data() argument 222 netbuf_next(struct netbuf *buf) netbuf_next() argument 244 netbuf_first(struct netbuf *buf) netbuf_first() argument [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | cli-command.c | 65 int (*proc) (pa_core *c, pa_tokenizer*t, pa_strbuf *buf, bool *fail); 84 static int pa_cli_command_exit(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail); 85 static int pa_cli_command_help(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail); 86 static int pa_cli_command_modules(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail); 87 static int pa_cli_command_clients(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail); 88 static int pa_cli_command_cards(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail); 89 static int pa_cli_command_sinks(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail); 90 static int pa_cli_command_sources(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail); 91 static int pa_cli_command_sink_inputs(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail); 92 static int pa_cli_command_source_outputs(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, boo 218 pa_cli_command_exit(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_exit() argument 230 pa_cli_command_help(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_help() argument 246 pa_cli_command_modules(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_modules() argument 260 pa_cli_command_clients(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_clients() argument 274 pa_cli_command_cards(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_cards() argument 288 pa_cli_command_sinks(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_sinks() argument 302 pa_cli_command_sources(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_sources() argument 316 pa_cli_command_sink_inputs(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_sink_inputs() argument 330 pa_cli_command_source_outputs(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_source_outputs() argument 344 pa_cli_command_stat(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_stat() argument 407 pa_cli_command_info(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_info() argument 425 pa_cli_command_load(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_load() argument 452 pa_cli_command_unload(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_unload() argument 492 pa_cli_command_describe(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_describe() argument 533 pa_cli_command_sink_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_sink_volume() argument 574 pa_cli_command_sink_input_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_sink_input_volume() argument 626 pa_cli_command_source_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_source_volume() argument 667 pa_cli_command_source_output_volume(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_source_output_volume() argument 719 pa_cli_command_sink_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_sink_mute() argument 753 pa_cli_command_source_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_source_mute() argument 787 pa_cli_command_update_sink_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_update_sink_proplist() argument 824 pa_cli_command_update_source_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_update_source_proplist() argument 861 pa_cli_command_update_sink_input_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_update_sink_input_proplist() argument 904 pa_cli_command_update_source_output_proplist(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_update_source_output_proplist() argument 947 pa_cli_command_sink_input_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_sink_input_mute() argument 987 pa_cli_command_source_output_mute(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_source_output_mute() argument 1027 pa_cli_command_sink_default(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_sink_default() argument 1049 pa_cli_command_source_default(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_source_default() argument 1070 pa_cli_command_kill_client(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_kill_client() argument 1099 pa_cli_command_kill_sink_input(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_kill_sink_input() argument 1128 pa_cli_command_kill_source_output(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_kill_source_output() argument 1157 pa_cli_command_scache_list(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_scache_list() argument 1172 pa_cli_command_scache_play(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_scache_play() argument 1202 pa_cli_command_scache_remove(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_scache_remove() argument 1223 pa_cli_command_scache_load(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_scache_load() argument 1248 pa_cli_command_scache_load_dir(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_scache_load_dir() argument 1269 pa_cli_command_play_file(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_play_file() argument 1298 pa_cli_command_list_shared_props(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_list_shared_props() argument 1308 pa_cli_command_vacuum(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_vacuum() argument 1319 pa_cli_command_move_sink_input(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_move_sink_input() argument 1362 pa_cli_command_move_source_output(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_move_source_output() argument 1405 pa_cli_command_suspend_sink(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_suspend_sink() argument 1443 pa_cli_command_suspend_source(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_suspend_source() argument 1481 pa_cli_command_suspend(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_suspend() argument 1511 pa_cli_command_log_target(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_log_target() argument 1548 pa_cli_command_log_level(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_log_level() argument 1572 pa_cli_command_log_meta(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_log_meta() argument 1596 pa_cli_command_log_time(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_log_time() argument 1620 pa_cli_command_log_backtrace(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_log_backtrace() argument 1644 pa_cli_command_card_profile(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_card_profile() argument 1682 pa_cli_command_sink_port(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_sink_port() argument 1714 pa_cli_command_source_port(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_source_port() argument 1746 pa_cli_command_port_offset(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_port_offset() argument 1792 pa_cli_command_send_message_to_object(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_send_message_to_object() argument 1833 pa_cli_command_dump(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_dump() argument 1927 pa_cli_command_dump_volumes(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, bool *fail) pa_cli_command_dump_volumes() argument 2048 pa_cli_command_execute_line_stateful(pa_core *c, const char *s, pa_strbuf *buf, bool *fail, int *ifstate) pa_cli_command_execute_line_stateful() argument 2225 pa_cli_command_execute_line(pa_core *c, const char *s, pa_strbuf *buf, bool *fail) pa_cli_command_execute_line() argument 2229 pa_cli_command_execute_file_stream(pa_core *c, FILE *f, pa_strbuf *buf, bool *fail) pa_cli_command_execute_file_stream() argument 2256 pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, bool *fail) pa_cli_command_execute_file() argument 2285 pa_cli_command_execute(pa_core *c, const char *s, pa_strbuf *buf, bool *fail) pa_cli_command_execute() argument [all...] |
/third_party/ltp/testcases/kernel/sched/nptl/ |
H A D | nptl01.c | 72 void call_mutex_init(pthread_mutex_t * mutex, char *buf, size_t buf_len) in call_mutex_init() argument 78 strerror_r(ret, buf, buf_len)); in call_mutex_init() 82 void call_mutex_lock(pthread_mutex_t * mutex, char *buf, size_t buf_len) in call_mutex_lock() argument 88 strerror_r(ret, buf, buf_len)); in call_mutex_lock() 92 void call_mutex_unlock(pthread_mutex_t * mutex, char *buf, size_t buf_len) in call_mutex_unlock() argument 98 strerror_r(ret, buf, buf_len)); in call_mutex_unlock() 102 void call_cond_init(pthread_cond_t * cond, char *buf, size_t buf_len) in call_cond_init() argument 108 strerror_r(ret, buf, buf_len)); in call_cond_init() 113 char *buf, size_t buf_len) in call_cond_wait() 119 strerror_r(ret, buf, buf_le in call_cond_wait() 112 call_cond_wait(pthread_cond_t * cond, pthread_mutex_t * mutex, char *buf, size_t buf_len) call_cond_wait() argument 123 call_cond_signal(pthread_cond_t * cond, char *buf, size_t buf_len) call_cond_signal() argument 133 do_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex, char *buf, size_t buf_len, int i) do_timedwait() argument 167 char buf[1024]; run() local 185 create_child_thread(char *buf, size_t buf_len) create_child_thread() argument 227 char buf[1024]; main() local [all...] |
/third_party/toybox/toys/pending/ |
H A D | ipcs.c | 45 struct semid_ds *buf; member 52 struct msqid_ds buf; in show_msg_id() local 55 if ((ret = msgctl(TT.id, IPC_STAT, &buf)) < 0) { in show_msg_id() 60 #define ipcperm buf.msg_perm in show_msg_id() 66 (long) buf.msg_cbytes, (long) buf.msg_qbytes, in show_msg_id() 67 (long) buf.msg_qnum, buf.msg_lspid, buf.msg_lrpid); in show_msg_id() 70 buf in show_msg_id() 78 struct semid_ds buf; show_sem_id() local 120 struct shmid_ds buf; show_shm_id() local 151 struct shmid_ds buf; shm_array() local 252 struct semid_ds buf; sem_array() local 340 struct msqid_ds buf; msg_array() local [all...] |
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_buf.c | 28 void nghttp3_buf_init(nghttp3_buf *buf) { in nghttp3_buf_init() argument 29 buf->begin = buf->end = buf->pos = buf->last = NULL; in nghttp3_buf_init() 32 void nghttp3_buf_wrap_init(nghttp3_buf *buf, uint8_t *src, size_t len) { in nghttp3_buf_wrap_init() argument 33 buf->begin = buf->pos = buf->last = src; in nghttp3_buf_wrap_init() 34 buf in nghttp3_buf_wrap_init() 37 nghttp3_buf_free(nghttp3_buf *buf, const nghttp3_mem *mem) nghttp3_buf_free() argument 41 nghttp3_buf_left(const nghttp3_buf *buf) nghttp3_buf_left() argument 45 nghttp3_buf_len(const nghttp3_buf *buf) nghttp3_buf_len() argument 49 nghttp3_buf_cap(const nghttp3_buf *buf) nghttp3_buf_cap() argument 53 nghttp3_buf_reset(nghttp3_buf *buf) nghttp3_buf_reset() argument 55 nghttp3_buf_reserve(nghttp3_buf *buf, size_t size, const nghttp3_mem *mem) nghttp3_buf_reserve() argument 86 nghttp3_typed_buf_init(nghttp3_typed_buf *tbuf, const nghttp3_buf *buf, nghttp3_buf_type type) nghttp3_typed_buf_init() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | buffer.c | 44 vlVaBuffer *buf; in vlVaCreateBuffer() local 49 buf = CALLOC(1, sizeof(vlVaBuffer)); in vlVaCreateBuffer() 50 if (!buf) in vlVaCreateBuffer() 53 buf->type = type; in vlVaCreateBuffer() 54 buf->size = size; in vlVaCreateBuffer() 55 buf->num_elements = num_elements; in vlVaCreateBuffer() 56 buf->data = MALLOC(size * num_elements); in vlVaCreateBuffer() 58 if (!buf->data) { in vlVaCreateBuffer() 59 FREE(buf); in vlVaCreateBuffer() 64 memcpy(buf in vlVaCreateBuffer() 79 vlVaBuffer *buf; vlVaBufferSetNumElements() local 108 vlVaBuffer *buf; vlVaMapBuffer() local 172 vlVaBuffer *buf; vlVaUnmapBuffer() local 216 vlVaBuffer *buf; vlVaDestroyBuffer() local 249 vlVaBuffer *buf; vlVaBufferInfo() local 275 vlVaBuffer *buf ; vlVaAcquireBufferHandle() local 368 vlVaBuffer *buf; vlVaReleaseBufferHandle() local [all...] |
/third_party/backends/backend/ |
H A D | epson2-commands.c | 443 esci_request_extended_identity(SANE_Handle handle, unsigned char *buf) in esci_request_extended_identity() argument 452 if (buf == NULL) in esci_request_extended_identity() 461 status = e2_txrx(s, params, 2, buf, 80); in esci_request_extended_identity() 465 DBG(1, " command level : %c%c\n", buf[0], buf[1]); in esci_request_extended_identity() 466 DBG(1, " basic resolution: %lu\n", (unsigned long) le32atoh(&buf[4])); in esci_request_extended_identity() 467 DBG(1, " min resolution : %lu\n", (unsigned long) le32atoh(&buf[8])); in esci_request_extended_identity() 468 DBG(1, " max resolution : %lu\n", (unsigned long) le32atoh(&buf[12])); in esci_request_extended_identity() 469 DBG(1, " max pixel num : %lu\n", (unsigned long) le32atoh(&buf[16])); in esci_request_extended_identity() 471 (unsigned long) le32atoh(&buf[2 in esci_request_extended_identity() 543 esci_request_scanner_status(SANE_Handle handle, unsigned char *buf) esci_request_scanner_status() argument 642 esci_set_scanning_parameter(SANE_Handle handle, unsigned char *buf) esci_set_scanning_parameter() argument 694 esci_get_scanning_parameter(SANE_Handle handle, unsigned char *buf) esci_get_scanning_parameter() argument 752 unsigned char buf[64]; esci_enable_infrared() local 786 esci_request_command_parameter(SANE_Handle handle, unsigned char *buf) esci_request_command_parameter() argument 840 unsigned char *buf; esci_request_focus_position() local 880 unsigned char *buf; esci_request_push_button_status() local 911 esci_request_identity(SANE_Handle handle, unsigned char **buf, size_t *len) esci_request_identity() argument 932 esci_request_identity2(SANE_Handle handle, unsigned char **buf) esci_request_identity2() argument 1024 unsigned char *buf; esci_request_extended_status() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | gas.c | 20 struct wpabuf *buf; in gas_build_req() local 22 buf = wpabuf_alloc(100 + size); in gas_build_req() 23 if (buf == NULL) in gas_build_req() 26 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in gas_build_req() 27 wpabuf_put_u8(buf, action); in gas_build_req() 28 wpabuf_put_u8(buf, dialog_token); in gas_build_req() 30 return buf; in gas_build_req() 51 struct wpabuf *buf; in gas_build_resp() local 53 buf = wpabuf_alloc(100 + size); in gas_build_resp() 54 if (buf in gas_build_resp() 99 gas_add_adv_proto_anqp(struct wpabuf *buf, u8 query_resp_len_limit, u8 pame_bi) gas_add_adv_proto_anqp() argument 114 struct wpabuf *buf; gas_anqp_build_initial_req() local 131 struct wpabuf *buf; gas_anqp_build_initial_resp() local 151 struct wpabuf *buf; gas_anqp_build_initial_resp_buf() local 172 struct wpabuf *buf; gas_anqp_build_comeback_resp() local 193 struct wpabuf *buf; gas_anqp_build_comeback_resp_buf() local 217 gas_anqp_set_len(struct wpabuf *buf) gas_anqp_set_len() argument 255 gas_anqp_add_element(struct wpabuf *buf, u16 info_id) gas_anqp_add_element() argument 270 gas_anqp_set_element_len(struct wpabuf *buf, u8 *len_pos) gas_anqp_set_element_len() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | gas.c | 20 struct wpabuf *buf; in gas_build_req() local 22 buf = wpabuf_alloc(100 + size); in gas_build_req() 23 if (buf == NULL) in gas_build_req() 26 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); in gas_build_req() 27 wpabuf_put_u8(buf, action); in gas_build_req() 28 wpabuf_put_u8(buf, dialog_token); in gas_build_req() 30 return buf; in gas_build_req() 51 struct wpabuf *buf; in gas_build_resp() local 53 buf = wpabuf_alloc(100 + size); in gas_build_resp() 54 if (buf in gas_build_resp() 99 gas_add_adv_proto_anqp(struct wpabuf *buf, u8 query_resp_len_limit, u8 pame_bi) gas_add_adv_proto_anqp() argument 114 struct wpabuf *buf; gas_anqp_build_initial_req() local 131 struct wpabuf *buf; gas_anqp_build_initial_resp() local 151 struct wpabuf *buf; gas_anqp_build_initial_resp_buf() local 172 struct wpabuf *buf; gas_anqp_build_comeback_resp() local 193 struct wpabuf *buf; gas_anqp_build_comeback_resp_buf() local 217 gas_anqp_set_len(struct wpabuf *buf) gas_anqp_set_len() argument 255 gas_anqp_add_element(struct wpabuf *buf, u16 info_id) gas_anqp_add_element() argument 270 gas_anqp_set_element_len(struct wpabuf *buf, u8 *len_pos) gas_anqp_set_element_len() argument [all...] |
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxil_buffer_test.c | 31 struct dxil_buffer buf; in init() local 32 dxil_buffer_init(&buf, 2); in init() 33 assert(!buf.buf); in init() 34 assert(!buf.buf_bits); in init() 63 struct dxil_buffer buf; in align() local 64 dxil_buffer_init(&buf, 2); in align() 65 assert_blob_data(&buf, NULL, 0); in align() 67 dxil_buffer_init(&buf, 2); in align() 68 dxil_buffer_emit_bits(&buf, in align() 81 struct dxil_buffer buf; emit_bits() local 109 struct dxil_buffer buf; emit_vbr_bits() local [all...] |