HomeSort by relevance Sort by last modified time
    Searched defs:buf (Results 226 - 250 of 7209) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/tests/
stdio_ext_test.cpp 42 char buf[128]; local
43 fgets(buf, sizeof(buf), fp);
46 ASSERT_EQ(0, setvbuf(fp, buf, _IOFBF, 1));
49 ASSERT_EQ(0, setvbuf(fp, buf, _IOFBF, 8));
60 char buf[128]; local
61 ASSERT_EQ(0, setvbuf(fp, buf, _IOLBF, sizeof(buf)));
94 char buf[16]; local
95 char* s = fgets(buf, sizeof(buf), fp)
105 char buf[128]; local
    [all...]
sys_sendfile_test.cpp 39 char buf[3]; local
40 buf[2] = '\0';
41 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2)));
42 ASSERT_STREQ("ll", buf);
58 char buf[3]; local
59 buf[2] = '\0';
60 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2)));
61 ASSERT_STREQ("ll", buf);
sys_xattr_test.cpp 26 char buf[10]; local
28 ASSERT_EQ(4, getxattr(tf.filename, "user.foo", buf, sizeof(buf)));
29 ASSERT_STREQ("bar", buf);
30 buf[0] = '\0';
31 ASSERT_EQ(4, lgetxattr(tf.filename, "user.foo", buf, sizeof(buf)));
32 ASSERT_STREQ("bar", buf);
37 char buf[10]; local
39 ASSERT_EQ(4, fgetxattr(tf.fd, "user.foo", buf, sizeof(buf)))
45 char buf[10]; local
52 char buf[10]; local
59 char buf[10]; local
75 char buf[10]; local
93 char buf[10]; local
106 char buf[65536]; \/\/ 64kB is max possible xattr list size. See "man 7 xattr". local
115 char buf[65536]; \/\/ 64kB is max possible xattr list size. See "man 7 xattr". local
    [all...]
  /bootable/recovery/otafault/
test.cpp 27 char buf[8]; local
29 int readv = ota_read(fd, buf, 4);
  /cts/tests/tests/media/libmediandkjni/
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]);
  /device/generic/goldfish/wifi/wpa_supplicant_8_lib/
driver_cmd_nl80211.h 27 char* buf; member in struct:android_wifi_priv_cmd
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
dynload_atheos.c 29 char buf[512]; local
32 PyOS_snprintf(buf, sizeof(buf), "Failed to load %.200s: %.200s",
34 PyErr_SetString(PyExc_ImportError, buf);
  /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
BufFileInput.h 46 int* buf; // buffer member in class:BufFileInput
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
BufFileInput.h 46 int* buf; // buffer member in class:BufFileInput
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
tmpfile.c 66 char buf[sizeof(_PATH_TMP) + sizeof(TRAILER)]; local
68 (void)memcpy(buf, _PATH_TMP, sizeof(_PATH_TMP) - 1);
69 (void)memcpy(buf + sizeof(_PATH_TMP) - 1, TRAILER, sizeof(TRAILER));
74 fd = mkstemp(buf);
76 /* Changed from unlink(buf) because of differences between the behavior
  /external/adhd/cras/src/tests/
dumper_unittest.cc 25 char *buf; local
28 mem_dumper_get(dumper, &buf, &size);
29 EXPECT_STREQ("", buf);
32 mem_dumper_get(dumper, &buf, &size);
33 EXPECT_STREQ("hello 1\n", buf);
37 mem_dumper_get(dumper, &buf, &size);
38 EXPECT_STREQ("hello 1\nworld 2", buf);
42 mem_dumper_get(dumper, &buf, &size);
43 EXPECT_STREQ("", buf);
49 mem_dumper_get(dumper, &buf, &size)
    [all...]
  /external/autotest/client/deps/glbench/src/
md5.h 14 u32 buf[4]; member in struct:MD5Context
25 void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len);
  /external/autotest/client/site_tests/security_Minijail_seccomp/src/
fail.c 13 char buf[SIZE]; local
16 int nr = syscall(__NR_read, fd_z, buf, SIZE);
17 int nw = syscall(__NR_write, fd_n, buf, SIZE);
  /external/boringssl/src/decrepit/ssl/
ssl_decrepit.c 147 char buf[1024]; local
148 if (strlen(path) + strlen(dirent->d_name) + 2 > sizeof(buf)) {
153 int r = BIO_snprintf(buf, sizeof(buf), "%s/%s", path, dirent->d_name);
155 r >= (int)sizeof(buf) ||
156 !SSL_add_file_cert_subjects_to_stack(stack, buf)) {
  /external/boringssl/src/fipstools/
cavp_ecdsa2_pkv_test.cc 45 char buf[256]; local
46 ERR_error_string_n(ERR_get_error(), buf, sizeof(buf)); local
47 printf("%sResult = F (%s)\r\n\r\n", t->CurrentTestToString().c_str(), buf);
  /external/compiler-rt/test/asan/TestCases/
printf-1.c 20 char buf[4]; local
21 snprintf(buf, 1000, "qwe");
22 printf("%s\n", buf);
printf-4.c 14 volatile char buf[2]; local
16 sprintf((char *)buf, "%c %d %.3f %s\n", c, x, f, s);
18 fputs((const char *)buf, stderr);
  /external/compiler-rt/test/msan/Linux/
sunrpc.cc 21 char buf[100]; local
22 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE);
33 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_DECODE);
  /external/compiler-rt/test/msan/
dtor-member.cc 30 unsigned long buf[1]; local
31 assert(sizeof(Simple) <= sizeof(buf));
34 // memory location &buf. Since objects made in this way must be explicitly
37 Simple *s = new(&buf) Simple();
scandir.cc 41 char buf[1024]; local
42 snprintf(buf, sizeof(buf), "%s/%s", argv[1], "scandir_test_root/");
45 int res = scandir(buf, &d, my_filter, my_compar);
use-after-dtor.cc 29 unsigned long buf[1]; local
30 assert(sizeof(Simple) <= sizeof(buf));
32 Simple *s = new(&buf) Simple();
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
recv_msg_trunc.cc 19 char *buf = (char *)malloc(1); local
31 assert(recv(fd_1, buf, 1, MSG_TRUNC) != -1);
32 free(buf);
timerfd.cc 40 unsigned long long buf; local
41 res = read(fd, &buf, sizeof(buf));
43 assert(buf >= 1);
  /external/compiler-rt/test/sanitizer_common/TestCases/Posix/
getpass.cc 23 char buf[1024]; local
24 int res = read(master, buf, sizeof(buf));
25 write(1, buf, res);
27 while ((res = read(master, buf, sizeof(buf))) > 0) write(1, buf, res);
  /external/compiler-rt/test/tsan/Linux/
user_fopen.cc 26 char buf; local
27 fread(&buf, 1, 1, f);

Completed in 441 milliseconds

1 2 3 4 5 6 7 8 91011>>