Searched refs:reader (Results 1 - 25 of 830) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dvideo_reader.c31 VpxVideoReader *reader = NULL; local
45 reader = calloc(1, sizeof(*reader));
46 if (!reader)
49 reader->file = file;
50 reader->info.codec_fourcc = mem_get_le32(header + 8);
51 reader->info.frame_width = mem_get_le16(header + 12);
52 reader->info.frame_height = mem_get_le16(header + 14);
53 reader->info.time_base.numerator = mem_get_le32(header + 16);
54 reader
59 vpx_video_reader_close(VpxVideoReader *reader) argument
67 vpx_video_reader_read_frame(VpxVideoReader *reader) argument
72 vpx_video_reader_get_frame(VpxVideoReader *reader, size_t *size) argument
80 vpx_video_reader_get_info(VpxVideoReader *reader) argument
[all...]
H A Dvideo_reader.h35 void vpx_video_reader_close(VpxVideoReader *reader);
38 int vpx_video_reader_read_frame(VpxVideoReader *reader);
42 const uint8_t *vpx_video_reader_get_frame(VpxVideoReader *reader,
46 const VpxVideoInfo *vpx_video_reader_get_info(VpxVideoReader *reader);
/external/libvpx/libvpx/
H A Dvideo_reader.c31 VpxVideoReader *reader = NULL; local
45 reader = calloc(1, sizeof(*reader));
46 if (!reader)
49 reader->file = file;
50 reader->info.codec_fourcc = mem_get_le32(header + 8);
51 reader->info.frame_width = mem_get_le16(header + 12);
52 reader->info.frame_height = mem_get_le16(header + 14);
53 reader->info.time_base.numerator = mem_get_le32(header + 16);
54 reader
59 vpx_video_reader_close(VpxVideoReader *reader) argument
67 vpx_video_reader_read_frame(VpxVideoReader *reader) argument
72 vpx_video_reader_get_frame(VpxVideoReader *reader, size_t *size) argument
80 vpx_video_reader_get_info(VpxVideoReader *reader) argument
[all...]
H A Dvideo_reader.h35 void vpx_video_reader_close(VpxVideoReader *reader);
38 int vpx_video_reader_read_frame(VpxVideoReader *reader);
42 const uint8_t *vpx_video_reader_get_frame(VpxVideoReader *reader,
46 const VpxVideoInfo *vpx_video_reader_get_info(VpxVideoReader *reader);
/external/chromium_org/media/filters/
H A Dh264_bit_reader_unittest.cc11 H264BitReader reader; local
15 EXPECT_TRUE(reader.Initialize(rbsp, sizeof(rbsp)));
17 EXPECT_TRUE(reader.ReadBits(1, &dummy));
19 EXPECT_EQ(reader.NumBitsLeft(), 47);
20 EXPECT_TRUE(reader.HasMoreRBSPData());
22 EXPECT_TRUE(reader.ReadBits(8, &dummy));
24 EXPECT_EQ(reader.NumBitsLeft(), 39);
25 EXPECT_TRUE(reader.HasMoreRBSPData());
27 EXPECT_TRUE(reader.ReadBits(31, &dummy));
29 EXPECT_EQ(reader
44 H264BitReader reader; local
59 H264BitReader reader; local
[all...]
/external/libxml2/
H A Dxmlreader.c84 #define DUMP_READER xmlTextReaderDebug(reader);
194 #define CONSTSTR(str) xmlDictLookup(reader->dict, (str), -1)
195 #define CONSTQSTR(p, str) xmlDictQLookup(reader->dict, (p), (str))
197 static int xmlTextReaderReadTree(xmlTextReaderPtr reader);
198 static int xmlTextReaderNextTree(xmlTextReaderPtr reader);
217 static void xmlTextReaderFreeNode(xmlTextReaderPtr reader, xmlNodePtr cur);
218 static void xmlTextReaderFreeNodeList(xmlTextReaderPtr reader, xmlNodePtr cur);
276 * @reader: the xmlTextReaderPtr used
282 xmlTextReaderFreeProp(xmlTextReaderPtr reader, xmlAttrPtr cur) { argument
285 dict = reader
320 xmlTextReaderFreePropList(xmlTextReaderPtr reader, xmlAttrPtr cur) argument
339 xmlTextReaderFreeNodeList(xmlTextReaderPtr reader, xmlNodePtr cur) argument
417 xmlTextReaderFreeNode(xmlTextReaderPtr reader, xmlNodePtr cur) argument
500 xmlTextReaderFreeDoc(xmlTextReaderPtr reader, xmlDocPtr cur) argument
549 xmlTextReaderDebug(xmlTextReaderPtr reader) argument
585 xmlTextReaderEntPush(xmlTextReaderPtr reader, xmlNodePtr value) argument
621 xmlTextReaderEntPop(xmlTextReaderPtr reader) argument
649 xmlTextReaderPtr reader = ctxt->_private; local
675 xmlTextReaderPtr reader = ctxt->_private; local
712 xmlTextReaderPtr reader = ctxt->_private; local
746 xmlTextReaderPtr reader = ctxt->_private; local
769 xmlTextReaderPtr reader = ctxt->_private; local
791 xmlTextReaderPtr reader = ctxt->_private; local
811 xmlTextReaderPushData(xmlTextReaderPtr reader) argument
992 xmlTextReaderValidateCData(xmlTextReaderPtr reader, const xmlChar *data, int len) argument
1021 xmlTextReaderValidatePop(xmlTextReaderPtr reader) argument
1072 xmlTextReaderValidateEntity(xmlTextReaderPtr reader) argument
1192 xmlTextReaderDoExpand(xmlTextReaderPtr reader) argument
1273 xmlTextReaderRead(xmlTextReaderPtr reader) argument
1611 xmlTextReaderReadState(xmlTextReaderPtr reader) argument
1628 xmlTextReaderExpand(xmlTextReaderPtr reader) argument
1651 xmlTextReaderNext(xmlTextReaderPtr reader) argument
1776 xmlTextReaderReadString(xmlTextReaderPtr reader) argument
1870 xmlTextReaderNextTree(xmlTextReaderPtr reader) argument
1944 xmlTextReaderReadTree(xmlTextReaderPtr reader) argument
2018 xmlTextReaderNextSibling(xmlTextReaderPtr reader) argument
2197 xmlFreeTextReader(xmlTextReaderPtr reader) argument
2286 xmlTextReaderClose(xmlTextReaderPtr reader) argument
2319 xmlTextReaderGetAttributeNo(xmlTextReaderPtr reader, int no) argument
2368 xmlTextReaderGetAttribute(xmlTextReaderPtr reader, const xmlChar *name) argument
2440 xmlTextReaderGetAttributeNs(xmlTextReaderPtr reader, const xmlChar *localName, const xmlChar *namespaceURI) argument
2490 xmlTextReaderGetRemainder(xmlTextReaderPtr reader) argument
2538 xmlTextReaderLookupNamespace(xmlTextReaderPtr reader, const xmlChar *prefix) argument
2564 xmlTextReaderMoveToAttributeNo(xmlTextReaderPtr reader, int no) argument
2613 xmlTextReaderMoveToAttribute(xmlTextReaderPtr reader, const xmlChar *name) argument
2717 xmlTextReaderMoveToAttributeNs(xmlTextReaderPtr reader, const xmlChar *localName, const xmlChar *namespaceURI) argument
2776 xmlTextReaderMoveToFirstAttribute(xmlTextReaderPtr reader) argument
2805 xmlTextReaderMoveToNextAttribute(xmlTextReaderPtr reader) argument
2844 xmlTextReaderMoveToElement(xmlTextReaderPtr reader) argument
2869 xmlTextReaderReadAttributeValue(xmlTextReaderPtr reader) argument
2912 xmlTextReaderConstEncoding(xmlTextReaderPtr reader) argument
2944 xmlTextReaderAttributeCount(xmlTextReaderPtr reader) argument
2990 xmlTextReaderNodeType(xmlTextReaderPtr reader) argument
3062 xmlTextReaderIsEmptyElement(xmlTextReaderPtr reader) argument
3092 xmlTextReaderLocalName(xmlTextReaderPtr reader) argument
3123 xmlTextReaderConstLocalName(xmlTextReaderPtr reader) argument
3154 xmlTextReaderName(xmlTextReaderPtr reader) argument
3230 xmlTextReaderConstName(xmlTextReaderPtr reader) argument
3298 xmlTextReaderPrefix(xmlTextReaderPtr reader) argument
3330 xmlTextReaderConstPrefix(xmlTextReaderPtr reader) argument
3362 xmlTextReaderNamespaceUri(xmlTextReaderPtr reader) argument
3390 xmlTextReaderConstNamespaceUri(xmlTextReaderPtr reader) argument
3418 xmlTextReaderBaseUri(xmlTextReaderPtr reader) argument
3434 xmlTextReaderConstBaseUri(xmlTextReaderPtr reader) argument
3457 xmlTextReaderDepth(xmlTextReaderPtr reader) argument
3481 xmlTextReaderHasAttributes(xmlTextReaderPtr reader) argument
3508 xmlTextReaderHasValue(xmlTextReaderPtr reader) argument
3543 xmlTextReaderValue(xmlTextReaderPtr reader) argument
3589 xmlTextReaderConstValue(xmlTextReaderPtr reader) argument
3646 xmlTextReaderIsDefault(xmlTextReaderPtr reader) argument
3661 xmlTextReaderQuoteChar(xmlTextReaderPtr reader) argument
3678 xmlTextReaderXmlLang(xmlTextReaderPtr reader) argument
3695 xmlTextReaderConstXmlLang(xmlTextReaderPtr reader) argument
3723 xmlTextReaderConstString(xmlTextReaderPtr reader, const xmlChar *str) argument
3742 xmlTextReaderNormalization(xmlTextReaderPtr reader) argument
3767 xmlTextReaderSetParserProp(xmlTextReaderPtr reader, int prop, int value) argument
3824 xmlTextReaderGetParserProp(xmlTextReaderPtr reader, int prop) argument
3859 xmlTextReaderGetParserLineNumber(xmlTextReaderPtr reader) argument
3877 xmlTextReaderGetParserColumnNumber(xmlTextReaderPtr reader) argument
3897 xmlTextReaderCurrentNode(xmlTextReaderPtr reader) argument
3917 xmlTextReaderPreserve(xmlTextReaderPtr reader) argument
3959 xmlTextReaderPreservePattern(xmlTextReaderPtr reader, const xmlChar *pattern, const xmlChar **namespaces) argument
4011 xmlTextReaderCurrentDoc(xmlTextReaderPtr reader) argument
4035 xmlTextReaderPtr reader = (xmlTextReaderPtr) ctx; local
4058 xmlTextReaderPtr reader = (xmlTextReaderPtr) ctx; local
4084 xmlTextReaderPtr reader = (xmlTextReaderPtr) userData; local
4107 xmlTextReaderRelaxNGSetSchema(xmlTextReaderPtr reader, xmlRelaxNGPtr schema) argument
4168 xmlTextReaderPtr reader; local
4224 xmlTextReaderSetSchema(xmlTextReaderPtr reader, xmlSchemaPtr schema) argument
4311 xmlTextReaderRelaxNGValidateInternal(xmlTextReaderPtr reader, const char *rng, xmlRelaxNGValidCtxtPtr ctxt, int options ATTRIBUTE_UNUSED) argument
4414 xmlTextReaderSchemaValidateInternal(xmlTextReaderPtr reader, const char *xsd, xmlSchemaValidCtxtPtr ctxt, int options ATTRIBUTE_UNUSED) argument
4533 xmlTextReaderSchemaValidateCtxt(xmlTextReaderPtr reader, xmlSchemaValidCtxtPtr ctxt, int options) argument
4553 xmlTextReaderSchemaValidate(xmlTextReaderPtr reader, const char *xsd) argument
4572 xmlTextReaderRelaxNGValidateCtxt(xmlTextReaderPtr reader, xmlRelaxNGValidCtxtPtr ctxt, int options) argument
4592 xmlTextReaderRelaxNGValidate(xmlTextReaderPtr reader, const char *rng) argument
4611 xmlTextReaderIsNamespaceDecl(xmlTextReaderPtr reader) argument
4638 xmlTextReaderConstXmlVersion(xmlTextReaderPtr reader) argument
4666 xmlTextReaderStandalone(xmlTextReaderPtr reader) argument
4802 xmlTextReaderPtr reader = (xmlTextReaderPtr) ctx->_private; local
4817 xmlTextReaderPtr reader = (xmlTextReaderPtr) ctx->_private; local
4900 xmlTextReaderSetErrorHandler(xmlTextReaderPtr reader, xmlTextReaderErrorFunc f, void *arg) argument
4967 xmlTextReaderSetStructuredErrorHandler(xmlTextReaderPtr reader, xmlStructuredErrorFunc f, void *arg) argument
5031 xmlTextReaderIsValid(xmlTextReaderPtr reader) argument
5055 xmlTextReaderGetErrorHandler(xmlTextReaderPtr reader, xmlTextReaderErrorFunc * f, void **arg) argument
5083 xmlTextReaderSetup(xmlTextReaderPtr reader, xmlParserInputBufferPtr input, const char *URL, const char *encoding, int options) argument
5287 xmlTextReaderByteConsumed(xmlTextReaderPtr reader) argument
5371 xmlTextReaderPtr reader; local
5397 xmlTextReaderPtr reader; local
5432 xmlTextReaderPtr reader; local
5471 xmlTextReaderPtr reader; local
5505 xmlReaderNewWalker(xmlTextReaderPtr reader, xmlDocPtr doc) argument
5553 xmlReaderNewDoc(xmlTextReaderPtr reader, const xmlChar * cur, const char *URL, const char *encoding, int options) argument
5583 xmlReaderNewFile(xmlTextReaderPtr reader, const char *filename, const char *encoding, int options) argument
5617 xmlReaderNewMemory(xmlTextReaderPtr reader, const char *buffer, int size, const char *URL, const char *encoding, int options) argument
5652 xmlReaderNewFd(xmlTextReaderPtr reader, int fd, const char *URL, const char *encoding, int options) argument
5687 xmlReaderNewIO(xmlTextReaderPtr reader, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options) argument
[all...]
/external/chromium_org/third_party/libxml/src/
H A Dxmlreader.c82 #define DUMP_READER xmlTextReaderDebug(reader);
191 #define CONSTSTR(str) xmlDictLookup(reader->dict, (str), -1)
192 #define CONSTQSTR(p, str) xmlDictQLookup(reader->dict, (p), (str))
194 static int xmlTextReaderReadTree(xmlTextReaderPtr reader);
195 static int xmlTextReaderNextTree(xmlTextReaderPtr reader);
214 static void xmlTextReaderFreeNode(xmlTextReaderPtr reader, xmlNodePtr cur);
215 static void xmlTextReaderFreeNodeList(xmlTextReaderPtr reader, xmlNodePtr cur);
273 * @reader: the xmlTextReaderPtr used
279 xmlTextReaderFreeProp(xmlTextReaderPtr reader, xmlAttrPtr cur) { argument
282 dict = reader
317 xmlTextReaderFreePropList(xmlTextReaderPtr reader, xmlAttrPtr cur) argument
336 xmlTextReaderFreeNodeList(xmlTextReaderPtr reader, xmlNodePtr cur) argument
414 xmlTextReaderFreeNode(xmlTextReaderPtr reader, xmlNodePtr cur) argument
497 xmlTextReaderFreeDoc(xmlTextReaderPtr reader, xmlDocPtr cur) argument
546 xmlTextReaderDebug(xmlTextReaderPtr reader) argument
582 xmlTextReaderEntPush(xmlTextReaderPtr reader, xmlNodePtr value) argument
618 xmlTextReaderEntPop(xmlTextReaderPtr reader) argument
646 xmlTextReaderPtr reader = ctxt->_private; local
672 xmlTextReaderPtr reader = ctxt->_private; local
709 xmlTextReaderPtr reader = ctxt->_private; local
743 xmlTextReaderPtr reader = ctxt->_private; local
766 xmlTextReaderPtr reader = ctxt->_private; local
788 xmlTextReaderPtr reader = ctxt->_private; local
808 xmlTextReaderPushData(xmlTextReaderPtr reader) argument
976 xmlTextReaderValidateCData(xmlTextReaderPtr reader, const xmlChar *data, int len) argument
1005 xmlTextReaderValidatePop(xmlTextReaderPtr reader) argument
1056 xmlTextReaderValidateEntity(xmlTextReaderPtr reader) argument
1176 xmlTextReaderDoExpand(xmlTextReaderPtr reader) argument
1254 xmlTextReaderRead(xmlTextReaderPtr reader) argument
1594 xmlTextReaderReadState(xmlTextReaderPtr reader) argument
1611 xmlTextReaderExpand(xmlTextReaderPtr reader) argument
1634 xmlTextReaderNext(xmlTextReaderPtr reader) argument
1755 xmlTextReaderReadString(xmlTextReaderPtr reader) argument
1849 xmlTextReaderNextTree(xmlTextReaderPtr reader) argument
1923 xmlTextReaderReadTree(xmlTextReaderPtr reader) argument
1997 xmlTextReaderNextSibling(xmlTextReaderPtr reader) argument
2175 xmlFreeTextReader(xmlTextReaderPtr reader) argument
2263 xmlTextReaderClose(xmlTextReaderPtr reader) argument
2296 xmlTextReaderGetAttributeNo(xmlTextReaderPtr reader, int no) argument
2345 xmlTextReaderGetAttribute(xmlTextReaderPtr reader, const xmlChar *name) argument
2417 xmlTextReaderGetAttributeNs(xmlTextReaderPtr reader, const xmlChar *localName, const xmlChar *namespaceURI) argument
2467 xmlTextReaderGetRemainder(xmlTextReaderPtr reader) argument
2515 xmlTextReaderLookupNamespace(xmlTextReaderPtr reader, const xmlChar *prefix) argument
2541 xmlTextReaderMoveToAttributeNo(xmlTextReaderPtr reader, int no) argument
2590 xmlTextReaderMoveToAttribute(xmlTextReaderPtr reader, const xmlChar *name) argument
2694 xmlTextReaderMoveToAttributeNs(xmlTextReaderPtr reader, const xmlChar *localName, const xmlChar *namespaceURI) argument
2753 xmlTextReaderMoveToFirstAttribute(xmlTextReaderPtr reader) argument
2782 xmlTextReaderMoveToNextAttribute(xmlTextReaderPtr reader) argument
2821 xmlTextReaderMoveToElement(xmlTextReaderPtr reader) argument
2846 xmlTextReaderReadAttributeValue(xmlTextReaderPtr reader) argument
2889 xmlTextReaderConstEncoding(xmlTextReaderPtr reader) argument
2921 xmlTextReaderAttributeCount(xmlTextReaderPtr reader) argument
2967 xmlTextReaderNodeType(xmlTextReaderPtr reader) argument
3039 xmlTextReaderIsEmptyElement(xmlTextReaderPtr reader) argument
3069 xmlTextReaderLocalName(xmlTextReaderPtr reader) argument
3100 xmlTextReaderConstLocalName(xmlTextReaderPtr reader) argument
3131 xmlTextReaderName(xmlTextReaderPtr reader) argument
3207 xmlTextReaderConstName(xmlTextReaderPtr reader) argument
3275 xmlTextReaderPrefix(xmlTextReaderPtr reader) argument
3307 xmlTextReaderConstPrefix(xmlTextReaderPtr reader) argument
3339 xmlTextReaderNamespaceUri(xmlTextReaderPtr reader) argument
3367 xmlTextReaderConstNamespaceUri(xmlTextReaderPtr reader) argument
3395 xmlTextReaderBaseUri(xmlTextReaderPtr reader) argument
3411 xmlTextReaderConstBaseUri(xmlTextReaderPtr reader) argument
3434 xmlTextReaderDepth(xmlTextReaderPtr reader) argument
3458 xmlTextReaderHasAttributes(xmlTextReaderPtr reader) argument
3485 xmlTextReaderHasValue(xmlTextReaderPtr reader) argument
3520 xmlTextReaderValue(xmlTextReaderPtr reader) argument
3566 xmlTextReaderConstValue(xmlTextReaderPtr reader) argument
3622 xmlTextReaderIsDefault(xmlTextReaderPtr reader) argument
3637 xmlTextReaderQuoteChar(xmlTextReaderPtr reader) argument
3654 xmlTextReaderXmlLang(xmlTextReaderPtr reader) argument
3671 xmlTextReaderConstXmlLang(xmlTextReaderPtr reader) argument
3699 xmlTextReaderConstString(xmlTextReaderPtr reader, const xmlChar *str) argument
3718 xmlTextReaderNormalization(xmlTextReaderPtr reader) argument
3743 xmlTextReaderSetParserProp(xmlTextReaderPtr reader, int prop, int value) argument
3800 xmlTextReaderGetParserProp(xmlTextReaderPtr reader, int prop) argument
3835 xmlTextReaderGetParserLineNumber(xmlTextReaderPtr reader) argument
3853 xmlTextReaderGetParserColumnNumber(xmlTextReaderPtr reader) argument
3873 xmlTextReaderCurrentNode(xmlTextReaderPtr reader) argument
3893 xmlTextReaderPreserve(xmlTextReaderPtr reader) argument
3935 xmlTextReaderPreservePattern(xmlTextReaderPtr reader, const xmlChar *pattern, const xmlChar **namespaces) argument
3987 xmlTextReaderCurrentDoc(xmlTextReaderPtr reader) argument
4011 xmlTextReaderPtr reader = (xmlTextReaderPtr) ctx; local
4034 xmlTextReaderPtr reader = (xmlTextReaderPtr) ctx; local
4060 xmlTextReaderPtr reader = (xmlTextReaderPtr) userData; local
4083 xmlTextReaderRelaxNGSetSchema(xmlTextReaderPtr reader, xmlRelaxNGPtr schema) argument
4142 xmlTextReaderSetSchema(xmlTextReaderPtr reader, xmlSchemaPtr schema) argument
4223 xmlTextReaderRelaxNGValidate(xmlTextReaderPtr reader, const char *rng) argument
4304 xmlTextReaderSchemaValidateInternal(xmlTextReaderPtr reader, const char *xsd, xmlSchemaValidCtxtPtr ctxt, int options ATTRIBUTE_UNUSED) argument
4420 xmlTextReaderSchemaValidateCtxt(xmlTextReaderPtr reader, xmlSchemaValidCtxtPtr ctxt, int options) argument
4440 xmlTextReaderSchemaValidate(xmlTextReaderPtr reader, const char *xsd) argument
4458 xmlTextReaderIsNamespaceDecl(xmlTextReaderPtr reader) argument
4485 xmlTextReaderConstXmlVersion(xmlTextReaderPtr reader) argument
4513 xmlTextReaderStandalone(xmlTextReaderPtr reader) argument
4649 xmlTextReaderPtr reader = (xmlTextReaderPtr) ctx->_private; local
4664 xmlTextReaderPtr reader = (xmlTextReaderPtr) ctx->_private; local
4747 xmlTextReaderSetErrorHandler(xmlTextReaderPtr reader, xmlTextReaderErrorFunc f, void *arg) argument
4814 xmlTextReaderSetStructuredErrorHandler(xmlTextReaderPtr reader, xmlStructuredErrorFunc f, void *arg) argument
4878 xmlTextReaderIsValid(xmlTextReaderPtr reader) argument
4902 xmlTextReaderGetErrorHandler(xmlTextReaderPtr reader, xmlTextReaderErrorFunc * f, void **arg) argument
4930 xmlTextReaderSetup(xmlTextReaderPtr reader, xmlParserInputBufferPtr input, const char *URL, const char *encoding, int options) argument
5136 xmlTextReaderByteConsumed(xmlTextReaderPtr reader) argument
5220 xmlTextReaderPtr reader; local
5246 xmlTextReaderPtr reader; local
5281 xmlTextReaderPtr reader; local
5320 xmlTextReaderPtr reader; local
5351 xmlReaderNewWalker(xmlTextReaderPtr reader, xmlDocPtr doc) argument
5399 xmlReaderNewDoc(xmlTextReaderPtr reader, const xmlChar * cur, const char *URL, const char *encoding, int options) argument
5429 xmlReaderNewFile(xmlTextReaderPtr reader, const char *filename, const char *encoding, int options) argument
5463 xmlReaderNewMemory(xmlTextReaderPtr reader, const char *buffer, int size, const char *URL, const char *encoding, int options) argument
5498 xmlReaderNewFd(xmlTextReaderPtr reader, int fd, const char *URL, const char *encoding, int options) argument
5533 xmlReaderNewIO(xmlTextReaderPtr reader, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, const char *URL, const char *encoding, int options) argument
[all...]
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_line_reader_unittest.cpp16 LineReader reader; local
17 EXPECT_FALSE(reader.GetNextLine());
24 LineReader reader(kFilePath);
25 EXPECT_FALSE(reader.GetNextLine());
34 LineReader reader(kFilePath);
35 EXPECT_TRUE(reader.GetNextLine());
36 EXPECT_EQ(kFileSize, reader.length());
37 EXPECT_MEMEQ(kFile, kFileSize, reader.line(), reader.length());
38 EXPECT_FALSE(reader
[all...]
/external/chromium_org/third_party/skia/tests/
H A DReader32Test.cpp11 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) { argument
12 REPORTER_ASSERT(reporter, reader.eof());
13 REPORTER_ASSERT(reporter, reader.size() == reader.offset());
14 REPORTER_ASSERT(reporter, (const char*)reader.peek() ==
15 (const char*)reader.base() + reader.size());
18 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) { argument
19 REPORTER_ASSERT(reporter, 0 == reader.offset());
20 REPORTER_ASSERT(reporter, reader
26 assert_empty(skiatest::Reporter* reporter, const SkReader32& reader) argument
36 SkReader32 reader; local
[all...]
/external/skia/tests/
H A DReader32Test.cpp11 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) { argument
12 REPORTER_ASSERT(reporter, reader.eof());
13 REPORTER_ASSERT(reporter, reader.size() == reader.offset());
14 REPORTER_ASSERT(reporter, (const char*)reader.peek() ==
15 (const char*)reader.base() + reader.size());
18 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) { argument
19 REPORTER_ASSERT(reporter, 0 == reader.offset());
20 REPORTER_ASSERT(reporter, reader
26 assert_empty(skiatest::Reporter* reporter, const SkReader32& reader) argument
36 SkReader32 reader; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
H A DBufferedLineReaderTest.cpp46 BufferedLineReader reader; local
47 ASSERT_FALSE(reader.isAtEndOfStream());
49 ASSERT_FALSE(reader.getLine(line));
54 BufferedLineReader reader; local
56 ASSERT_FALSE(reader.getLine(line));
57 reader.setEndOfStream();
59 ASSERT_FALSE(reader.getLine(line));
64 BufferedLineReader reader; local
65 reader.append("A");
66 reader
74 BufferedLineReader reader; local
87 BufferedLineReader reader; local
100 BufferedLineReader reader; local
112 BufferedLineReader reader; local
123 BufferedLineReader reader; local
135 BufferedLineReader reader; local
146 BufferedLineReader reader; local
158 BufferedLineReader reader; local
209 BufferedLineReader reader; local
242 BufferedLineReader reader; local
259 BufferedLineReader reader; local
270 BufferedLineReader reader; local
285 BufferedLineReader reader; local
[all...]
/external/proguard/src/proguard/
H A DLineWordReader.java27 * A <code>WordReader</code> that returns words from a line number reader.
33 private final LineNumberReader reader; field in class:LineWordReader
46 this.reader = lineNumberReader;
55 return reader.readLine();
61 return "line " + reader.getLineNumber() + " of " + description;
69 if (reader != null)
71 reader.close();
/external/chromium_org/media/formats/mp4/
H A Dbox_definitions.cc18 bool FileType::Parse(BoxReader* reader) { argument
19 RCHECK(reader->ReadFourCC(&major_brand) && reader->Read4(&minor_version));
20 size_t num_brands = (reader->size() - reader->pos()) / sizeof(FourCC);
21 return reader->SkipBytes(sizeof(FourCC) * num_brands); // compatible_brands
28 bool ProtectionSystemSpecificHeader::Parse(BoxReader* reader) { argument
31 RCHECK(reader->ReadFullBoxHeader() &&
32 reader->ReadVec(&system_id, 16) &&
33 reader
46 Parse(BoxReader* reader) argument
72 Parse(BoxReader* reader) argument
88 Parse(BoxReader* reader) argument
96 Parse(BoxReader* reader) argument
109 Parse(BoxReader* reader) argument
129 Parse(BoxReader* reader) argument
137 Parse(BoxReader* reader) argument
161 Parse(BoxReader* reader) argument
198 Parse(BoxReader* reader) argument
231 Parse(BoxReader* reader) argument
252 Parse(BoxReader* reader) argument
293 Parse(BoxReader* reader) argument
303 Parse(BoxReader* reader) argument
333 Parse(BoxReader* reader) argument
341 Parse(BoxReader* reader) argument
365 Parse(BoxReader* reader) argument
374 ParseInternal(BufferReader* reader, const LogCB& log_cb) argument
423 Parse(BoxReader* reader) argument
442 Parse(BoxReader* reader) argument
484 Parse(BoxReader* reader) argument
520 Parse(BoxReader* reader) argument
555 Parse(BoxReader* reader) argument
577 Parse(BoxReader* reader) argument
586 Parse(BoxReader* reader) argument
606 Parse(BoxReader* reader) argument
618 Parse(BoxReader* reader) argument
637 Parse(BoxReader* reader) argument
651 Parse(BoxReader* reader) argument
662 Parse(BoxReader* reader) argument
675 Parse(BoxReader* reader) argument
687 Parse(BoxReader* reader) argument
702 Parse(BoxReader* reader) argument
746 Parse(BoxReader* reader) argument
806 Parse(BoxReader* reader) argument
837 Parse(BoxReader* reader) argument
889 Parse(BoxReader* reader) argument
918 Parse(BoxReader* reader) argument
930 Parse(BoxReader* reader) argument
[all...]
H A Des_descriptor.cc12 static bool ReadESSize(media::BitReader* reader, uint32* size) { argument
19 RCHECK(reader->ReadBits(1, &msb));
20 RCHECK(reader->ReadBits(7, &byte));
46 BitReader reader(&data[0], data.size());
54 RCHECK(reader.ReadBits(8, &tag));
56 RCHECK(ReadESSize(&reader, &size));
58 RCHECK(reader.ReadBits(16, &dummy)); // ES_ID
59 RCHECK(reader.ReadBits(1, &stream_dependency_flag));
60 RCHECK(reader.ReadBits(1, &url_flag));
62 RCHECK(reader
83 ParseDecoderConfigDescriptor(BitReader* reader) argument
100 ParseDecoderSpecificInfo(BitReader* reader) argument
[all...]
/external/chromium_org/net/spdy/
H A Dspdy_prefixed_buffer_reader_test.cc29 SpdyPrefixedBufferReader reader = Build("foobar", ""); local
30 EXPECT_EQ(6u, reader.Available());
33 EXPECT_FALSE(reader.ReadN(10, buffer)); // Not enough buffer.
34 EXPECT_TRUE(reader.ReadN(6, buffer));
36 EXPECT_EQ(0u, reader.Available());
40 SpdyPrefixedBufferReader reader = Build("foobar", ""); local
41 EXPECT_EQ(6u, reader.Available());
44 EXPECT_FALSE(reader.ReadN(10, &piece)); // Not enough buffer.
45 EXPECT_TRUE(reader.ReadN(6, &piece));
48 EXPECT_EQ(0u, reader
52 SpdyPrefixedBufferReader reader = Build("", "foobar"); local
63 SpdyPrefixedBufferReader reader = Build("", "foobar"); local
75 SpdyPrefixedBufferReader reader = Build("foob", "ar"); local
86 SpdyPrefixedBufferReader reader = Build("foob", "ar"); local
98 SpdyPrefixedBufferReader reader = Build("abcdef", "hijkl"); local
[all...]
/external/chromium_org/chrome/utility/media_galleries/
H A Diapps_xml_utils.cc14 bool SkipToNextElement(XmlReader* reader) { argument
15 if (!reader->SkipToElement()) {
18 if (!reader->Read() || !reader->SkipToElement())
24 bool SeekToNodeAtCurrentDepth(XmlReader* reader, const std::string& name) { argument
25 int depth = reader->Depth();
27 if (!SkipToNextElement(reader) || reader->Depth() < depth)
29 DCHECK_EQ(depth, reader->Depth());
30 if (reader
37 SeekInDict(XmlReader* reader, const std::string& key) argument
60 ReadSimpleValue(XmlReader* reader, const std::string& node_name, std::string* result) argument
69 ReadString(XmlReader* reader, std::string* result) argument
73 ReadInteger(XmlReader* reader, uint64* result) argument
100 XmlDictReader(XmlReader* reader) argument
[all...]
H A Ditunes_pref_parser_win.cc16 XmlReader reader; local
19 if (!reader.Load(pref_xml_data))
23 if (!iapps::SeekToNodeAtCurrentDepth(&reader, "plist"))
25 if (!reader.Read())
28 if (!iapps::SeekToNodeAtCurrentDepth(&reader, "dict"))
31 if (!iapps::SeekInDict(&reader, "User Preferences"))
34 if (!iapps::SeekToNodeAtCurrentDepth(&reader, "dict"))
37 if (!iapps::SeekInDict(&reader, "iTunes Library XML Location:1"))
40 if (!iapps::SeekToNodeAtCurrentDepth(&reader, "data"))
44 if (!reader
[all...]
/external/chromium_org/third_party/leveldatabase/src/table/
H A Dfilter_block_test.cc50 FilterBlockReader reader(&policy_, block);
51 ASSERT_TRUE(reader.KeyMayMatch(0, "foo"));
52 ASSERT_TRUE(reader.KeyMayMatch(100000, "foo"));
66 FilterBlockReader reader(&policy_, block);
67 ASSERT_TRUE(reader.KeyMayMatch(100, "foo"));
68 ASSERT_TRUE(reader.KeyMayMatch(100, "bar"));
69 ASSERT_TRUE(reader.KeyMayMatch(100, "box"));
70 ASSERT_TRUE(reader.KeyMayMatch(100, "hello"));
71 ASSERT_TRUE(reader.KeyMayMatch(100, "foo"));
72 ASSERT_TRUE(! reader
[all...]
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
H A Did3_parser.js29 * @param {ByteReader} reader Reader to use.
34 Id3Parser.readSynchSafe_ = function(reader, length) {
39 rv = reader.readScalar(1, false) << 21;
41 rv |= reader.readScalar(1, false) << 14;
43 rv |= reader.readScalar(1, false) << 7;
45 rv |= reader.readScalar(1, false);
54 * @param {ByteReader} reader Reader to use.
58 Id3Parser.readUInt24_ = function(reader) {
59 return reader.readScalar(2, false) << 16 | reader
[all...]
/external/chromium_org/cloud_print/gcp20/prototype/
H A Ddns_packet_parser.cc14 base::BigEndianReader reader(packet, length);
15 is_header_read_ = reader.ReadU16(&header_.id) &&
16 reader.ReadU16(&header_.flags) &&
17 reader.ReadU16(&header_.qdcount) &&
18 reader.ReadU16(&header_.ancount) &&
19 reader.ReadU16(&header_.nscount) &&
20 reader.ReadU16(&header_.arcount);
29 base::BigEndianReader reader(packet_ + GetOffset() + consumed,
31 if (reader.ReadU16(&result.qtype) && reader
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkPicturePlayback.cpp20 * Read the next op code and chunk size from 'reader'. The returned size
26 DrawType SkPicturePlayback::ReadOpAndSize(SkReader32* reader, uint32_t* size) { argument
27 uint32_t temp = reader->readInt();
36 *size = reader->readInt();
43 static const SkRect* get_rect_ptr(SkReader32* reader) { argument
44 if (reader->readBool()) {
45 return &reader->skipT<SkRect>();
59 void get_text(SkReader32* reader, TextContainer* text) { argument
60 size_t length = text->fByteLength = reader->readInt();
61 text->fText = (const char*)reader
98 StepIterator(SkPictureStateTree::Iterator* iter, SkReader32* reader) argument
110 SkipIterTo(SkPictureStateTree::Iterator* iter, SkReader32* reader, uint32_t skipTo) argument
172 handleOp(SkReader32* reader, DrawType op, uint32_t size, SkCanvas* canvas, const SkMatrix& initialMatrix) argument
[all...]
/external/libxml2/include/libxml/
H A Dxmlreader.h28 * How severe an error callback is when the per-reader error callback API
43 * Internal state values for the reader.
118 xmlFreeTextReader (xmlTextReaderPtr reader);
121 xmlTextReaderSetup(xmlTextReaderPtr reader,
129 xmlTextReaderRead (xmlTextReaderPtr reader);
133 xmlTextReaderReadInnerXml(xmlTextReaderPtr reader);
136 xmlTextReaderReadOuterXml(xmlTextReaderPtr reader);
140 xmlTextReaderReadString (xmlTextReaderPtr reader);
142 xmlTextReaderReadAttributeValue(xmlTextReaderPtr reader);
148 xmlTextReaderAttributeCount(xmlTextReaderPtr reader);
[all...]
/external/chromium_org/third_party/libxml/src/include/libxml/
H A Dxmlreader.h28 * How severe an error callback is when the per-reader error callback API
43 * Internal state values for the reader.
118 xmlFreeTextReader (xmlTextReaderPtr reader);
121 xmlTextReaderSetup(xmlTextReaderPtr reader,
129 xmlTextReaderRead (xmlTextReaderPtr reader);
133 xmlTextReaderReadInnerXml (xmlTextReaderPtr reader);
136 xmlTextReaderReadOuterXml (xmlTextReaderPtr reader);
140 xmlTextReaderReadString (xmlTextReaderPtr reader);
142 xmlTextReaderReadAttributeValue (xmlTextReaderPtr reader);
148 xmlTextReaderAttributeCount(xmlTextReaderPtr reader);
[all...]
/external/chromium_org/media/cast/net/rtcp/
H A Drtcp_utility.cc24 bool RtcpParser::Parse(base::BigEndianReader* reader) { argument
25 while (reader->remaining()) {
27 if (!ParseCommonHeader(reader, &header))
31 if (!reader->ReadPiece(&tmp, header.length_in_octets - 4))
65 bool RtcpParser::ParseCommonHeader(base::BigEndianReader* reader, argument
76 if (!reader->ReadU8(&byte))
86 if (!reader->ReadU8(&parsed_header->PT))
90 if (!reader->ReadU16(&bytes))
101 bool RtcpParser::ParseSR(base::BigEndianReader* reader, argument
104 if (!reader
127 ParseRR(base::BigEndianReader* reader, const RtcpCommonHeader& header) argument
143 ParseReportBlock(base::BigEndianReader* reader) argument
160 ParseApplicationDefined(base::BigEndianReader* reader, const RtcpCommonHeader& header) argument
183 ParseCastReceiverLogFrameItem( base::BigEndianReader* reader) argument
230 ParseFeedbackCommon(base::BigEndianReader* reader, const RtcpCommonHeader& header) argument
288 ParseExtendedReport(base::BigEndianReader* reader, const RtcpCommonHeader& header) argument
325 ParseExtendedReportReceiverReferenceTimeReport( base::BigEndianReader* reader, uint32 remote_ssrc) argument
[all...]
/external/chromium_org/chrome/common/safe_browsing/
H A Dzip_analyzer.cc15 zip::ZipReader reader; local
19 if (!reader.OpenFromPlatformFile(zip_file.TakePlatformFile())) {
25 for (; reader.HasMore(); advanced = reader.AdvanceToNextEntry()) {
30 if (!reader.OpenCurrentEntryInZip()) {
34 const base::FilePath& file = reader.current_entry_info()->file_path();

Completed in 781 milliseconds

1234567891011>>