/external/libese/tools/ese_relay/ |
D | ese_relay.c | 87 uint32_t tx_len, data_read; in main() local 127 for (data_read = 0; data_read < tx_len;) { in main() 128 printf("Reading payload: %u of %u remaining\n", data_read, tx_len); in main() 129 ssize_t bytes = read(client_fd, tx_buf + data_read, tx_len - data_read); in main() 135 data_read += bytes; in main() 196 for (data_read = 0; data_read < rx_len;) { in main() 198 write(client_fd, rx_buf + data_read, rx_len - data_read); in main() 204 data_read += bytes; in main()
|
/external/elfutils/libelf/ |
D | elf_newdata.c | 81 if (scn->data_read in elf_newdata() 86 if (scn->data_read && scn->data_list_rear == NULL) in elf_newdata() 100 if (scn->data_read == 0) in elf_newdata()
|
D | elf_rawdata.c | 54 || (scn->data_read != 0 && (scn->flags & ELF_F_FILEDATA) == 0)) in elf_rawdata() 63 if (scn->data_read == 0) in elf_rawdata()
|
D | elf_strptr.c | 155 if (strscn->rawdata_base == NULL && ! strscn->data_read) in elf_strptr() 159 if (strscn->rawdata_base == NULL && ! strscn->data_read in elf_strptr()
|
D | elf_getdata.c | 380 scn->data_read = 1; in __libelf_set_rawdata_wrlock() 508 if (scn->data_read == 0) in __elf_getdata_rdlock() 521 if (scn->data_read == 0 && __libelf_set_rawdata_wrlock (scn) != 0) in __elf_getdata_rdlock()
|
D | elf_newscn.c | 147 result->data_read = 1; in elf_newscn()
|
D | elf32_updatenull.c | 270 if (scn->data_read == 0 in __elfw2()
|
D | libelfP.h | 219 int data_read; /* Nonzero if the section was created by the member
|
/external/libbrillo/brillo/ |
D | cryptohome.cc | 48 unsigned int data_read = base::ReadFile(salt_path, buf.data(), file_size); in EnsureSystemSaltIsLoaded() local 49 if (data_read != file_size) { in EnsureSystemSaltIsLoaded() 50 PLOG(ERROR) << "Could not read entire file: " << data_read in EnsureSystemSaltIsLoaded()
|
/external/libchrome/base/files/ |
D | file_unittest.cc | 297 char data_read[32]; in TEST() local 298 int bytes_read = file.Read(0, data_read, static_cast<int>(file_size)); in TEST() 301 EXPECT_EQ(data_to_write[i], data_read[i]); in TEST() 303 EXPECT_EQ(0, data_read[i]); in TEST() 313 bytes_read = file.Read(0, data_read, kTestDataSize); in TEST() 316 EXPECT_EQ(data_to_write[i], data_read[i]); in TEST()
|
/external/selinux/libsemanage/src/ |
D | direct_api.c | 719 char *data_read = NULL; in read_from_pipe_to_data() local 724 data_read = malloc(max_len * sizeof(*data_read)); in read_from_pipe_to_data() 725 if (data_read == NULL) { in read_from_pipe_to_data() 730 while ((read_len = read(fd, data_read + data_read_len, max_len - data_read_len)) > 0) { in read_from_pipe_to_data() 734 data_read = realloc(data_read, max_len); in read_from_pipe_to_data() 735 if (data_read == NULL) { in read_from_pipe_to_data() 743 *out_data_read = data_read; in read_from_pipe_to_data() 754 char *data_read = NULL; in semanage_pipe_data() local 867 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data() 907 if (data_read != NULL) { in semanage_pipe_data() [all …]
|
/external/blktrace/ |
D | blktrace.c | 87 unsigned long long data_read; member 484 static inline void pdc_dr_update(struct devpath *dpp, int cpu, int data_read) in pdc_dr_update() argument 486 dpp->stats[cpu].data_read += data_read; in pdc_dr_update() 1948 unsigned long long nevents, data_read; in show_stats() local 1966 data_read = 0; in show_stats() 1975 sp->nevents = sp->data_read / in show_stats() 1981 cpu, sp->nevents, (sp->data_read + 1023) >> 10); in show_stats() 1983 data_read += sp->data_read; in show_stats() 1989 dpp->drops, (data_read + 1024) >> 10); in show_stats()
|
/external/webrtc/webrtc/base/ |
D | virtualsocketserver.cc | 287 size_t data_read = std::min(cb, packet->size()); in RecvFrom() local 288 memcpy(pv, packet->data(), data_read); in RecvFrom() 291 if (data_read < packet->size()) { in RecvFrom() 292 packet->Consume(data_read); in RecvFrom() 300 recv_buffer_size_ -= data_read; in RecvFrom() 308 return static_cast<int>(data_read); in RecvFrom()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | t2.c | 98 OPJ_UINT32 * data_read,
|