Searched refs:buf (Results 126 - 150 of 181) sorted by relevance

12345678

/bionic/libc/dns/include/
H A Dhostent.h52 char *buf; member in struct:getnamaddr
/bionic/libc/kernel/uapi/linux/
H A Di2c.h34 __u8 * buf; member in struct:i2c_msg
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dvswscanf.c46 eofread(void *cookie, char *buf, int len) argument
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Di2c.h34 __u8 * buf; member in struct:i2c_msg
/bionic/tests/
H A Dutils.h216 char buf[BUFSIZ]; local
218 while ((bytes_read = TEMP_FAILURE_RETRY(read(fds[0], buf, sizeof(buf)))) > 0) {
219 output.append(buf, bytes_read);
H A Dbuffer_tests.cpp239 uint8_t *buf = new uint8_t[3*max_test_size]; local
248 buf+FENCEPOST_LENGTH, g_single_aligns[i][0], g_single_aligns[i][1]));
259 delete[] buf;
364 uint8_t* buf = &memory[pagesize-i]; local
366 test_func(buf, i);
H A Dgtest_main.cpp774 char buf[1024]; local
775 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(child_proc.child_read_fd, buf, sizeof(buf) - 1));
777 buf[bytes_read] = '\0';
778 testcase.GetTest(test_id).AppendTestOutput(buf);
854 char buf[1024]; local
855 snprintf(buf, sizeof(buf), "%s killed because of timeout at %" PRId64 " ms.\n",
857 testcase.GetTest(test_id).AppendTestOutput(buf);
862 char buf[102 local
871 char buf[1024]; local
[all...]
H A Dsys_select_test.cpp70 char buf[sizeof(DELAY_MSG)]; local
71 ASSERT_EQ(static_cast<ssize_t>(sizeof(DELAY_MSG)), read(fd, buf, sizeof(DELAY_MSG)));
72 ASSERT_STREQ(DELAY_MSG, buf);
H A Dsys_ptrace_test.cpp401 char buf; local
414 TEMP_FAILURE_RETRY(read(worker_pipe_read.get(), &buf, sizeof(buf)));
418 char buf; local
420 TEMP_FAILURE_RETRY(read(worker_pipe_setup_read.get(), &buf, sizeof(buf)));
H A Dsys_sem_test.cpp110 arg.buf = &i1;
H A Dwchar_test.cpp551 wchar_t buf[64]; local
553 EXPECT_EQ(24U, wcsftime(buf, sizeof(buf), L"%c", &t));
554 EXPECT_STREQ(L"Sun Mar 10 00:00:00 2100", buf);
555 EXPECT_EQ(24U, wcsftime_l(buf, sizeof(buf), L"%c", &t, LC_GLOBAL_LOCALE));
556 EXPECT_STREQ(L"Sun Mar 10 00:00:00 2100", buf);
H A Dmalloc_test.cpp320 char* buf; local
322 FILE* memstream = open_memstream(&buf, &bufsize);
328 ASSERT_EQ(tinyxml2::XML_SUCCESS, doc.Parse(buf));
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Di2c.h34 __u8 * buf; member in struct:i2c_msg
/bionic/libc/dns/net/
H A Dgetnameinfo.c395 ip6_sa2str(const struct sockaddr_in6 *sa6, char *buf, size_t bufsiz, int flags) argument
402 assert(buf != NULL);
409 n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id);
420 char *p = if_indextoname(ifindex, buf);
427 n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id);
/bionic/linker/
H A Dlinker_config.cpp174 char buf[1024]; local
175 async_safe_format_buffer(buf, sizeof(buf), "%s:%zu: error: %s", file, lineno, msg.c_str());
177 return std::string(buf);
376 char buf[16]; local
377 async_safe_format_buffer(buf, sizeof(buf), "%d", target_sdk_version_);
378 params.push_back({ "SDK_VER", buf });
H A Dlinker.cpp359 std::vector<char> buf(PATH_MAX), proc_self_fd(PATH_MAX);
361 if (readlink(&proc_self_fd[0], &buf[0], buf.size()) == -1) {
366 *realpath = &buf[0];
961 char buf[512]; local
962 if (strlcpy(buf, path, sizeof(buf)) >= sizeof(buf)) {
967 buf[separator - path] = '\0';
969 const char* zip_path = buf;
1010 format_path(char* buf, size_t buf_size, const char* path, const char* name) argument
1025 char buf[512]; local
[all...]
/bionic/libc/tzcode/
H A Dlocaltime.c353 char buf[2 * sizeof(struct tzhead) + 2 * sizeof (struct state) member in union:input_buffer
428 nread = TEMP_FAILURE_RETRY(read(fid, up->buf, entry_length));
430 nread = read(fid, up->buf, sizeof up->buf);
446 char const *p = up->buf + tzheadsize;
572 nread -= p - up->buf;
573 memmove(up->buf, p, nread);
576 up->buf[0] == '\n' && up->buf[nread - 1] == '\n' &&
580 up->buf[nrea
1724 ctime_r(const time_t *timep, char *buf) argument
[all...]
/bionic/libc/kernel/uapi/drm/
H A Dvia_drm.h127 char __user * buf; member in struct:_drm_via_cmdbuffer
/bionic/libc/kernel/uapi/linux/android/
H A Dbinder.h137 __u8 buf[8]; member in union:binder_transaction_data::__anon246
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/
H A Dvia_drm.h127 char __user * buf; member in struct:_drm_via_cmdbuffer
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/android/
H A Dbinder.h137 __u8 buf[8]; member in union:binder_transaction_data::__anon1393
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/
H A Dvia_drm.h127 char __user * buf; member in struct:_drm_via_cmdbuffer
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/android/
H A Dbinder.h137 __u8 buf[8]; member in union:binder_transaction_data::__anon2663
/bionic/libc/upstream-netbsd/lib/libc/isc/
H A Dev_streams.c56 evConsIovec(void *buf, size_t cnt) { argument
60 ret.iov_base = buf;
/bionic/libc/dns/resolv/
H A Dres_cache.c225 _bprint_b( char* p, char* end, const char* buf, int len ) argument
235 memcpy( p, buf, avail );
1521 char* buf; local
1534 buf = (char *)malloc(fileLen+1);
1535 if (buf != NULL) {
1537 fread(buf, fileLen, 1, fp);
1538 XLOG("%s\n", buf);
1539 free(buf);

Completed in 1636 milliseconds

12345678