Home
last modified time | relevance | path

Searched refs:raw_bytes (Results 1 – 16 of 16) sorted by relevance

/external/llvm-project/lldb/test/API/python_api/disassemble-raw-data/
DTestDisassembleRawData.py29 raw_bytes = bytearray([0x21, 0xf0, 0xa0, 0x03])
32 raw_bytes = bytearray([0x03, 0xa0, 0xf0, 0x21])
35 raw_bytes = bytearray([0x00, 0x00, 0x80, 0x38])
38 raw_bytes = bytearray([0x48, 0x89, 0xe5])
41 insts = target.GetInstructions(lldb.SBAddress(0, target), raw_bytes)
47 print("Raw bytes: ", [hex(x) for x in raw_bytes])
DTestDisassemble_VST1_64.py30 raw_bytes = bytearray([0xf0, 0xb5, 0x03, 0xaf,
47 insts = target.GetInstructions(lldb.SBAddress(), raw_bytes)
68 raw_bytes = bytearray([0x04, 0xf9, 0xed, 0x82])
70 insts = target.GetInstructions(lldb.SBAddress(), raw_bytes)
76 print("Raw bytes: ", [hex(x) for x in raw_bytes])
/external/python/oauth2client/oauth2client/
D_helpers.py96 def _urlsafe_b64encode(raw_bytes): argument
97 raw_bytes = _to_bytes(raw_bytes, encoding='utf-8')
98 return base64.urlsafe_b64encode(raw_bytes).rstrip(b'=')
/external/python/rsa/rsa/
Dtransform.py23 def bytes2int(raw_bytes: bytes) -> int:
34 return int.from_bytes(raw_bytes, 'big', signed=False)
/external/rust/crates/grpcio/src/
Dcodec.rs41 let raw_bytes = &mut *(bytes as *mut [std::mem::MaybeUninit<u8>] as *mut [u8]); in ser() localVariable
42 let mut s = CodedOutputStream::bytes(raw_bytes); in ser()
/external/tensorflow/tensorflow/lite/
Dstring_util_test.cc42 char raw_bytes[15]; in TEST() member
55 2, kTfLiteString, "", {1}, quant, data.raw_bytes, sizeof(data.raw_bytes)); in TEST()
Dinterpreter_test.cc751 char raw_bytes[15]; in TEST() member
762 quantized, data.raw_bytes, in TEST()
763 sizeof(data.raw_bytes)), in TEST()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dcgroup_helpers.c251 unsigned char raw_bytes[8]; in get_cgroup_id() member
286 memcpy(id.raw_bytes, fhp->f_handle, 8); in get_cgroup_id()
/external/google-breakpad/src/processor/
Dexploitability_linux.h85 const uint8_t *raw_bytes,
Dexploitability_linux.cc487 const uint8_t *raw_bytes, in DisassembleBytes() argument
490 if (!raw_bytes || !objdump_output_buffer) { in DisassembleBytes()
504 if (write(raw_bytes_fd, raw_bytes, MAX_INSTRUCTION_LEN) in DisassembleBytes()
/external/fonttools/Lib/fontTools/misc/plistlib/
D__init__.py402 def _string_or_data_element(raw_bytes: bytes, ctx: SimpleNamespace) -> etree.Element:
404 return _data_element(raw_bytes, ctx)
407 string = raw_bytes.decode(encoding="ascii", errors="strict")
410 "invalid non-ASCII bytes; use unicode string instead: %r" % raw_bytes
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_view.cc93 const size_t raw_bytes = in NodeItemBytes() local
118 ((raw_bytes + kItemAlignment - 1) / kItemAlignment) * kItemAlignment; in NodeItemBytes()
/external/openscreen/platform/base/
Dip_address_unittest.cc27 const uint8_t raw_bytes[4]{b[0], b[1], b[2], b[3]}; in TEST() local
28 EXPECT_THAT(raw_bytes, ElementsAreArray(x)); in TEST()
/external/grpc-grpc/src/objective-c/tests/
DGRPCClientTests.m342 const unsigned char raw_bytes[] = {1, 2, 3, 4};
343 NSData *trailer_data = [NSData dataWithBytes:raw_bytes length:sizeof(raw_bytes)];
/external/python/setuptools/setuptools/command/
Deasy_install.py819 raw_bytes = resource_string('setuptools', name)
820 return raw_bytes.decode('utf-8')
/external/google-styleguide/cpplint/
Dcpplint_unittest.py3070 def DoTest(self, raw_bytes, has_invalid_utf8): argument
3074 unicode(raw_bytes, 'utf8', 'replace').split('\n'),