Home
last modified time | relevance | path

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

12

/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 > UINT32_MAX - ByteCount || 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 > UINT32_MAX - ByteCount || 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 > UINT32_MAX - ByteCount || 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.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::__anon9d1704780111::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_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 …]
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_impl_lite.h77 int64 ByteCount() const;
110 int64 ByteCount() const;
142 int64 ByteCount() const;
214 int64 ByteCount() const;
301 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_impl_lite.cc103 int64 ArrayInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ArrayInputStream
144 int64 ArrayOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ArrayOutputStream
193 int64 StringOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::StringOutputStream
302 int64 CopyingInputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingInputStreamAdaptor
367 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;
Dgzip_stream.cc180 int64 GzipInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::GzipInputStream
297 int64 GzipOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::GzipOutputStream
Dtokenizer_unittest.cc145 int64 ByteCount() const { return array_stream_.ByteCount(); } in ByteCount() function in google::protobuf::io::__anon646777a90111::TestInputStream
992 EXPECT_EQ(strlen("foo"), input.ByteCount()); in TEST_1D()
Dcoded_stream.h745 inline int ByteCount() const;
1121 inline int CodedOutputStream::ByteCount() const { in ByteCount() function
/external/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/skia/src/images/
DSkMovie_gif.cpp76 SkASSERT(image->ExtensionBlocks[j].ByteCount >= 4); in savedimage_duration()
232 eb->ByteCount == 4) { in drawFrame()
266 eb->ByteCount == 4) { in checkIfWillBeCleared()
284 eb->ByteCount == 4) { in getTransparencyAndDisposalMethod()
/external/sfntly/cpp/src/sfntly/table/
Dbyte_array_table_builder.h43 virtual int32_t ByteCount();
Dbyte_array_table_builder.cc45 int32_t ByteArrayTableBuilder::ByteCount() { in ByteCount() function in sfntly::ByteArrayTableBuilder
/external/protobuf/src/google/protobuf/
Dmessage_lite.cc244 int original_byte_count = output->ByteCount(); in SerializePartialToCodedStream()
249 int final_byte_count = output->ByteCount(); in SerializePartialToCodedStream()
/external/giflib/
Dgifalloc.c238 ep->ByteCount=Len; in GifAddExtensionBlock()
239 ep->Bytes = (GifByteType *)malloc(ep->ByteCount); in GifAddExtensionBlock()
Dgif_lib.h53 int ByteCount; member
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc631 EXPECT_EQ(size, output_stream.ByteCount()); in TEST()
650 EXPECT_EQ(size, output_stream.ByteCount()); in TEST()
1854 EXPECT_EQ(size, output_stream.ByteCount()); in TEST_F()
1875 EXPECT_EQ(size, output_stream.ByteCount()); in TEST_F()
1897 EXPECT_EQ(size, output_stream.ByteCount()); in TEST_F()
1918 EXPECT_EQ(size, output_stream.ByteCount()); in TEST_F()
1939 EXPECT_EQ(size, output_stream.ByteCount()); in TEST_F()
1960 EXPECT_EQ(size, output_stream.ByteCount()); in TEST_F()
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
DR600MCCodeEmitter.cpp545 void R600MCCodeEmitter::EmitNullBytes(unsigned int ByteCount, in EmitNullBytes() argument
548 for (unsigned int i = 0; i < ByteCount; i++) { in EmitNullBytes()

12