Home
last modified time | relevance | path

Searched refs:ByteCount (Results 1 – 25 of 61) sorted by relevance

123

/external/jhead/
Dmakernote.c40 int ByteCount; in ProcessCanonMakerNoteDir() local
59 ByteCount = Components * BytesPerFormat[Format]; in ProcessCanonMakerNoteDir()
61 if (ByteCount > 4){ in ProcessCanonMakerNoteDir()
65 if (OffsetVal+ByteCount > ExifLength){ in ProcessCanonMakerNoteDir()
73 … printf("Map: %05d-%05d: Data for makernote tag %04x\n",OffsetVal, OffsetVal+ByteCount, Tag); in ProcessCanonMakerNoteDir()
95 for (a=0;a<ByteCount;a++){ in ProcessCanonMakerNoteDir()
115 PrintFormatNumber(ValuePtr, Format, ByteCount); in ProcessCanonMakerNoteDir()
156 void ShowMakerNoteGeneric(unsigned char * ValuePtr, int ByteCount) in ShowMakerNoteGeneric() argument
159 for (a=0;a<ByteCount;a++){ in ShowMakerNoteGeneric()
166 printf(" (%d bytes)", ByteCount); in ShowMakerNoteGeneric()
[all …]
Dgpsinfo.c146 unsigned ByteCount; in ProcessGpsInfo() local
166 ByteCount = Components * ComponentSize; in ProcessGpsInfo()
170 ByteCount); in ProcessGpsInfo()
173 if (ByteCount > 4){ in ProcessGpsInfo()
177 if (OffsetVal+ByteCount > ExifLength){ in ProcessGpsInfo()
272 if (ByteCount > EXIF_ASCII_PREFIX_LEN && in ProcessGpsInfo()
275 ByteCount < GPS_PROCESSING_METHOD_LEN + EXIF_ASCII_PREFIX_LEN ? in ProcessGpsInfo()
276 ByteCount - EXIF_ASCII_PREFIX_LEN : GPS_PROCESSING_METHOD_LEN; in ProcessGpsInfo()
303 for (a=0;a<ByteCount;a++){ in ProcessGpsInfo()
324 PrintFormatNumber(ValuePtr+a*ComponentSize, Format, ByteCount); in ProcessGpsInfo()
Dexif.c388 void PrintFormatNumber(void * ValuePtr, int Format, int ByteCount) in PrintFormatNumber() argument
412 ByteCount -= s; in PrintFormatNumber()
413 if (ByteCount <= 0) break; in PrintFormatNumber()
592 int ByteCount; in ProcessExifDir() local
611 ByteCount = Components * BytesPerFormat[Format]; in ProcessExifDir()
613 if (ByteCount > 4){ in ProcessExifDir()
617 if (OffsetVal+ByteCount > ExifLength){ in ProcessExifDir()
629 printf("Map: %05d-%05d: Data for tag %04x\n",OffsetVal, OffsetVal+ByteCount, Tag); in ProcessExifDir()
640 ProcessMakerNote(ValuePtr, ByteCount, OffsetBase, ExifLength); in ProcessExifDir()
662 if(ByteCount>1){ in ProcessExifDir()
[all …]
Djhead.h192 void PrintFormatNumber(void * ValuePtr, int Format, int ByteCount);
222 extern void ProcessMakerNote(unsigned char * DirStart, int ByteCount,
226 void ProcessGpsInfo(unsigned char * ValuePtr, int ByteCount,
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc100 int64 FileInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::FileInputStream
101 return impl_.ByteCount(); in ByteCount()
199 int64 FileOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::FileOutputStream
200 return impl_.ByteCount(); in ByteCount()
290 int64 IstreamInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::IstreamInputStream
291 return impl_.ByteCount(); in ByteCount()
330 int64 OstreamOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::OstreamOutputStream
331 return impl_.ByteCount(); in ByteCount()
363 bytes_retired_ += streams_[0]->ByteCount(); in Next()
384 int64 target_byte_count = streams_[0]->ByteCount() + count; in Skip()
[all …]
Dcoded_stream_unittest.cc191 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
208 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
239 EXPECT_EQ(kVarintCases_case.size + 1, input.ByteCount()); in TEST_1D()
241 EXPECT_EQ(1, input.ByteCount()); in TEST_1D()
275 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
292 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
295 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
309 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
312 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
336 EXPECT_EQ(10, coded_output.ByteCount()); in TEST_2D()
[all …]
Dzero_copy_stream_impl_lite.h76 int64 ByteCount() const;
109 int64 ByteCount() const;
141 int64 ByteCount() const;
213 int64 ByteCount() const;
300 int64 ByteCount() const;
Dzero_copy_stream_impl.h94 int64 ByteCount() const;
176 int64 ByteCount() const;
228 int64 ByteCount() const;
271 int64 ByteCount() const;
315 int64 ByteCount() const;
341 int64 ByteCount() const;
Dprinter_unittest.cc77 buffer[output.ByteCount()] = '\0'; in TEST()
103 buffer[output.ByteCount()] = '\0'; in TEST()
138 buffer[output.ByteCount()] = '\0'; in TEST()
163 buffer[output.ByteCount()] = '\0'; in TEST()
204 buffer[output.ByteCount()] = '\0'; in TEST()
Dzero_copy_stream_unittest.cc212 EXPECT_EQ(output->ByteCount(), 68); in WriteStuff()
214 int result = output->ByteCount(); in WriteStuff()
230 EXPECT_EQ(input->ByteCount(), 68); in ReadStuff()
244 EXPECT_EQ(output->ByteCount(), 200055); in WriteStuffLarge()
246 int result = output->ByteCount(); in WriteStuffLarge()
261 EXPECT_EQ(input->ByteCount(), 200055); in ReadStuffLarge()
303 size = output.ByteCount(); in TEST_F()
331 size = output.ByteCount(); in TEST_F()
354 size = output.ByteCount(); in TEST_F()
366 size = output.ByteCount(); in TEST_F()
[all …]
Dzero_copy_stream_impl_lite.cc99 int64 ArrayInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ArrayInputStream
140 int64 ArrayOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ArrayOutputStream
181 int64 StringOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::StringOutputStream
290 int64 CopyingInputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingInputStreamAdaptor
355 int64 CopyingOutputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingOutputStreamAdaptor
Dzero_copy_stream.h172 virtual int64 ByteCount() const = 0;
227 virtual int64 ByteCount() const = 0;
Dgzip_stream.h88 int64 ByteCount() const;
179 int64 ByteCount() const;
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc101 int64 FileInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::FileInputStream
102 return impl_.ByteCount(); in ByteCount()
200 int64 FileOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::FileOutputStream
201 return impl_.ByteCount(); in ByteCount()
291 int64 IstreamInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::IstreamInputStream
292 return impl_.ByteCount(); in ByteCount()
331 int64 OstreamOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::OstreamOutputStream
332 return impl_.ByteCount(); in ByteCount()
364 bytes_retired_ += streams_[0]->ByteCount(); in Next()
385 int64 target_byte_count = streams_[0]->ByteCount() + count; in Skip()
[all …]
Dcoded_stream_unittest.cc197 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
214 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
236 virtual int64 ByteCount() const { return 0; } in TEST_F() function in google::protobuf::io::__anon9ba7d4af0111::TEST_F::In
272 EXPECT_EQ(kVarintCases_case.size + 1, input.ByteCount()); in TEST_1D()
274 EXPECT_EQ(1, input.ByteCount()); in TEST_1D()
308 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
325 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
328 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
342 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
345 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
[all …]
Dzero_copy_stream_impl_lite.h76 int64 ByteCount() const;
109 int64 ByteCount() const;
141 int64 ByteCount() const;
213 int64 ByteCount() const;
300 int64 ByteCount() const;
Dzero_copy_stream_impl.h94 int64 ByteCount() const;
176 int64 ByteCount() const;
228 int64 ByteCount() const;
271 int64 ByteCount() const;
315 int64 ByteCount() const;
341 int64 ByteCount() const;
Dzero_copy_stream_unittest.cc213 EXPECT_EQ(output->ByteCount(), 68); in WriteStuff()
215 int result = output->ByteCount(); in WriteStuff()
231 EXPECT_EQ(input->ByteCount(), 68); in ReadStuff()
245 EXPECT_EQ(output->ByteCount(), 200055); in WriteStuffLarge()
247 int result = output->ByteCount(); in WriteStuffLarge()
262 EXPECT_EQ(input->ByteCount(), 200055); in ReadStuffLarge()
306 int64 pos = output->ByteCount(); in TEST_F()
314 int64 size = pos + output->ByteCount(); in TEST_F()
359 size = output.ByteCount(); in TEST_F()
395 size = output.ByteCount(); in TEST_F()
[all …]
Dprinter_unittest.cc77 buffer[output.ByteCount()] = '\0'; in TEST()
103 buffer[output.ByteCount()] = '\0'; in TEST()
138 buffer[output.ByteCount()] = '\0'; in TEST()
163 buffer[output.ByteCount()] = '\0'; in TEST()
204 buffer[output.ByteCount()] = '\0'; in TEST()
Dzero_copy_stream_impl_lite.cc101 int64 ArrayInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ArrayInputStream
142 int64 ArrayOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ArrayOutputStream
183 int64 StringOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::StringOutputStream
292 int64 CopyingInputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingInputStreamAdaptor
357 int64 CopyingOutputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingOutputStreamAdaptor
Dzero_copy_stream.h172 virtual int64 ByteCount() const = 0;
227 virtual int64 ByteCount() const = 0;
Dgzip_stream.h89 int64 ByteCount() const;
181 int64 ByteCount() const;
/external/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc114 info.offset = raw_output_->ByteCount(); in Write()
141 uint32 dir_ofs = raw_output_->ByteCount(); in WriteDirectory()
171 uint32 dir_len = output.ByteCount(); in WriteDirectory()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc144 info.offset = raw_output_->ByteCount(); in Write()
171 uint32 dir_ofs = raw_output_->ByteCount(); in WriteDirectory()
201 uint32 dir_len = output.ByteCount(); in WriteDirectory()
/external/chromium_org/google_apis/gcm/base/
Dsocket_stream.h72 virtual int64 ByteCount() const OVERRIDE;
167 virtual int64 ByteCount() const OVERRIDE;

123