/external/clang/test/Analysis/ |
H A D | undef-buffers.c | 7 char buf[2]; local 8 buf[0] = 'a'; 9 return buf[1]; // expected-warning{{Undefined}} 13 char buf[2]; local 14 buf[1] = 'a'; 15 return buf[0]; // expected-warning{{Undefined}} 20 char buf[2]; local 22 buf[0] = 'a'; 24 return buf[1]; // expected-warning{{Undefined}} 26 return buf[ 30 char *buf = malloc(2); local 38 char *buf = malloc(2); local [all...] |
H A D | PR7218.c | 3 char buf[2]; local 4 buf[0] = a; 5 return buf[1]; // expected-warning {{Undefined or garbage value returned to caller}}
|
H A D | out-of-bounds.c | 7 int buf[100]; local 8 buf[100] = 1; // expected-warning{{Out of bound memory access}} 12 int buf[100]; local 13 buf[99] = 1; // no-warning 36 int buf[100]; local 37 int *p = buf; 42 int buf[100]; local 43 int *p = buf; 52 int buf[100]; local 53 int *p = buf; 59 int buf[100]; local 66 int buf[100]; local 73 int buf[100]; local 83 int buf[100]; local 92 int buf[100]; local 102 int buf[100]; local 113 int buf[100][100]; local 122 int buf[100][100]; local 127 int buf[100][100]; local 135 int buf[100]; local 144 int buf[100]; local 153 int *buf = get_symbolic(); local [all...] |
/external/valgrind/main/none/tests/x86/ |
H A D | cpuid_c.c | 5 extern void get_cpuid0 ( unsigned int* buf ); 6 extern void get_cpuid1 ( unsigned int* buf ); 8 unsigned int buf[4]; variable 12 get_cpuid0(&buf[0]); 14 buf[0], buf[1], buf[2], buf[3] ); 16 get_cpuid1(&buf[0]); 18 buf[ [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | getwd.c | 8 char* getwd(char* buf) { argument 9 return ki_getwd(buf);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_dynarray.h | 47 util_dynarray_init(struct util_dynarray *buf) argument 49 memset(buf, 0, sizeof(*buf)); 53 util_dynarray_fini(struct util_dynarray *buf) argument 55 if(buf->data) 57 FREE(buf->data); 58 util_dynarray_init(buf); 64 util_dynarray_resize(struct util_dynarray *buf, unsigned newsize) argument 67 if(newsize > buf->capacity) 69 unsigned newcap = buf 82 util_dynarray_grow(struct util_dynarray *buf, int diff) argument 88 util_dynarray_trim(struct util_dynarray *buf) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_dynarray.h | 47 util_dynarray_init(struct util_dynarray *buf) argument 49 memset(buf, 0, sizeof(*buf)); 53 util_dynarray_fini(struct util_dynarray *buf) argument 55 if(buf->data) 57 FREE(buf->data); 58 util_dynarray_init(buf); 64 util_dynarray_resize(struct util_dynarray *buf, unsigned newsize) argument 67 if(newsize > buf->capacity) 69 unsigned newcap = buf 82 util_dynarray_grow(struct util_dynarray *buf, int diff) argument 88 util_dynarray_trim(struct util_dynarray *buf) argument [all...] |
/external/valgrind/main/none/tests/s390x/ |
H A D | stmg.c | 8 char buf[24]; local 15 :"=m" (buf) 20 "lgr 3, %0\n\t" // buf 23 : : "a" (buf) 30 char buf[64]; local 38 :"=m" (buf) 43 "lgr 3, %0\n\t" // buf 46 : : "a" (buf)
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
H A D | BaseDexBuffer.java | 39 @Nonnull /* package private */ final byte[] buf; field in class:BaseDexBuffer 41 public BaseDexBuffer(@Nonnull byte[] buf) { argument 42 this.buf = buf; 46 byte[] buf = this.buf; 47 int result = (buf[offset] & 0xff) | 48 ((buf[offset+1] & 0xff) << 8) | 49 ((buf[offset+2] & 0xff) << 16) | 50 ((buf[offse [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_printf_test.cc | 23 char buf[1024]; local 24 uptr len = internal_snprintf(buf, sizeof(buf), 30 EXPECT_EQ(len, strlen(buf)); 34 "0x00000123e_string_r", buf); 37 "0x000000000123e_string_r", buf); 42 char buf[] = "123456789"; local 43 uptr len = internal_snprintf(buf, 4, "%s", "abcdef"); // NOLINT 45 EXPECT_STREQ("abc", buf); 46 EXPECT_EQ(buf[ 56 char buf[] = "123456789"; local 69 char buf[] = "123456789"; local 88 char buf[] = "123456789"; local 113 char buf[1024]; local 147 char buf[1024]; local [all...] |
/external/libcxx/test/input.output/string.streams/stringbuf/stringbuf.members/ |
H A D | str.pass.cpp | 23 std::stringbuf buf("testing"); 24 assert(buf.str() == "testing"); 25 buf.str("another test"); 26 assert(buf.str() == "another test"); 29 std::wstringbuf buf(L"testing"); 30 assert(buf.str() == L"testing"); 31 buf.str(L"another test"); 32 assert(buf.str() == L"another test");
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | byteorder_unittest.cc | 20 uint8 buf[8] = { 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u }; local 21 Set8(buf, 0, 0xfb); 22 Set8(buf, 1, 0x12); 23 EXPECT_EQ(0xfb, buf[0]); 24 EXPECT_EQ(0x12, buf[1]); 25 SetBE16(buf, 0x1234); 26 EXPECT_EQ(0x12, buf[0]); 27 EXPECT_EQ(0x34, buf[1]); 28 SetLE16(buf, 0x1234); 29 EXPECT_EQ(0x34, buf[ 63 uint8 buf[8]; local [all...] |
/external/compiler-rt/test/msan/Linux/ |
H A D | syscalls.cc | 21 char buf[1000]; local 24 memset(buf, 0, sizeof(buf)); 25 __msan_unpoison(buf, sizeof(buf)); 26 __sanitizer_syscall_pre_recvmsg(0, buf, 0); 27 __sanitizer_syscall_pre_rt_sigpending(buf, kTen); 28 __sanitizer_syscall_pre_getdents(0, buf, kTen); 29 __sanitizer_syscall_pre_getdents64(0, buf, kTen); 31 __msan_unpoison(buf, sizeo [all...] |
/external/chromium_org/content/browser/loader/ |
H A D | resource_buffer_unittest.cc | 11 scoped_refptr<ResourceBuffer> buf = new ResourceBuffer(); local 12 EXPECT_TRUE(buf->Initialize(100, 5, 10)); 13 EXPECT_TRUE(buf->CanAllocate()); 18 char* ptr = buf->Allocate(&size); 21 EXPECT_TRUE(buf->CanAllocate()); 23 EXPECT_EQ(0, buf->GetLastAllocationOffset()); 25 buf->ShrinkLastAllocation(2); // Less than our min allocation size. 26 EXPECT_EQ(0, buf->GetLastAllocationOffset()); 27 EXPECT_TRUE(buf->CanAllocate()); 33 char* ptr = buf 48 scoped_refptr<ResourceBuffer> buf = new ResourceBuffer(); local 64 scoped_refptr<ResourceBuffer> buf = new ResourceBuffer(); local 85 scoped_refptr<ResourceBuffer> buf = new ResourceBuffer(); local 119 scoped_refptr<ResourceBuffer> buf = new ResourceBuffer(); local [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | strerror_r_test.cc | 10 char buf[1024]; local 11 char *res = (char *)strerror_r(300, buf, sizeof(buf));
|
/external/openssl/crypto/ |
H A D | cversion.c | 72 static char buf[sizeof(DATE)+11]; local 74 BIO_snprintf(buf,sizeof buf,"built on: %s",DATE); 75 return(buf); 83 static char buf[sizeof(CFLAGS)+11]; local 85 BIO_snprintf(buf,sizeof buf,"compiler: %s",CFLAGS); 86 return(buf); 94 static char buf[sizeof(PLATFORM)+11]; local 96 BIO_snprintf(buf,sizeo [all...] |
/external/libunwind/tests/ |
H A D | Lrs-race.c | 49 void *buf[20]; local 52 if ((n = unw_backtrace (buf, 20)) < 3) 59 void *buf[20]; local 62 if ((n = unw_backtrace (buf, 20)) < 3) 69 void *buf[20]; local 72 if ((n = unw_backtrace (buf, 20)) < 3) 79 void *buf[20]; local 82 if ((n = unw_backtrace (buf, 20)) < 3) 89 void *buf[20]; local 92 if ((n = unw_backtrace (buf, 2 99 void *buf[20]; local 109 void *buf[20]; local 119 void *buf[20]; local 129 void *buf[20]; local 139 void *buf[20]; local 149 void *buf[20]; local 159 void *buf[20]; local 169 void *buf[20]; local 179 void *buf[20]; local 189 void *buf[20]; local 199 void *buf[20]; local 209 void *buf[20]; local 219 void *buf[20]; local 229 void *buf[20]; local 239 void *buf[20]; local 249 void *buf[20]; local 259 void *buf[20]; local 269 void *buf[20]; local 279 void *buf[20]; local 289 void *buf[20]; local 299 void *buf[20]; local 309 void *buf[20]; local 319 void *buf[20]; local 329 void *buf[20]; local 339 void *buf[20]; local 349 void *buf[20]; local 359 void *buf[20]; local 369 void *buf[20]; local 379 void *buf[20]; local 389 void *buf[20]; local 399 void *buf[20]; local 409 void *buf[20]; local 419 void *buf[20]; local 429 void *buf[20]; local 439 void *buf[20]; local 449 void *buf[20]; local 459 void *buf[20]; local 469 void *buf[20]; local 479 void *buf[20]; local 489 void *buf[20]; local 499 void *buf[20]; local 509 void *buf[20]; local 519 void *buf[20]; local 529 void *buf[20]; local 539 void *buf[20]; local 549 void *buf[20]; local 559 void *buf[20]; local 569 void *buf[20]; local 579 void *buf[20]; local 589 void *buf[20]; local 599 void *buf[20]; local 609 void *buf[20]; local 619 void *buf[20]; local 629 void *buf[20]; local 639 void *buf[20]; local 649 void *buf[20]; local 659 void *buf[20]; local 669 void *buf[20]; local 679 void *buf[20]; local 689 void *buf[20]; local 699 void *buf[20]; local 709 void *buf[20]; local 719 void *buf[20]; local 729 void *buf[20]; local 739 void *buf[20]; local 749 void *buf[20]; local 759 void *buf[20]; local 769 void *buf[20]; local 779 void *buf[20]; local 789 void *buf[20]; local 799 void *buf[20]; local 809 void *buf[20]; local 819 void *buf[20]; local 829 void *buf[20]; local 839 void *buf[20]; local 849 void *buf[20]; local 859 void *buf[20]; local 869 void *buf[20]; local 879 void *buf[20]; local 889 void *buf[20]; local 899 void *buf[20]; local 909 void *buf[20]; local 919 void *buf[20]; local 929 void *buf[20]; local 939 void *buf[20]; local 949 void *buf[20]; local 959 void *buf[20]; local 969 void *buf[20]; local 979 void *buf[20]; local 989 void *buf[20]; local 999 void *buf[20]; local 1009 void *buf[20]; local 1019 void *buf[20]; local 1029 void *buf[20]; local 1039 void *buf[20]; local 1049 void *buf[20]; local 1059 void *buf[20]; local 1069 void *buf[20]; local 1079 void *buf[20]; local 1089 void *buf[20]; local 1099 void *buf[20]; local 1109 void *buf[20]; local 1119 void *buf[20]; local 1129 void *buf[20]; local 1139 void *buf[20]; local 1149 void *buf[20]; local 1159 void *buf[20]; local 1169 void *buf[20]; local 1179 void *buf[20]; local 1189 void *buf[20]; local 1199 void *buf[20]; local 1209 void *buf[20]; local 1219 void *buf[20]; local 1229 void *buf[20]; local 1239 void *buf[20]; local 1249 void *buf[20]; local 1259 void *buf[20]; local 1269 void *buf[20]; local 1279 void *buf[20]; local 1289 void *buf[20]; local 1299 void *buf[20]; local 1309 void *buf[20]; local 1319 void *buf[20]; local 1329 void *buf[20]; local [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/rand/ |
H A D | rand.c | 18 int RAND_pseudo_bytes(uint8_t *buf, size_t len) { argument 19 return RAND_bytes(buf, len); 22 void RAND_seed(const void *buf, int num) {} argument 24 void RAND_add(const void *buf, int num, double entropy) {} argument
|
/external/libcxx/test/input.output/string.streams/stringbuf/stringbuf.cons/ |
H A D | default.pass.cpp | 23 std::stringbuf buf; local 24 assert(buf.str() == ""); 27 std::wstringbuf buf; local 28 assert(buf.str() == L"");
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | wpabuf.h | 12 /* wpabuf::buf is a pointer to external data */ 23 u8 *buf; /* pointer to the head of the buffer */ member in struct:wpabuf 29 int wpabuf_resize(struct wpabuf **buf, size_t add_len); 34 void wpabuf_free(struct wpabuf *buf); 35 void * wpabuf_put(struct wpabuf *buf, size_t len); 37 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len); 38 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3); 43 * @buf: wpabuf buffer 46 static inline size_t wpabuf_size(const struct wpabuf *buf) argument 48 return buf 56 wpabuf_len(const struct wpabuf *buf) argument 66 wpabuf_tailroom(const struct wpabuf *buf) argument 76 wpabuf_head(const struct wpabuf *buf) argument 81 wpabuf_head_u8(const struct wpabuf *buf) argument 91 wpabuf_mhead(struct wpabuf *buf) argument 96 wpabuf_mhead_u8(struct wpabuf *buf) argument 101 wpabuf_put_u8(struct wpabuf *buf, u8 data) argument 107 wpabuf_put_le16(struct wpabuf *buf, u16 data) argument 113 wpabuf_put_le32(struct wpabuf *buf, u32 data) argument 119 wpabuf_put_be16(struct wpabuf *buf, u16 data) argument 125 wpabuf_put_be24(struct wpabuf *buf, u32 data) argument 131 wpabuf_put_be32(struct wpabuf *buf, u32 data) argument 137 wpabuf_put_data(struct wpabuf *buf, const void *data, size_t len) argument 150 wpabuf_set(struct wpabuf *buf, const void *data, size_t len) argument [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | wpabuf.h | 12 /* wpabuf::buf is a pointer to external data */ 23 u8 *buf; /* pointer to the head of the buffer */ member in struct:wpabuf 29 int wpabuf_resize(struct wpabuf **buf, size_t add_len); 34 void wpabuf_free(struct wpabuf *buf); 35 void * wpabuf_put(struct wpabuf *buf, size_t len); 37 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len); 38 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3); 43 * @buf: wpabuf buffer 46 static inline size_t wpabuf_size(const struct wpabuf *buf) argument 48 return buf 56 wpabuf_len(const struct wpabuf *buf) argument 66 wpabuf_tailroom(const struct wpabuf *buf) argument 76 wpabuf_head(const struct wpabuf *buf) argument 81 wpabuf_head_u8(const struct wpabuf *buf) argument 91 wpabuf_mhead(struct wpabuf *buf) argument 96 wpabuf_mhead_u8(struct wpabuf *buf) argument 101 wpabuf_put_u8(struct wpabuf *buf, u8 data) argument 107 wpabuf_put_le16(struct wpabuf *buf, u16 data) argument 113 wpabuf_put_le32(struct wpabuf *buf, u32 data) argument 119 wpabuf_put_be16(struct wpabuf *buf, u16 data) argument 125 wpabuf_put_be24(struct wpabuf *buf, u32 data) argument 131 wpabuf_put_be32(struct wpabuf *buf, u32 data) argument 137 wpabuf_put_data(struct wpabuf *buf, const void *data, size_t len) argument 150 wpabuf_set(struct wpabuf *buf, const void *data, size_t len) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | wpabuf.h | 12 /* wpabuf::buf is a pointer to external data */ 23 u8 *buf; /* pointer to the head of the buffer */ member in struct:wpabuf 29 int wpabuf_resize(struct wpabuf **buf, size_t add_len); 34 void wpabuf_free(struct wpabuf *buf); 35 void * wpabuf_put(struct wpabuf *buf, size_t len); 37 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len); 38 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3); 43 * @buf: wpabuf buffer 46 static inline size_t wpabuf_size(const struct wpabuf *buf) argument 48 return buf 56 wpabuf_len(const struct wpabuf *buf) argument 66 wpabuf_tailroom(const struct wpabuf *buf) argument 76 wpabuf_head(const struct wpabuf *buf) argument 81 wpabuf_head_u8(const struct wpabuf *buf) argument 91 wpabuf_mhead(struct wpabuf *buf) argument 96 wpabuf_mhead_u8(struct wpabuf *buf) argument 101 wpabuf_put_u8(struct wpabuf *buf, u8 data) argument 107 wpabuf_put_le16(struct wpabuf *buf, u16 data) argument 113 wpabuf_put_le32(struct wpabuf *buf, u32 data) argument 119 wpabuf_put_be16(struct wpabuf *buf, u16 data) argument 125 wpabuf_put_be24(struct wpabuf *buf, u32 data) argument 131 wpabuf_put_be32(struct wpabuf *buf, u32 data) argument 137 wpabuf_put_data(struct wpabuf *buf, const void *data, size_t len) argument 150 wpabuf_set(struct wpabuf *buf, const void *data, size_t len) argument [all...] |
/external/chromium_org/base/strings/ |
H A D | safe_sprintf_unittest.cc | 27 char buf[2] = { 'X', 'X' }; local 30 EXPECT_EQ(-1, SafeSNPrintf(buf, static_cast<size_t>(-1), "")); 31 EXPECT_EQ('X', buf[0]); 32 EXPECT_EQ('X', buf[1]); 35 EXPECT_EQ(-1, SafeSNPrintf(buf, 0, "")); 36 EXPECT_EQ('X', buf[0]); 37 EXPECT_EQ('X', buf[1]); 40 EXPECT_EQ(0, SafeSNPrintf(buf, 1, "")); 41 EXPECT_EQ(0, buf[0]); 42 EXPECT_EQ('X', buf[ 63 char ref[20], buf[20]; local 127 char ref[20], buf[20]; local 189 char buf[20]; local 219 char buf[12]; local 270 char buf[40]; local 354 PrintLongString(char* buf, size_t sz) argument 477 char buf[sizeof(ref)]; local 491 char buf[sizeof(ref)]; local 499 char buf[256]; local 511 char buf[40], fmt[40]; local 697 char buf[] = { 'X', 'X', 'X', 'X' }; local 720 char buf[40]; local 744 char buf[40]; local [all...] |
/external/wpa_supplicant_8/hostapd/src/p2p/ |
H A D | p2p_build.c | 17 void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token) argument 19 wpabuf_put_u8(buf, WLAN_ACTION_VENDOR_SPECIFIC); 20 wpabuf_put_be32(buf, P2P_IE_VENDOR_TYPE); 22 wpabuf_put_u8(buf, subtype); /* OUI Subtype */ 23 wpabuf_put_u8(buf, dialog_token); 28 void p2p_buf_add_public_action_hdr(struct wpabuf *buf, u8 subtype, argument 31 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); 32 wpabuf_put_u8(buf, WLAN_PA_VENDOR_SPECIFIC); 33 wpabuf_put_be32(buf, P2P_IE_VENDOR_TYPE); 35 wpabuf_put_u8(buf, subtyp 41 p2p_buf_add_ie_hdr(struct wpabuf *buf) argument 54 p2p_buf_update_ie_hdr(struct wpabuf *buf, u8 *len) argument 61 p2p_buf_add_capability(struct wpabuf *buf, u8 dev_capab, u8 group_capab) argument 73 p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent) argument 84 p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) argument 98 p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) argument 112 p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, struct p2p_channels *chan) argument 137 p2p_buf_add_status(struct wpabuf *buf, u8 status) argument 147 p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p, struct p2p_device *peer) argument 203 p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) argument 213 p2p_buf_add_config_timeout(struct wpabuf *buf, u8 go_timeout, u8 client_timeout) argument 226 p2p_buf_add_intended_addr(struct wpabuf *buf, const u8 *interface_addr) argument 237 p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid) argument 248 p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len) argument 262 p2p_buf_add_invitation_flags(struct wpabuf *buf, u8 flags) argument 272 p2p_buf_add_noa_desc(struct wpabuf *buf, struct p2p_noa_desc *desc) argument 284 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) argument 298 p2p_buf_add_ext_listen_timing(struct wpabuf *buf, u16 period, u16 interval) argument 311 p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p) argument 328 p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, u8 oper_class, u8 channel, enum p2p_role_indication role) argument 345 p2p_add_wps_string(struct wpabuf *buf, enum wps_attribute attr, const char *val) argument 375 p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, int all_attr) argument [all...] |
/external/wpa_supplicant_8/src/p2p/ |
H A D | p2p_build.c | 17 void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token) argument 19 wpabuf_put_u8(buf, WLAN_ACTION_VENDOR_SPECIFIC); 20 wpabuf_put_be32(buf, P2P_IE_VENDOR_TYPE); 22 wpabuf_put_u8(buf, subtype); /* OUI Subtype */ 23 wpabuf_put_u8(buf, dialog_token); 28 void p2p_buf_add_public_action_hdr(struct wpabuf *buf, u8 subtype, argument 31 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); 32 wpabuf_put_u8(buf, WLAN_PA_VENDOR_SPECIFIC); 33 wpabuf_put_be32(buf, P2P_IE_VENDOR_TYPE); 35 wpabuf_put_u8(buf, subtyp 41 p2p_buf_add_ie_hdr(struct wpabuf *buf) argument 54 p2p_buf_update_ie_hdr(struct wpabuf *buf, u8 *len) argument 61 p2p_buf_add_capability(struct wpabuf *buf, u8 dev_capab, u8 group_capab) argument 73 p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent) argument 84 p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) argument 98 p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) argument 112 p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, struct p2p_channels *chan) argument 137 p2p_buf_add_status(struct wpabuf *buf, u8 status) argument 147 p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p, struct p2p_device *peer) argument 203 p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) argument 213 p2p_buf_add_config_timeout(struct wpabuf *buf, u8 go_timeout, u8 client_timeout) argument 226 p2p_buf_add_intended_addr(struct wpabuf *buf, const u8 *interface_addr) argument 237 p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid) argument 248 p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len) argument 262 p2p_buf_add_invitation_flags(struct wpabuf *buf, u8 flags) argument 272 p2p_buf_add_noa_desc(struct wpabuf *buf, struct p2p_noa_desc *desc) argument 284 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) argument 298 p2p_buf_add_ext_listen_timing(struct wpabuf *buf, u16 period, u16 interval) argument 311 p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p) argument 328 p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, u8 oper_class, u8 channel, enum p2p_role_indication role) argument 345 p2p_add_wps_string(struct wpabuf *buf, enum wps_attribute attr, const char *val) argument 375 p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, int all_attr) argument [all...] |