Home
last modified time | relevance | path

Searched refs:binary (Results 1 – 25 of 2419) sorted by relevance

12345678910>>...97

/external/deqp/external/vulkancts/framework/vulkan/
DvkPrograms.cpp52 ProgramBinary::ProgramBinary (ProgramFormat format, size_t binarySize, const deUint8* binary) in ProgramBinary() argument
54 , m_binary (binary, binary+binarySize) in ProgramBinary()
72 bool isSaneSpirVBinary (const ProgramBinary& binary) in isSaneSpirVBinary() argument
79 DE_ASSERT(binary.getFormat() == PROGRAM_FORMAT_SPIRV); in isSaneSpirVBinary()
81 if (binary.getSize() % sizeof(deUint32) != 0) in isSaneSpirVBinary()
84 if (binary.getSize() < sizeof(deUint32)) in isSaneSpirVBinary()
87 if (*(const deUint32*)binary.getBinary() != spirvMagicBytes) in isSaneSpirVBinary()
93 ProgramBinary* createProgramBinaryFromSpirV (const vector<deUint32>& binary) in createProgramBinaryFromSpirV() argument
95 DE_ASSERT(!binary.empty()); in createProgramBinaryFromSpirV()
98 …return new ProgramBinary(PROGRAM_FORMAT_SPIRV, binary.size()*sizeof(deUint32), (const deUint8*)&bi… in createProgramBinaryFromSpirV()
[all …]
DvkSpirVAsm.cpp45 spv_binary binary = DE_NULL; in assembleSpirV() local
55 … compileOk = spvTextToBinary(context, spvSource.c_str(), spvSource.size(), &binary, &diagnostic); in assembleSpirV()
62 dst->resize(binary->wordCount); in assembleSpirV()
63 std::copy(&binary->code[0], &binary->code[0] + binary->wordCount, dst->begin()); in assembleSpirV()
65 spvBinaryDestroy(binary); in assembleSpirV()
73 spvBinaryDestroy(binary); in assembleSpirV()
81 void disassembleSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* dst) in disassembleSpirV() argument
92 …const spv_result_t result = spvBinaryToText(context, binary, binarySizeInWords, 0, &text, &diagnos… in disassembleSpirV()
113 bool validateSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* infoLog) in validateSpirV() argument
120 spv_const_binary_t cbinary = { binary, binarySizeInWords }; in validateSpirV()
DvkBinaryRegistry.cpp58 void writeBinary (const std::string& dstDir, deUint32 index, const ProgramBinary& binary) in writeBinary() argument
66 std::ofstream out (fullPath.getPath(), std::ios_base::binary); in writeBinary()
71 out.write((const char*)binary.getBinary(), binary.getSize()); in writeBinary()
76 deUint32 binaryHash (const ProgramBinary* binary) in binaryHash() argument
78 return deMemoryHash(binary->getBinary(), binary->getSize()); in binaryHash()
318 void BinaryRegistryWriter::storeProgram (const ProgramIdentifier& id, const ProgramBinary& binary) in storeProgram() argument
320 const deUint32* const indexPtr = BinaryHash_find(m_binaryIndexMap, &binary); in storeProgram()
323 DE_ASSERT(binary.getFormat() == vk::PROGRAM_FORMAT_SPIRV); in storeProgram()
327 ProgramBinary* const binaryClone = new ProgramBinary(binary); in storeProgram()
340 writeBinary(m_dstPath, index, binary); in storeProgram()
[all …]
/external/compiler-rt/lib/asan/scripts/
Dasan_symbolize.py51 def symbolize(self, addr, binary, offset): argument
95 def symbolize(self, addr, binary, offset): argument
101 symbolizer_input = '"%s" %s' % (binary, offset)
134 def __init__(self, binary): argument
136 self.binary = binary
147 cmd += ['-e', self.binary]
153 def symbolize(self, addr, binary, offset): argument
155 if self.binary != binary:
209 def __init__(self, addr, binary): argument
211 self.binary = binary
[all …]
Dsymbolize.py69 binary = match.group(4)
73 if binary.startswith('/'):
74 binary = binary[1:]
75 binary = os.path.join(binary_prefix, binary)
77 if not os.path.exists(binary):
81 load_addr = android_get_load_address(binary)
84 if not pipes.has_key(binary):
85 pipes[binary] = subprocess.Popen(["addr2line", "-i", "-f", "-e", binary],
87 p = pipes[binary]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DBinaryTagTest.java33 byte[] binary = (byte[]) getMapValue("canonical: !!binary " + content, "canonical"); in testBinary()
34 assertEquals((byte) 'G', binary[0]); in testBinary()
35 assertEquals((byte) 'I', binary[1]); in testBinary()
36 assertEquals((byte) 'F', binary[2]); in testBinary()
37 assertEquals((byte) '8', binary[3]); in testBinary()
38 assertEquals((byte) '9', binary[4]); in testBinary()
42 byte[] binary = (byte[]) load("!!binary \"MQ==\""); in testBinary2()
43 assertEquals(1, binary.length); in testBinary2()
44 assertEquals((byte) '1', binary[0]); in testBinary2()
48 byte[] binary = (byte[]) getMapValue("canonical: !<tag:yaml.org,2002:binary> " + content, in testBinaryTag()
[all …]
/external/fonttools/Lib/fontTools/misc/
DtextTools.py39 binary = ""
42 binary = "1" + binary
44 binary = "0" + binary
47 items.append(binary)
48 binary = ""
49 if binary:
50 items.append(binary)
/external/autotest/client/site_tests/desktopui_KillRestart/
Ddesktopui_KillRestart.py18 def run_once(self, binary = 'chrome'): argument
21 lambda: os.system('pgrep %s >/dev/null' % binary) == 0,
22 error.TestFail('%s is not running at start of test' % binary),
27 utils.system('pkill -KILL %s' % binary)
30 raise error.TestFail('%s is not running before kill' % binary)
35 lambda: os.system('pgrep %s >/dev/null' % binary) == 0,
36 error.TestFail('%s is not running after kill' % binary),
/external/v8/test/mjsunit/regress/
Dregress-145201.js36 binary(operator, 1, false);
37 binary(operator, 1, true);
38 binary(operator, '{}', false);
39 binary(operator, '{}', true);
40 binary(operator, '"x"', false);
41 binary(operator, '"x"', true);
53 function binary(op, other_side, inverted) { function
/external/chromium-trace/catapult/third_party/gsutil/third_party/python-gflags/debian/
Drules44 binary-indep: build install
58 binary-arch: build install
61 binary: binary-indep binary-arch
62 .PHONY: build clean binary-indep binary-arch binary install configure
/external/gptfdisk/
Dgdisk_test.sh367 for binary in gdisk sgdisk
370 printf "\033[0;34m**Testing $binary binary**\033[m\n"
372 create_table "$binary"
373 create_partition "$binary"
374 change_partition_name "$binary"
375 change_partition_type "$binary"
376 backup_table "$binary"
377 delete_partition "$binary"
379 change_disk_uid "$binary"
380 wipe_table "$binary"
/external/cmockery/cmockery_0_1_2/packages/deb/
Drules82 binary-indep: build install
86 binary-arch: build install
116 binary: binary-indep binary-arch
117 .PHONY: build clean binary-indep binary-arch binary install
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DDataChannel.java70 public final boolean binary; field in DataChannel.Buffer
72 public Buffer(ByteBuffer data, boolean binary) { in Buffer() argument
74 this.binary = binary; in Buffer()
137 return sendNative(data, buffer.binary); in send()
139 private native boolean sendNative(byte[] data, boolean binary); in sendNative() argument
/external/boringssl/src/ssl/test/runner/
Dchacha20_poly1305.go46 binary.LittleEndian.PutUint32(out[i*4:i*4+4], workingState[i]+state[i])
72 state[4+i] = binary.LittleEndian.Uint32(key[i*4 : i*4+4])
77 state[14] = binary.LittleEndian.Uint32(nonce[0:4])
78 state[15] = binary.LittleEndian.Uint32(nonce[4:8])
80 state[13] = binary.LittleEndian.Uint32(nonce[0:4])
81 state[14] = binary.LittleEndian.Uint32(nonce[4:8])
82 state[15] = binary.LittleEndian.Uint32(nonce[8:12])
155 binary.LittleEndian.PutUint64(out, uint64(len(additionalData)))
157 binary.LittleEndian.PutUint64(out, uint64(len(ciphertext)))
169 binary.LittleEndian.PutUint64(out, uint64(len(additionalData)))
[all …]
/external/curl/tests/data/
Dtest356 --data-binary
26 HTTP POST binary data with embedded NUL
29 http://%HOSTIP:%HTTPPORT/we/want/35 --data-binary @log/test35.txt
32 This� is binary data with an embedded NUL byte
48 This� is binary data with an embedded NUL byte
/external/webrtc/talk/app/webrtc/
Ddatachannelinterface.h70 DataBuffer(const rtc::Buffer& data, bool binary) in DataBuffer()
72 binary(binary) { in DataBuffer()
77 binary(false) { in DataBuffer()
85 bool binary; member
/external/autotest/client/cros/audio/
Daudio_data.py60 def __init__(self, binary, channel, sample_format): argument
72 if binary:
73 self.read_binary(binary)
92 def read_binary(self, binary): argument
101 with contextlib.closing(StringIO.StringIO(binary)) as f:
/external/libexif/
DREADME-Win32.txt1 If this is a combined source/binary distribution tree, then you can find
3 * the binary DLL in the subdirectory binary/bin/
4 * the include files in the subdirectory binary/include/
29 If you want to build a combined source/binary distribution tarball/zipfile,
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
Dresource_loader.py38 def FindResource(self, some_path, binary=False): argument
48 return self.FindResourceGivenAbsolutePath(some_path, binary)
50 return self.FindResourceGivenRelativePath(some_path, binary)
52 def FindResourceGivenAbsolutePath(self, absolute_path, binary=False): argument
64 return resource_module.Resource(longest_candidate, absolute_path, binary)
66 def FindResourceGivenRelativePath(self, relative_path, binary=False): argument
72 return resource_module.Resource(script_path, absolute_path, binary)
190 res = self.FindResourceGivenAbsolutePath(abs_path, binary=True)
/external/llvm/docs/tutorial/
DLangImpl6.rst51 binary operators. An example of this is:
63 def binary> 10 (LHS RHS)
67 def binary| 5 (LHS RHS)
76 def binary= 9 (LHS RHS)
84 implementing support for user-defined binary operators and adding unary
90 Adding support for user-defined binary operators is pretty simple with
91 our current framework. We'll first add support for the unary/binary
109 if (IdentifierStr == "binary")
115 This just adds lexer support for the unary and binary keywords, like we
117 about our current AST, is that we represent binary operators with full
[all …]
/external/selinux/secilc/
Dsecilc.c77 FILE *binary = NULL; in main() local
274 binary = fopen(output, "w"); in main()
275 if (binary == NULL) { in main()
287 sepol_policy_file_set_fp(pf, binary); in main()
295 fclose(binary); in main()
296 binary = NULL; in main()
326 if (binary != NULL) { in main()
327 fclose(binary); in main()
/external/libunwind/tests/
Drun-coredump-unwind9 binary="$1"
18 nm -D "$binary" --format=posix --defined-only | awk '{ print $1 }' | sort > "$dynsyms"
28 objcopy --add-section .gnu_debugdata="$mini_debuginfo" "$binary"
31 strip "$binary" ## throw away the symbol table
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
DInterpreter.java60 String binary = data.get(BINARY); in buildFromMaps() local
75 interpreter.setBinary(new File(binary)); in buildFromMaps()
118 protected void setBinary(File binary) { in setBinary() argument
119 if (!binary.exists()) { in setBinary()
120 throw new RuntimeException("Binary " + binary + " does not exist!"); in setBinary()
122 mBinary = binary; in setBinary()
/external/llvm/test/tools/llvm-profdata/
Dinline-samples.test1 Tests for conversion between text and binary encoded sample profiles.
3 1- Encode the original profile into binary form. All the tests below will use
4 the binary profile.
17 3- Convert the binary profile to text encoding and check that they are both
23 4- Merge the binary and text encodings of the profile and check that the
/external/strace/debian/
Drules68 binary: binary-indep binary-arch target
70 binary-indep:
72 binary-arch: build

12345678910>>...97