Home
last modified time | relevance | path

Searched defs:reader (Results 1 – 25 of 1539) sorted by relevance

12345678910>>...62

/external/gson/gson/src/test/java/com/google/gson/stream/
DJsonReaderTest.java39 JsonReader reader = new JsonReader(reader("[true, true]")); in testReadArray() local
48 JsonReader reader = new JsonReader(reader("[]")); in testReadEmptyArray() local
56 JsonReader reader = new JsonReader(reader( in testReadObject() local
68 JsonReader reader = new JsonReader(reader("{}")); in testReadEmptyObject() local
76 JsonReader reader = new JsonReader(reader("{}")); in testHasNextEndOfDocument() local
83 JsonReader reader = new JsonReader(reader( in testSkipArray() local
95 JsonReader reader = new JsonReader(reader( in testSkipArrayAfterPeek() local
108 JsonReader reader = new JsonReader(reader( in testSkipTopLevelObject() local
115 JsonReader reader = new JsonReader(reader( in testSkipObject() local
129 JsonReader reader = new JsonReader(reader(json)); in testSkipObjectAfterPeek() local
[all …]
DJsonReaderPathTest.java48 JsonReader reader = factory.create("{\"a\":[2,true,false,null,\"b\",{\"c\":\"d\"},[3]]}"); in path() local
105 JsonReader reader = factory.create("{\"a\":1,\"b\":2}"); in objectPath() local
160 JsonReader reader = factory.create("[1,2]"); in arrayPath() local
203 JsonReader reader = factory.create("[][]"); in multipleTopLevelValuesInOneDocument() local
216 JsonReader reader = factory.create("[1,2,3]"); in skipArrayElements() local
225 JsonReader reader = factory.create("[[],1]"); in skipArrayEnd() local
236 JsonReader reader = factory.create("{\"a\":[]}"); in skipObjectNames() local
248 JsonReader reader = factory.create("{\"a\":1,\"b\":2}"); in skipObjectValues() local
262 JsonReader reader = factory.create("{\"a\":{},\"b\":2}"); in skipObjectEnd() local
274 JsonReader reader = factory.create("[[1,2,3],4]"); in skipNestedStructures() local
[all …]
/external/rust/crates/bitreader/src/
Dtests.rs18 let mut reader = BitReader::new(bytes); in read_buffer() localVariable
74 let mut reader = BitReader::new(bytes); in read_buffer() localVariable
105 let mut reader = BitReader::new(bytes); in read_buffer() localVariable
119 let mut reader = BitReader::new(bytes); in read_buffer() localVariable
134 let mut reader = BitReader::new(bytes); in try_all_sizes() localVariable
138 let mut reader = BitReader::new(bytes); in try_all_sizes() localVariable
144 let mut reader = BitReader::new(bytes); in try_all_sizes() localVariable
154 let mut reader = BitReader::new(&bytes[..]); in try_all_sizes() localVariable
166 let mut reader = BitReader::new(bytes); in skipping_and_zero_reads() localVariable
188 let mut reader = BitReader::new(bytes); in errors() localVariable
[all …]
/external/grpc-grpc/src/core/lib/json/
Djson_reader.cc27 static void json_reader_string_clear(grpc_json_reader* reader) { in json_reader_string_clear()
31 static void json_reader_string_add_char(grpc_json_reader* reader, uint32_t c) { in json_reader_string_add_char()
35 static void json_reader_string_add_utf32(grpc_json_reader* reader, in json_reader_string_add_utf32()
40 static uint32_t grpc_json_reader_read_char(grpc_json_reader* reader) { in grpc_json_reader_read_char()
44 static void json_reader_container_begins(grpc_json_reader* reader, in json_reader_container_begins()
50 grpc_json_reader* reader) { in grpc_json_reader_container_ends()
54 static void json_reader_set_key(grpc_json_reader* reader) { in json_reader_set_key()
58 static void json_reader_set_string(grpc_json_reader* reader) { in json_reader_set_string()
62 static int json_reader_set_number(grpc_json_reader* reader) { in json_reader_set_number()
66 static void json_reader_set_true(grpc_json_reader* reader) { in json_reader_set_true()
[all …]
/external/gson/gson/src/test/java/com/google/gson/internal/bind/
DJsonElementReaderTest.java32 JsonTreeReader reader = new JsonTreeReader(element); in testNumbers() local
42 JsonTreeReader reader = new JsonTreeReader(element); in testLenientNansAndInfinities() local
53 JsonTreeReader reader = new JsonTreeReader(element); in testStrictNansAndInfinities() local
82 JsonTreeReader reader = new JsonTreeReader(element); in testNumbersFromStrings() local
92 JsonTreeReader reader = new JsonTreeReader(element); in testStringsFromNumbers() local
100 JsonTreeReader reader = new JsonTreeReader(element); in testBooleans() local
109 JsonTreeReader reader = new JsonTreeReader(element); in testNulls() local
118 JsonTreeReader reader = new JsonTreeReader(element); in testStrings() local
127 JsonTreeReader reader = new JsonTreeReader(element); in testArray() local
143 JsonTreeReader reader = new JsonTreeReader(element); in testObject() local
[all …]
/external/pigweed/pw_varint/
Dstream_test.cc45 stream::MemoryReader reader(buffer); in TEST() local
54 stream::MemoryReader reader(buffer); in TEST() local
63 stream::MemoryReader reader(buffer); in TEST() local
72 stream::MemoryReader reader(buffer); in TEST() local
81 stream::MemoryReader reader(buffer); in TEST() local
94 stream::MemoryReader reader(buffer); in TEST() local
103 stream::MemoryReader reader(buffer); in TEST() local
112 stream::MemoryReader reader(buffer); in TEST() local
121 stream::MemoryReader reader(buffer); in TEST() local
130 stream::MemoryReader reader(buffer); in TEST() local
[all …]
/external/cronet/net/ntlm/
Dntlm_buffer_reader_unittest.cc14 NtlmBufferReader reader(buf); in TEST() local
35 NtlmBufferReader reader(b); in TEST() local
63 NtlmBufferReader reader; in TEST() local
81 NtlmBufferReader reader(buf); in TEST() local
94 NtlmBufferReader reader(buf); in TEST() local
107 NtlmBufferReader reader(buf); in TEST() local
120 NtlmBufferReader reader(expected); in TEST() local
133 NtlmBufferReader reader(buf); in TEST() local
145 NtlmBufferReader reader(buf); in TEST() local
154 NtlmBufferReader reader(buf); in TEST() local
[all …]
/external/libxml2/
Dxmlreader.c238 xmlTextReaderFreeProp(xmlTextReaderPtr reader, xmlAttrPtr cur) { in xmlTextReaderFreeProp()
272 xmlTextReaderFreePropList(xmlTextReaderPtr reader, xmlAttrPtr cur) { in xmlTextReaderFreePropList()
291 xmlTextReaderFreeNodeList(xmlTextReaderPtr reader, xmlNodePtr cur) { in xmlTextReaderFreeNodeList()
386 xmlTextReaderFreeNode(xmlTextReaderPtr reader, xmlNodePtr cur) { in xmlTextReaderFreeNode()
461 xmlTextReaderFreeDoc(xmlTextReaderPtr reader, xmlDocPtr cur) { in xmlTextReaderFreeDoc()
510 xmlTextReaderDebug(xmlTextReaderPtr reader) { in xmlTextReaderDebug()
546 xmlTextReaderEntPush(xmlTextReaderPtr reader, xmlNodePtr value) in xmlTextReaderEntPush()
575 xmlTextReaderEntPop(xmlTextReaderPtr reader) in xmlTextReaderEntPop()
603 xmlTextReaderPtr reader = ctxt->_private; in xmlTextReaderStartElement() local
629 xmlTextReaderPtr reader = ctxt->_private; in xmlTextReaderEndElement() local
[all …]
/external/cronet/third_party/libxml/src/
Dxmlreader.c238 xmlTextReaderFreeProp(xmlTextReaderPtr reader, xmlAttrPtr cur) { in xmlTextReaderFreeProp()
272 xmlTextReaderFreePropList(xmlTextReaderPtr reader, xmlAttrPtr cur) { in xmlTextReaderFreePropList()
291 xmlTextReaderFreeNodeList(xmlTextReaderPtr reader, xmlNodePtr cur) { in xmlTextReaderFreeNodeList()
386 xmlTextReaderFreeNode(xmlTextReaderPtr reader, xmlNodePtr cur) { in xmlTextReaderFreeNode()
461 xmlTextReaderFreeDoc(xmlTextReaderPtr reader, xmlDocPtr cur) { in xmlTextReaderFreeDoc()
510 xmlTextReaderDebug(xmlTextReaderPtr reader) { in xmlTextReaderDebug()
546 xmlTextReaderEntPush(xmlTextReaderPtr reader, xmlNodePtr value) in xmlTextReaderEntPush()
575 xmlTextReaderEntPop(xmlTextReaderPtr reader) in xmlTextReaderEntPop()
603 xmlTextReaderPtr reader = ctxt->_private; in xmlTextReaderStartElement() local
629 xmlTextReaderPtr reader = ctxt->_private; in xmlTextReaderEndElement() local
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DAnimatableValueParser.java25 JsonReader reader, LottieComposition composition) throws IOException { in parseFloat()
30 JsonReader reader, LottieComposition composition, boolean isDp) throws IOException { in parseFloat()
36 JsonReader reader, LottieComposition composition) throws IOException { in parseInteger()
41 JsonReader reader, LottieComposition composition) throws IOException { in parsePoint()
46 JsonReader reader, LottieComposition composition) throws IOException { in parseScale()
51 JsonReader reader, LottieComposition composition) throws IOException { in parseShapeData()
57 JsonReader reader, LottieComposition composition) throws IOException { in parseDocumentData()
62 JsonReader reader, LottieComposition composition) throws IOException { in parseColor()
67 JsonReader reader, LottieComposition composition, int points) throws IOException { in parseGradientColor()
75 private static <T> List<Keyframe<T>> parse(JsonReader reader, in parse()
[all …]
DJsonUtils.java21 @ColorInt static int jsonToColor(JsonReader reader) throws IOException { in jsonToColor()
33 static List<PointF> jsonToPoints(JsonReader reader, float scale) throws IOException { in jsonToPoints()
46 static PointF jsonToPoint(JsonReader reader, float scale) throws IOException { in jsonToPoint()
59 private static PointF jsonNumbersToPoint(JsonReader reader, float scale) throws IOException { in jsonNumbersToPoint()
68 private static PointF jsonArrayToPoint(JsonReader reader, float scale) throws IOException { in jsonArrayToPoint()
83 private static PointF jsonObjectToPoint(JsonReader reader, float scale) throws IOException { in jsonObjectToPoint()
104 static float valueFromObject(JsonReader reader) throws IOException { in valueFromObject()
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
DCharSequenceReaderTest.java49 private void checkRead(final Reader reader, final String expected) throws IOException { in checkRead()
57 final Reader reader = new CharSequenceReader("FooBar"); in testClose() local
78 try (Reader reader = new CharSequenceReader("FooBar")) { in testMark()
104 try (Reader reader = new CharSequenceReader("FooBar")) { in testMarkSupported()
119 try (Reader reader = new CharSequenceReader(charSequence)) { in testRead()
126 try (Reader reader = new CharSequenceReader(charSequence, 1, 5)) { in testRead()
144 try (Reader reader = new CharSequenceReader(charSequence)) { in testReadCharArray()
156 try (Reader reader = new CharSequenceReader(charSequence, 1, 5)) { in testReadCharArray()
181 try (Reader reader = new CharSequenceReader(charSequence)) { in testReadCharArrayPortion()
189 try (Reader reader = new CharSequenceReader(charSequence, 1, 5)) { in testReadCharArrayPortion()
[all …]
DSequenceReaderTest.java74 private void checkRead(final Reader reader, final String expected) throws IOException { in checkRead()
80 private void checkReadEof(final Reader reader) throws IOException { in checkReadEof()
88 try (Reader reader = new SequenceReader(new CharSequenceReader("FooBar"))) { in testAutoClose()
97 final Reader reader = new SequenceReader(new CharSequenceReader("FooBar")); in testClose() local
148 try (Reader reader = new SequenceReader()) { in testMarkSupported()
155 try (Reader reader = new SequenceReader(new StringReader("Foo"), new StringReader("Bar"))) { in testRead()
168 try (Reader reader = new SequenceReader(new StringReader("Foo"), new StringReader("Bar"))) { in testReadCharArray()
185 try (Reader reader = new SequenceReader(new StringReader("Foo"), new StringReader("Bar"))) { in testReadCharArrayPortion()
199 final Reader reader = new SequenceReader(new CharSequenceReader("FooBar")); in testReadClosedReader() local
209 try (Reader reader = new SequenceReader(readers)) { in testReadCollection()
[all …]
/external/google-breakpad/src/common/dwarf/
Dbytereader_unittest.cc64 ByteReader reader(ENDIANNESS_BIG); in TEST_F() local
92 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F() local
381 ByteReader reader(ENDIANNESS_BIG); in TEST_F() local
390 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F() local
402 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F() local
412 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F() local
422 ByteReader reader(ENDIANNESS_BIG); in TEST_F() local
432 ByteReader reader(ENDIANNESS_BIG); in TEST_F() local
444 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F() local
456 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F() local
[all …]
/external/libbrillo/brillo/dbus/
Ddata_serialization.cc76 bool PopValueFromReader(dbus::MessageReader* reader, bool* value) { in PopValueFromReader()
82 bool PopValueFromReader(dbus::MessageReader* reader, uint8_t* value) { in PopValueFromReader()
88 bool PopValueFromReader(dbus::MessageReader* reader, int16_t* value) { in PopValueFromReader()
94 bool PopValueFromReader(dbus::MessageReader* reader, uint16_t* value) { in PopValueFromReader()
100 bool PopValueFromReader(dbus::MessageReader* reader, int32_t* value) { in PopValueFromReader()
106 bool PopValueFromReader(dbus::MessageReader* reader, uint32_t* value) { in PopValueFromReader()
112 bool PopValueFromReader(dbus::MessageReader* reader, int64_t* value) { in PopValueFromReader()
118 bool PopValueFromReader(dbus::MessageReader* reader, uint64_t* value) { in PopValueFromReader()
124 bool PopValueFromReader(dbus::MessageReader* reader, double* value) { in PopValueFromReader()
130 bool PopValueFromReader(dbus::MessageReader* reader, std::string* value) { in PopValueFromReader()
[all …]
/external/pigweed/pw_protobuf/
Dstream_decoder_test.cc31 explicit NonSeekableMemoryReader(stream::MemoryReader& reader) in NonSeekableMemoryReader()
73 stream::MemoryReader reader(as_bytes(span(encoded_proto))); in TEST() local
153 stream::MemoryReader reader(as_bytes(span(encoded_proto))); in TEST() local
188 NonSeekableMemoryReader reader(wrapped_reader); in TEST() local
213 stream::MemoryReader reader(as_bytes(span(encoded_proto))); in TEST() local
239 stream::MemoryReader reader(as_bytes(span(encoded_proto))); in TEST() local
267 stream::MemoryReader reader(as_bytes(span(encoded_proto))); in TEST() local
310 stream::MemoryReader reader(as_bytes(span(encoded_proto))); in TEST() local
345 stream::MemoryReader reader(as_bytes(span(encoded_proto))); in TEST() local
402 stream::MemoryReader reader(as_bytes(span(encoded_proto))); in TEST() local
[all …]
/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dframe_handler.cc121 alts_frame_reader* reader = in alts_create_frame_reader() local
126 bool alts_is_frame_reader_done(alts_frame_reader* reader) { in alts_is_frame_reader_done()
132 bool alts_has_read_frame_length(alts_frame_reader* reader) { in alts_has_read_frame_length()
136 size_t alts_get_reader_bytes_remaining(alts_frame_reader* reader) { in alts_get_reader_bytes_remaining()
140 void alts_reset_reader_output_buffer(alts_frame_reader* reader, in alts_reset_reader_output_buffer()
145 bool alts_reset_frame_reader(alts_frame_reader* reader, unsigned char* buffer) { in alts_reset_frame_reader()
154 bool alts_read_frame_bytes(alts_frame_reader* reader, in alts_read_frame_bytes()
210 size_t alts_get_output_bytes_read(alts_frame_reader* reader) { in alts_get_output_bytes_read()
214 unsigned char* alts_get_output_buffer(alts_frame_reader* reader) { in alts_get_output_buffer()
218 void alts_destroy_frame_reader(alts_frame_reader* reader) { gpr_free(reader); } in alts_destroy_frame_reader()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/frame_protector/
Dframe_handler.cc123 alts_frame_reader* reader = in alts_create_frame_reader() local
128 bool alts_is_frame_reader_done(alts_frame_reader* reader) { in alts_is_frame_reader_done()
134 bool alts_has_read_frame_length(alts_frame_reader* reader) { in alts_has_read_frame_length()
138 size_t alts_get_reader_bytes_remaining(alts_frame_reader* reader) { in alts_get_reader_bytes_remaining()
142 void alts_reset_reader_output_buffer(alts_frame_reader* reader, in alts_reset_reader_output_buffer()
147 bool alts_reset_frame_reader(alts_frame_reader* reader, unsigned char* buffer) { in alts_reset_frame_reader()
156 bool alts_read_frame_bytes(alts_frame_reader* reader, in alts_read_frame_bytes()
212 size_t alts_get_output_bytes_read(alts_frame_reader* reader) { in alts_get_output_bytes_read()
216 unsigned char* alts_get_output_buffer(alts_frame_reader* reader) { in alts_get_output_buffer()
220 void alts_destroy_frame_reader(alts_frame_reader* reader) { gpr_free(reader); } in alts_destroy_frame_reader()
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle_test.cc81 void Expect(BundleReader* reader, const string& key, in Expect()
98 void ExpectVariant(BundleReader* reader, const string& key, in ExpectVariant()
122 void ExpectNext(BundleReader* reader, const Tensor& expected_val) { in ExpectNext()
131 std::vector<string> AllTensorKeys(BundleReader* reader) { in AllTensorKeys()
203 BundleReader reader(Env::Default(), Prefix("foo")); in TestBasic() local
214 BundleReader reader(Env::Default(), Prefix("foo")); in TestBasic() local
233 BundleReader reader(Env::Default(), Prefix("bar")); in TestBasic() local
244 BundleReader reader(Env::Default(), Prefix("bar")); in TestBasic() local
257 BundleReader reader(Env::Default(), Prefix("merged")); in TestBasic() local
273 BundleReader reader(Env::Default(), Prefix("merged")); in TestBasic() local
[all …]
/external/webrtc/test/pc/e2e/analyzer/video/
Dmulti_reader_queue.h40 for (size_t reader : readers) { in MultiReaderQueue() local
48 void AddReader(size_t reader, size_t reader_to_copy) { in AddReader()
63 void AddReader(size_t reader) { in AddReader()
75 void RemoveReader(size_t reader) { in RemoveReader()
93 absl::optional<T> PopFront(size_t reader) { in PopFront()
112 absl::optional<T> Front(size_t reader) const { in Front()
122 bool IsEmpty(size_t reader) const { in IsEmpty()
132 size_t size(size_t reader) const { in size()
141 size_t GetHeadPositionOrDie(size_t reader) const { in GetHeadPositionOrDie()
/external/google-smali/dexlib2/src/test/java/com/android/tools/smali/dexlib2/dexbacked/
DBaseDexReaderTest.java72 DexReader reader = dexBuf.readerAt(0); in performSizedIntTest() local
87 DexReader reader = dexBuf.readerAt(0); in performSizedIntFailureTest() local
127 DexReader reader = dexBuf.readerAt(0); in performSizedSmallUintTest() local
146 DexReader reader = dexBuf.readerAt(0); in performSizedSmallUintFailureTest() local
197 DexReader reader = dexBuf.readerAt(0); in performSizedRightExtendedIntTest() local
212 DexReader reader = dexBuf.readerAt(0); in performSizedRightExtendedIntFailureTest() local
306 DexReader reader = dexBuf.readerAt(0); in performSizedRightExtendedLongTest() local
321 DexReader reader = dexBuf.readerAt(0); in performSizedRightExtendedLongFailureTest() local
415 DexReader reader = dexBuf.readerAt(0); in performSizedLongTest() local
430 DexReader reader = dexBuf.readerAt(0); in performSizedLongFailureTest() local
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
DBaseDexReaderTest.java71 BaseDexReader reader = dexBuf.readerAt(0); in performSizedIntTest() local
86 BaseDexReader reader = dexBuf.readerAt(0); in performSizedIntFailureTest() local
126 BaseDexReader reader = dexBuf.readerAt(0); in performSizedSmallUintTest() local
145 BaseDexReader reader = dexBuf.readerAt(0); in performSizedSmallUintFailureTest() local
196 BaseDexReader reader = dexBuf.readerAt(0); in performSizedRightExtendedIntTest() local
211 BaseDexReader reader = dexBuf.readerAt(0); in performSizedRightExtendedIntFailureTest() local
305 BaseDexReader reader = dexBuf.readerAt(0); in performSizedRightExtendedLongTest() local
320 BaseDexReader reader = dexBuf.readerAt(0); in performSizedRightExtendedLongFailureTest() local
414 BaseDexReader reader = dexBuf.readerAt(0); in performSizedLongTest() local
429 BaseDexReader reader = dexBuf.readerAt(0); in performSizedLongFailureTest() local
/external/libaom/common/
Dvideo_reader.c34 AvxVideoReader *reader = NULL; in aom_video_reader_open() local
83 void aom_video_reader_close(AvxVideoReader *reader) { in aom_video_reader_close()
94 int aom_video_reader_read_frame(AvxVideoReader *reader) { in aom_video_reader_read_frame()
114 const uint8_t *aom_video_reader_get_frame(AvxVideoReader *reader, in aom_video_reader_get_frame()
121 int64_t aom_video_reader_get_frame_pts(AvxVideoReader *reader) { in aom_video_reader_get_frame_pts()
125 FILE *aom_video_reader_get_file(AvxVideoReader *reader) { in aom_video_reader_get_file()
129 const AvxVideoInfo *aom_video_reader_get_info(AvxVideoReader *reader) { in aom_video_reader_get_info()
133 void aom_video_reader_set_fourcc(AvxVideoReader *reader, uint32_t fourcc) { in aom_video_reader_set_fourcc()
/external/webrtc/rtc_base/
Dbitstream_reader_unittest.cc31 absl::optional<BitstreamReader> reader(absl::in_place, bytes); in TEST() local
43 absl::optional<BitstreamReader> reader(absl::in_place, bytes); in TEST() local
55 BitstreamReader reader(bytes); in TEST() local
80 BitstreamReader reader(bytes); in TEST() local
90 BitstreamReader reader(bytes); in TEST() local
121 BitstreamReader reader(bytes); in TEST() local
132 BitstreamReader reader(bytes); in TEST() local
143 BitstreamReader reader(bytes); in TEST() local
172 BitstreamReader reader(bytes); in TEST() local
187 BitstreamReader reader(bytes); in TEST() local
[all …]
/external/zlib/google/
Dzip_reader_unittest.cc116 bool ExtractCurrentEntryToFilePath(zip::ZipReader* reader, in ExtractCurrentEntryToFilePath()
123 zip::ZipReader* const reader, in LocateAndOpenEntry()
170 if (ZipReader reader; reader.Open(zip_path)) { local
205 ZipReader reader; in TEST_F() local
211 ZipReader reader; in TEST_F() local
219 ZipReader reader; in TEST_F() local
226 ZipReader reader; in TEST_F() local
233 ZipReader reader; in TEST_F() local
243 ZipReader reader; in TEST_F() local
264 ZipReader reader; in TEST_F() local
[all …]

12345678910>>...62