/external/libnetfilter_conntrack/examples/ |
nfct-mnl-event.c | 13 char buf[4096]; local 33 nfct_snprintf(buf, sizeof(buf), ct, 35 printf("%s\n", buf); 45 char buf[MNL_SOCKET_BUFFER_SIZE]; local 63 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); 69 ret = mnl_cb_run(buf, ret, 0, 0, data_cb, NULL);
|
nfexp-mnl-event.c | 13 char buf[4096]; local 33 nfexp_snprintf(buf, sizeof(buf), exp, 35 printf("%s\n", buf); 45 char buf[MNL_SOCKET_BUFFER_SIZE]; local 63 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); 69 ret = mnl_cb_run(buf, ret, 0, 0, data_cb, NULL);
|
/external/libnetfilter_conntrack/utils/ |
conntrack_dump.c | 12 char buf[1024]; local 14 nfct_snprintf(buf, sizeof(buf), ct, NFCT_T_UNKNOWN, NFCT_O_DEFAULT, NFCT_OF_SHOW_LAYER3 | NFCT_OF_TIMESTAMP); 15 printf("%s\n", buf);
|
conntrack_dump_filter.c | 12 char buf[1024]; local 14 nfct_snprintf(buf, sizeof(buf), ct, NFCT_T_UNKNOWN, NFCT_O_DEFAULT, NFCT_OF_SHOW_LAYER3 | NFCT_OF_TIMESTAMP); 15 printf("%s\n", buf);
|
conntrack_events.c | 13 char buf[1024]; local 15 nfct_snprintf(buf, sizeof(buf), ct, type, NFCT_O_XML, NFCT_OF_TIME | NFCT_OF_TIMESTAMP); 16 printf("%s\n", buf);
|
conntrack_get.c | 14 char buf[1024]; local 16 nfct_snprintf(buf, sizeof(buf), ct, NFCT_T_UNKNOWN, NFCT_O_DEFAULT, NFCT_OF_SHOW_LAYER3); 17 printf("%s\n", buf);
|
ctexp_events.c | 13 char buf[1024]; local 15 nfct_snprintf(buf, sizeof(buf), ct, type, NFCT_O_PLAIN, NFCT_OF_TIME); 16 printf("[CT] %s\n", buf); 27 char buf[1024]; local 29 nfexp_snprintf(buf, 1024, exp, type, NFCT_O_DEFAULT, 0); 30 printf("[EXP] %s\n", buf);
|
expect_dump.c | 12 char buf[1024]; local 14 nfexp_snprintf(buf, 1024, exp, NFCT_T_UNKNOWN, NFCT_O_DEFAULT, 0); 15 printf("%s\n", buf);
|
expect_events.c | 13 char buf[1024]; local 15 nfexp_snprintf(buf, 1024, exp, type, NFCT_O_XML, 0); 16 printf("%s\n", buf);
|
expect_get.c | 13 char buf[1024]; local 15 nfexp_snprintf(buf, 1024, exp, NFCT_T_UNKNOWN, NFCT_O_DEFAULT, 0); 16 printf("%s\n", buf);
|
/external/libvpx/libvpx/ |
md5_utils.h | 35 UWORD32 buf[4]; member in struct:MD5Context 41 void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len); 43 void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
|
vpxstats.h | 26 vpx_fixed_buf_t buf; member in struct:__anon26301
|
/external/llvm/unittests/ADT/ |
SmallPtrSetTest.cpp | 20 int buf[8]; local 22 buf[i] = 0; 25 s1.insert(&buf[0]); 26 s1.insert(&buf[1]); 29 (s2 = s1).insert(&buf[2]); 32 (s2 = s2).insert(&buf[3]); 38 EXPECT_TRUE(s1.count(&buf[i])); 40 EXPECT_FALSE(s1.count(&buf[i])); 45 int buf[8]; local 46 for(i=0; i<8; ++i) buf[i]=0 [all...] |
/external/ltp/include/lapi/ |
semun.h | 28 struct semid_ds *buf; /* buffer for IPC_STAT, IPC_SET */ member in union:semun
|
/external/ltp/lib/tests/ |
tst_safe_macros.c | 18 char buf[10]; local 21 buf[9] = '\0'; 30 SAFE_READ(cleanup, 0, fd, buf, 9); 31 printf("buf: %s\n", buf); 32 SAFE_READ(cleanup, 1, fd, buf, 9); 33 printf("buf: %s\n", buf); 34 SAFE_WRITE(cleanup, 0, -1, buf, 9); 35 SAFE_WRITE(NULL, 0, fd, buf, 9) [all...] |
/external/ltp/lib/ |
tst_status.c | 24 static char buf[32]; variable 28 snprintf(buf, sizeof(buf), "exited with %i", WEXITSTATUS(status)); 30 return buf; 35 snprintf(buf, sizeof(buf), "killed by %s", tst_strsig(status)); 37 return buf; 42 snprintf(buf, sizeof(buf), "invalid status 0x%x", status); 44 return buf; [all...] |
/external/ltp/testcases/kernel/fs/fs_di/ |
create_datafile.c | 43 char buf[BSIZE]; local 54 buf[0] = 'A'; 56 buf[i] = buf[i - 1] + 1; 57 buf[BSIZE - 1] = 'Z'; 63 if (write(fd, buf, BSIZE) == -1)
|
/external/ltp/testcases/kernel/fs/mongo/ |
mongo_read.c | 21 char *buf; local 30 buf = malloc(bufsize); 31 if (buf == 0) { 47 while ((rd = read(fd, buf, bufsize)) == bufsize) ; 55 free(buf);
|
/external/ltp/testcases/kernel/security/filecaps/ |
print_caps.c | 48 char buf[2000]; local 64 snprintf(buf, 2000, "%d.%s", seqno, cap_to_text(cap, NULL)); 65 write(fd, buf, strlen(buf) + 1);
|
/external/ltp/testcases/kernel/syscalls/read/ |
read01.c | 40 static char buf[SIZE]; variable 46 TEST(read(fd, buf, SIZE)); 56 memset(buf, '*', SIZE); 58 SAFE_WRITE(1, fd, buf, SIZE);
|
/external/ltp/testcases/kernel/syscalls/sysfs/ |
sysfs02.c | 82 char buf[40]; /* 40 bytes suffice to store fs name */ local 92 /*option 2 buf holds fs name */ 93 TEST(ltp_syscall(__NR_sysfs, 2, 0, buf));
|
/external/ltp/testcases/network/nfs/nfs_stress/ |
nfs04_create_file.c | 43 char buf[BSIZE]; local 54 buf[0] = 'A'; 56 buf[i] = buf[i - 1] + 1; 57 buf[BSIZE - 1] = 'Z'; 63 if (write(fd, buf, BSIZE) == -1)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/ |
10-1.c | 41 char buf[BUF_SIZE]; local 48 memset(buf, 0xaa, BUF_SIZE); 51 aiocb.aio_buf = buf;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/ |
8-1.c | 41 char buf[BUF_SIZE]; local 48 memset(buf, 0xaa, BUF_SIZE); 51 aiocb.aio_buf = buf;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
1-1.c | 42 char *buf; local 56 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0); 57 if (buf == MAP_FAILED) { 63 strcpy(buf, str); 72 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0); 73 if (buf == MAP_FAILED) { 80 if (strcmp(buf, str) == 0) {
|