Home
last modified time | relevance | path

Searched refs:get_data (Results 1 – 25 of 87) sorted by relevance

1234

/external/python/cpython2/Lib/test/
Dtest_pkgutil.py46 res1 = pkgutil.get_data(pkg, 'res.txt')
48 res2 = pkgutil.get_data(pkg, 'sub/res.txt')
73 res1 = pkgutil.get_data(pkg, 'res.txt')
75 res2 = pkgutil.get_data(pkg, 'sub/res.txt')
106 def get_data(self, path): member in PkgutilPEP302Tests.MyTestLoader
121 self.assertEqual(pkgutil.get_data('foo', 'dummy'), "Hello, world!")
130 self.assertEqual(pkgutil.get_data('foo', 'dummy'), "Hello, world!")
/external/fonttools/Lib/fontTools/misc/
Dplistlib.py204 def get_data(self): member in PlistTarget
228 self.current_key = self.get_data()
250 self.add_object(int(self.get_data()))
254 self.add_object(float(self.get_data()))
258 self.add_object(self.get_data())
263 self.add_object(b64decode(self.get_data()))
265 self.add_object(Data.fromBase64(self.get_data()))
269 self.add_object(_date_from_string(self.get_data()))
/external/libcxx/test/std/containers/sequences/vector.bool/
Dmove.pass.cpp72 assert(a.get_data() == 42); in main()
85 assert(a.get_data() == test_alloc_base::moved_value); in main()
90 assert(a.get_data() == 42); in main()
/external/libcxx/test/std/containers/container.requirements/container.requirements.general/
Dallocator_move.pass.cpp42 assert(a.get_data() == 42); in test()
55 assert(a.get_data() == test_alloc_base::moved_value); in test()
60 assert(a.get_data() == 42); in test()
/external/antlr/runtime/Cpp/include/
Dantlr3intstream.inl52 const ANTLR_UINT8* data = input->get_data();
81 const ANTLR_UINT8* data = input->get_data();
278 if (( input->get_nextChar() + la - 1) >= ( input->get_data() + input->get_sizeBuf() ))
457 …while (--la > 0 && (ANTLR_UINT8*)nextChar < ((ANTLR_UINT8*)input->get_data()) + input->get_sizeB…
472 … if ((ANTLR_UINT8*)(nextChar) < (((ANTLR_UINT8*)input->get_data()) + input->get_sizeBuf() ))
504 while (la++ < 0 && (ANTLR_UINT8*)nextChar > (ANTLR_UINT8*)input->get_data() )
530 if ( (ANTLR_UINT8*)nextChar >= (((ANTLR_UINT8*)input->get_data()) + input->get_sizeBuf() ))
547 … if ((ANTLR_UINT8*)(nextChar) < (((ANTLR_UINT8*)input->get_data()) + input->get_sizeBuf()))
592 …while (--la > 0 && (ANTLR_UINT8*)nextChar < ((ANTLR_UINT8*)input->get_data()) + input->get_sizeB…
608 … if ((ANTLR_UINT8*)(nextChar) < (((ANTLR_UINT8*)input->get_data()) + input->get_sizeBuf() ))
[all …]
Dantlr3collections.hpp52 DataType& get_data();
53 const DataType& get_data() const;
/external/tensorflow/tensorflow/python/keras/
Dregularizers_test.py43 def get_data(self): member in KerasRegularizersTest
60 (x_train, y_train), _ = self.get_data()
75 (x_train, y_train), _ = self.get_data()
/external/tensorflow/tensorflow/contrib/distribute/python/
Dkeras_embedding_model_correctness_test.py112 def get_data(self, member in DistributionStrategySiameseEmbeddingModelCorrectnessTest
121 get_data(count, min_words, max_words,
126 get_data(count, min_words, max_words,
Dkeras_correctness_test_base.py342 def get_data(self): member in TestDistributionStrategyCorrectnessBase
392 x_train, y_train, x_predict = self.get_data()
463 x_train, y_train, _ = self.get_data()
519 def get_data(self, member in TestDistributionStrategyEmbeddingModelCorrectnessBase
Dkeras_dnn_correctness_test.py65 def get_data(self): member in TestDistributionStrategyDnnCorrectness
106 x_train, y_train, _ = self.get_data()
/external/python/cpython3/Lib/test/
Dtest_pkgutil.py51 res1 = pkgutil.get_data(pkg, 'res.txt')
53 res2 = pkgutil.get_data(pkg, 'sub/res.txt')
78 res1 = pkgutil.get_data(pkg, 'res.txt')
80 res2 = pkgutil.get_data(pkg, 'sub/res.txt')
200 def get_data(self, path): member in PkgutilPEP302Tests.MyTestLoader
219 self.assertEqual(pkgutil.get_data('foo', 'dummy'), "Hello, world!")
228 self.assertEqual(pkgutil.get_data('foo', 'dummy'), "Hello, world!")
/external/libcxx/test/std/containers/sequences/vector/vector.cons/
Dmove.pass.cpp112 assert(a.get_data() == 42); in main()
125 assert(a.get_data() == test_alloc_base::moved_value); in main()
130 assert(a.get_data() == 42); in main()
/external/libpng/contrib/pngminus/
Dpnm2png.c70 png_uint_32 get_data (FILE *pnm_file, int depth);
408 *pix_ptr++ = get_data (pnm_file, 8); in pnm2png()
417 *pix_ptr++ = get_data (pnm_file, bit_depth); in pnm2png()
434 *pix_ptr++ = get_data (alpha_file, alpha_depth); in pnm2png()
579 png_uint_32 get_data (FILE *pnm_file, int depth) in get_data() function
/external/python/cpython3/Lib/importlib/
Dresources.py106 data = loader.get_data(full_path)
140 data = loader.get_data(full_path)
283 return BytesIO(self.zipimporter.get_data(path))
299 self.zipimporter.get_data(path)
D_bootstrap_external.py779 source_bytes = self.get_data(path)
818 data = self.get_data(bytecode_path)
835 source_bytes = self.get_data(source_path)
859 source_bytes = self.get_data(source_path)
914 def get_data(self, path): member in FileLoader
998 data = self.get_data(path)
/external/python/cpython3/Doc/library/
Dpkgutil.rst205 .. function:: get_data(package, resource)
210 :meth:`get_data <importlib.abc.ResourceLoader.get_data>` API. The
226 which does not support :meth:`get_data <importlib.abc.ResourceLoader.get_data>`,
229 :meth:`get_data <importlib.abc.ResourceLoader.get_data>`.
/external/python/dateutil/dateutil/zoneinfo/
D__init__.py6 from pkgutil import get_data
24 return BytesIO(get_data(__name__, ZONEFILENAME))
/external/blktrace/btt/
Dbtt_plot.py97 def get_data(files): function
377 generate_output(t, get_data([file]))
459 generate_output(t, get_data(files))
465 generate_output(type, get_data(files))
/external/python/cpython3/Lib/
Dplistlib.py293 def get_data(self): member in _PlistParser
315 self.current_key = self.get_data()
332 self.add_object(int(self.get_data()))
335 self.add_object(float(self.get_data()))
338 self.add_object(self.get_data())
342 self.add_object(_decode_base64(self.get_data()))
345 self.add_object(Data.fromBase64(self.get_data()))
348 self.add_object(_date_from_string(self.get_data()))
Dimp.py142 def get_data(self, path): member in _HackedGetData
157 return super().get_data(path)
/external/python/cpython3/Lib/test/test_importlib/
Dtest_abc.py237 def get_data(self, path): member in ResourceLoader
238 return super().get_data(path)
247 self.ins.get_data('/some/path')
689 def get_data(self, path): member in SourceOnlyLoader
724 def get_data(self, path): member in SourceLoader
726 return super().get_data(path)
799 self.loader.get_data = raise_OSError
896 self.loader.get_data(bytecode_path)
/external/bcc/tools/lib/
Ducalls.py270 def get_data(): function
322 data = get_data() # [(function, (num calls, latency in ns))]
/external/tensorflow/tensorflow/examples/speech_commands/
Dtrain.py214 train_fingerprints, train_ground_truth = audio_processor.get_data(
243 audio_processor.get_data(FLAGS.batch_size, i, model_settings, 0.0,
278 test_fingerprints, test_ground_truth = audio_processor.get_data(
/external/python/cpython2/Lib/
Dpkgutil.py251 def get_data(self, pathname): member in ImpLoader
554 def get_data(package, resource): function
589 return loader.get_data(resource_name)
/external/grpc-grpc/src/python/grpcio_tests/tests/stress/
Dmetrics_server.py31 count = self._histogram.get_data().count

1234