Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dfile_stream_unittest.cc119 std::string data_read; in TEST_F() local
127 data_read.append(buf, rv); in TEST_F()
130 EXPECT_EQ(kTestData, data_read); in TEST_F()
152 std::string data_read; in TEST_F() local
162 data_read.append(buf, rv); in TEST_F()
165 EXPECT_EQ(kTestData, data_read); in TEST_F()
218 std::string data_read; in TEST_F() local
226 data_read.append(buf, rv); in TEST_F()
229 EXPECT_TRUE(data_read == kTestData + kOffset); in TEST_F()
230 EXPECT_EQ(kTestData + kOffset, data_read); in TEST_F()
[all …]
/external/elfutils/libelf/
Delf_rawdata.c77 || (scn->data_read != 0 && (scn->flags & ELF_F_FILEDATA) == 0))
86 if (scn->data_read == 0)
Delf_strptr.c143 if (strscn->rawdata_base == NULL && ! strscn->data_read)
147 if (strscn->rawdata_base == NULL && ! strscn->data_read
Delf_getdata.c335 scn->data_read = 1; in __libelf_set_rawdata_wrlock()
427 if (scn->data_read == 0)
440 if (scn->data_read == 0 && __libelf_set_rawdata_wrlock (scn) != 0)
Delf_newdata.c88 if (scn->data_read && scn->data_list_rear == NULL) in elf_newdata()
Delf_newscn.c161 result->data_read = 1;
Delf32_updatenull.c270 if (scn->data_read == 0 in __elfw2()
DlibelfP.h232 int data_read; /* Nonzero if the section was created by the member
/external/chromium/base/
Dplatform_file_unittest.cc228 char data_read[32]; in TEST() local
229 int bytes_read = ReadFully(file, 0, data_read, static_cast<int>(file_size)); in TEST()
232 EXPECT_EQ(data_to_write[i], data_read[i]); in TEST()
234 EXPECT_EQ(0, data_read[i]); in TEST()
243 bytes_read = ReadFully(file, 0, data_read, kTestDataSize); in TEST()
246 EXPECT_EQ(data_to_write[i], data_read[i]); in TEST()
/external/chromium/chrome/browser/chromeos/login/
Downer_key_utils.cc128 int data_read = file_util::ReadFile(key_file, in ImportPublicKey() local
131 return data_read == safe_file_size; in ImportPublicKey()
/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/chromium/net/tools/flip_server/
Depoll_server.cc66 int data_read = 1; in OnEvent() local
68 while (data_read > 0) { in OnEvent()
69 data_read = read(fd, &data, sizeof(data)); in OnEvent()