Home
last modified time | relevance | path

Searched refs:data_read (Results 1 – 13 of 13) sorted by relevance

/external/elfutils/libelf/
Delf_newdata.c81 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()
Delf_rawdata.c54 || (scn->data_read != 0 && (scn->flags & ELF_F_FILEDATA) == 0)) in elf_rawdata()
63 if (scn->data_read == 0) in elf_rawdata()
Delf_strptr.c155 if (strscn->rawdata_base == NULL && ! strscn->data_read) in elf_strptr()
159 if (strscn->rawdata_base == NULL && ! strscn->data_read in elf_strptr()
Delf_getdata.c380 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()
Delf_newscn.c147 result->data_read = 1; in elf_newscn()
Delf32_updatenull.c270 if (scn->data_read == 0 in __elfw2()
DlibelfP.h219 int data_read; /* Nonzero if the section was created by the member
/external/libbrillo/brillo/
Dcryptohome.cc48 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/
Dfile_unittest.cc297 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/
Ddirect_api.c649 char *data_read = NULL; in read_from_pipe_to_data() local
654 data_read = malloc(max_len * sizeof(*data_read)); in read_from_pipe_to_data()
655 if (data_read == NULL) { in read_from_pipe_to_data()
660 while ((read_len = read(fd, data_read + data_read_len, max_len - data_read_len)) > 0) { in read_from_pipe_to_data()
664 data_read = realloc(data_read, max_len); in read_from_pipe_to_data()
665 if (data_read == NULL) { in read_from_pipe_to_data()
673 *out_data_read = data_read; in read_from_pipe_to_data()
684 char *data_read = NULL; in semanage_pipe_data() local
797 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data()
837 if (data_read != NULL) { in semanage_pipe_data()
[all …]
/external/blktrace/
Dblktrace.c87 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/
Dvirtualsocketserver.cc287 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/
Dt2.c98 OPJ_UINT32 * data_read,