Searched refs:source_bytes (Results 1 – 9 of 9) sorted by relevance
/external/sfntly/cpp/src/test/ |
D | open_type_data_test.cc | 46 ByteVector source_bytes(1024); in TestOTFCopy() local 47 for (size_t i = 0; i < source_bytes.size(); ++i) { in TestOTFCopy() 48 source_bytes[i] = (byte_t)(i & 0xff); in TestOTFCopy() 50 ByteArrayPtr source_array = new MemoryByteArray(&(source_bytes[0]), 1024); in TestOTFCopy() 60 EXPECT_TRUE(std::equal(source_bytes.begin(), source_bytes.end(), in TestOTFCopy()
|
/external/python/cpython3/Lib/ |
D | py_compile.py | 122 source_bytes = loader.get_data(file) 124 code = loader.source_to_code(source_bytes, dfile or file,
|
/external/llvm/bindings/python/llvm/ |
D | disassembler.py | 122 source_bytes = c_char_p(source) 126 buf = cast(source_bytes, POINTER(c_ubyte * len(source))).contents
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 507 def decode_source(source_bytes): argument 513 source_bytes_readline = _io.BytesIO(source_bytes).readline 516 return newline_decoder.decode(source_bytes.decode(encoding[0])) 729 source_bytes = self.get_data(path) 733 return decode_source(source_bytes) 780 source_bytes = self.get_data(source_path) 781 code_object = self.source_to_code(source_bytes, source_path) 786 len(source_bytes))
|
/external/python/cpython2/Lib/test/ |
D | test_memoryview.py | 18 source_bytes = b"abcdef" variable in AbstractMemoryTests 22 return self.source_bytes 288 source_bytes = b"XabcdefY" variable in BaseMemorySliceTests 305 source_bytes = b"XabcdefY" variable in BaseMemorySliceSliceTests
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 22 source_bytes = self.source.encode('utf-8') 23 self.assertEqual(self.util.decode_source(source_bytes), self.source) 27 source_bytes = source.encode('latin-1') 28 assert source_bytes != source.encode('utf-8') 29 self.assertEqual(self.util.decode_source(source_bytes), source) 33 source_bytes = source.encode('utf-8') 34 self.assertEqual(self.util.decode_source(source_bytes),
|
/external/python/cpython3/Lib/test/ |
D | test_memoryview.py | 19 source_bytes = b"abcdef" variable in AbstractMemoryTests 23 return self.source_bytes 426 source_bytes = b"XabcdefY" variable in BaseMemorySliceTests 443 source_bytes = b"XabcdefY" variable in BaseMemorySliceSliceTests
|
/external/v8/tools/ |
D | js2c.py | 459 def BuildMetadata(sources, source_bytes, native_type): argument 471 total_length = len(source_bytes) 501 "sources_declaration": SOURCES_DECLARATION % ToCArray(source_bytes),
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 1175 .. function:: decode_source(source_bytes)
|