Home
last modified time | relevance | path

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

12345678910>>...85

/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.cpp47 spv_binary binary = DE_NULL; in assembleSpirV() local
57 … compileOk = spvTextToBinary(context, spvSource.c_str(), spvSource.size(), &binary, &diagnostic); in assembleSpirV()
66 DE_ASSERT(binary->wordCount > 0); in assembleSpirV()
67 dst->resize(binary->wordCount); in assembleSpirV()
68 std::copy(&binary->code[0], &binary->code[0] + binary->wordCount, dst->begin()); in assembleSpirV()
71 spvBinaryDestroy(binary); in assembleSpirV()
79 spvBinaryDestroy(binary); in assembleSpirV()
87 void disassembleSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* dst) in disassembleSpirV() argument
98 …const spv_result_t result = spvBinaryToText(context, binary, binarySizeInWords, 0, &text, &diagnos… in disassembleSpirV()
119 bool validateSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* infoLog) in validateSpirV() argument
[all …]
DvkBinaryRegistry.cpp108 void writeBinary (const ProgramBinary& binary, const std::string& dstPath) in writeBinary() argument
116 std::ofstream out (dstPath.c_str(), std::ios_base::binary); in writeBinary()
121 out.write((const char*)binary.getBinary(), binary.getSize()); in writeBinary()
126 void writeBinary (const std::string& dstDir, deUint32 index, const ProgramBinary& binary) in writeBinary() argument
128 writeBinary(binary, getProgramPath(dstDir, index)); in writeBinary()
133 std::ifstream in (srcPath.c_str(), std::ios::binary | std::ios::ate); in readBinary()
154 deUint32 binaryHash (const ProgramBinary* binary) in binaryHash() argument
156 return deMemoryHash(binary->getBinary(), binary->getSize()); in binaryHash()
403 deUint32* BinaryIndexHash::find (const ProgramBinary* binary) const in find()
405 return BinaryIndexHashImpl_find(m_hash, binary); in find()
[all …]
DvkBinaryRegistry.hpp210 deUint32* find (const ProgramBinary* binary) const;
211 void insert (const ProgramBinary* binary, deUint32 index);
227 void addProgram (const ProgramIdentifier& id, const ProgramBinary& binary);
234 deUint32* findBinary (const ProgramBinary& binary) const;
236 void addBinary (deUint32 index, const ProgramBinary& binary);
240 ProgramBinary* binary; member
244 : binary (binary_) in BinarySlot()
249 : binary (DE_NULL) in BinarySlot()
/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.py51 binary = match.group(4)
55 if binary.startswith('/'):
56 binary = binary[1:]
57 binary = os.path.join(binary_prefix, binary)
59 if not os.path.exists(binary):
65 if not pipes.has_key(binary):
66 pipes[binary] = subprocess.Popen(["addr2line", "-i", "-f", "-e", binary],
68 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/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/ltp/testcases/network/stress/ns-tools/
D00_Descriptions.txt58 ns-udpserver (binary)
62 ns-udpclient (binary)
66 ns-tcpserver (binary)
70 ns-tcpclient (binary)
74 ns-icmp_redirector (binary)
80 ns-icmpv4_sender (binary)
84 ns-icmpv6_sender (binary)
88 ns-igmp_querier (binary)
91 ns-mcast_join (binary)
94 ns-mcast_receiver (binary)
[all …]
/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/flatbuffers/src/
Dutil.cpp26 bool LoadFileRaw(const char *name, bool binary, std::string *buf) { in LoadFileRaw() argument
28 std::ifstream ifs(name, binary ? std::ifstream::binary : std::ifstream::in); in LoadFileRaw()
30 if (binary) { in LoadFileRaw()
49 bool LoadFile(const char *name, bool binary, std::string *buf) { in LoadFile() argument
51 return g_load_file_function(name, binary, buf); in LoadFile()
/external/boringssl/src/ssl/test/runner/
Dchacha20_poly1305.go60 binary.LittleEndian.PutUint32(out[i*4:i*4+4], workingState[i]+state[i])
86 state[4+i] = binary.LittleEndian.Uint32(key[i*4 : i*4+4])
91 state[14] = binary.LittleEndian.Uint32(nonce[0:4])
92 state[15] = binary.LittleEndian.Uint32(nonce[4:8])
94 state[13] = binary.LittleEndian.Uint32(nonce[0:4])
95 state[14] = binary.LittleEndian.Uint32(nonce[4:8])
96 state[15] = binary.LittleEndian.Uint32(nonce[8:12])
151 binary.LittleEndian.PutUint64(out, uint64(len(additionalData)))
153 binary.LittleEndian.PutUint64(out, uint64(len(ciphertext)))
/external/autotest/client/cros/audio/
Daudio_data.py61 def __init__(self, binary, channel, sample_format): argument
73 if binary:
74 self.read_binary(binary)
77 def read_binary(self, binary): argument
93 np_array = np.fromstring(binary, dtype=np_dtype)
/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/llvm/docs/tutorial/
DLangImpl06.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/syslinux/gnu-efi/gnu-efi-3.0/debian/
Drules89 binary-indep: build install
93 binary-arch: build install
108 binary: binary-indep binary-arch target
109 .PHONY: build clean binary-indep binary-arch binary install configure
/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/linux-kselftest/tools/testing/selftests/rcutorture/bin/
Dparse-torture.sh52 …nerrs=`grep --binary-files=text '!!!' $file | tail -1 | awk '{for (i=NF-8;i<=NF;i++) sum+=$i; } EN…
58 grep --binary-files=text 'torture:.*ver:' $file | grep --binary-files=text -v '(null)' | sed -e 's/…
99 …echo $title no success message, `grep --binary-files=text 'ver:' $file | wc -l` successful version…
/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.java58 String binary = data.get(BINARY); in buildFromMaps() local
73 interpreter.setBinary(new File(binary)); in buildFromMaps()
116 protected void setBinary(File binary) { in setBinary() argument
117 if (!binary.exists()) { in setBinary()
118 throw new RuntimeException("Binary " + binary + " does not exist!"); in setBinary()
120 mBinary = binary; in setBinary()
/external/selinux/secilc/
Dsecilc.c80 FILE *binary = NULL; in main() local
303 binary = fopen(output, "w"); in main()
304 if (binary == NULL) { in main()
316 sepol_policy_file_set_fp(pf, binary); in main()
324 fclose(binary); in main()
325 binary = NULL; in main()
355 if (binary != NULL) { in main()
356 fclose(binary); in main()

12345678910>>...85