Home
last modified time | relevance | path

Searched refs:binary_size (Results 1 – 25 of 56) sorted by relevance

123

/external/pigweed/pw_base64/
Dbase64_test.cc25 const size_t binary_size; member
259 const size_t actual_raw_size = data.binary_size; in ExpectEncodeDecodeSizesMatch()
262 ASSERT_EQ(EncodedSize(data.binary_size), actual_encoded_size); in ExpectEncodeDecodeSizesMatch()
263 ASSERT_EQ(PW_BASE64_ENCODED_SIZE(data.binary_size), actual_encoded_size); in ExpectEncodeDecodeSizesMatch()
286 const size_t size = EncodedSize(data.binary_size); in TEST()
288 Encode(std::as_bytes(std::span(data.binary_data, data.binary_size)), in TEST()
298 const size_t size = EncodedSize(data.binary_size); in TEST()
300 Encode(std::as_bytes(std::span(data.binary_data, data.binary_size)), in TEST()
320 size_t binary_size = Decode(data.encoded_data, output); in TEST() local
321 ASSERT_EQ(binary_size, data.binary_size); in TEST()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_program.cc52 absl::Status GetBinarySize(cl_program program, size_t* binary_size) { in GetBinarySize() argument
54 sizeof(size_t), binary_size, nullptr); in GetBinarySize()
152 size_t binary_size; in GetBinary() local
153 RETURN_IF_ERROR(GetBinarySize(program_, &binary_size)); in GetBinary()
154 result->resize(result->size() + binary_size); in GetBinary()
155 uint8_t* binary_ptr = result->data() + result->size() - binary_size; in GetBinary()
157 binary_size, &binary_ptr, nullptr); in GetBinary()
192 size_t binary_size = binary.size(); in CreateCLProgramFromBinary() local
195 context.context(), 1, devices_list, &binary_size, &binary_pointer, in CreateCLProgramFromBinary()
/external/deqp-deps/SPIRV-Tools/source/
Dlibspirv.cpp97 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument
100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
114 const size_t binary_size) const { in Validate()
115 return spvValidateBinary(impl_->context, binary, binary_size, nullptr) == in Validate()
119 bool SpirvTools::Validate(const uint32_t* binary, const size_t binary_size, in Validate() argument
121 spv_const_binary_t the_binary{binary, binary_size}; in Validate()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/
Dlibspirv.cpp97 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument
100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
114 const size_t binary_size) const { in Validate()
115 return spvValidateBinary(impl_->context, binary, binary_size, nullptr) == in Validate()
119 bool SpirvTools::Validate(const uint32_t* binary, const size_t binary_size, in Validate() argument
121 spv_const_binary_t the_binary{binary, binary_size}; in Validate()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dlibspirv.cpp97 bool SpirvTools::Disassemble(const uint32_t* binary, const size_t binary_size, in Disassemble() argument
100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
114 const size_t binary_size) const { in Validate()
115 return spvValidateBinary(impl_->context, binary, binary_size, nullptr) == in Validate()
119 bool SpirvTools::Validate(const uint32_t* binary, const size_t binary_size, in Validate() argument
121 spv_const_binary_t the_binary{binary, binary_size}; in Validate()
/external/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/
Dlibspirv.hpp316 bool Disassemble(const uint32_t* binary, size_t binary_size,
336 bool Validate(const uint32_t* binary, size_t binary_size) const;
343 bool Validate(const uint32_t* binary, size_t binary_size,
/external/angle/third_party/vulkan-deps/spirv-tools/src/include/spirv-tools/
Dlibspirv.hpp324 bool Disassemble(const uint32_t* binary, size_t binary_size,
344 bool Validate(const uint32_t* binary, size_t binary_size) const;
351 bool Validate(const uint32_t* binary, size_t binary_size,
/external/deqp-deps/SPIRV-Tools/include/spirv-tools/
Dlibspirv.hpp322 bool Disassemble(const uint32_t* binary, size_t binary_size,
342 bool Validate(const uint32_t* binary, size_t binary_size) const;
349 bool Validate(const uint32_t* binary, size_t binary_size,
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_unload_platform_compiler.cpp205 size_t binary_size; local
207 sizeof(binary_size), &binary_size, nullptr);
211 m_binary.resize(binary_size);
944 size_t binary_size; in test_unload_program_binaries() local
946 sizeof(binary_size), &binary_size, nullptr); in test_unload_program_binaries()
954 std::vector<unsigned char> binary(binary_size); in test_unload_program_binaries()
/external/llvm-project/llvm/lib/ObjectYAML/
DMinidumpEmitter.cpp47 return allocateCallback(Data.binary_size(), [Data](raw_ostream &OS) { in allocateBytes()
117 return {support::ulittle32_t(Data.binary_size()), in layout()
199 assert(Raw.Content.binary_size() <= Raw.Size); in layout()
200 OS << std::string(Raw.Size - Raw.Content.binary_size(), '\0'); in layout()
DCOFFEmitter.cpp222 if (S.Name == ".debug$S" && S.SectionData.binary_size() == 0) { in layoutCOFF()
234 if (S.SectionData.binary_size() == 0) { in layoutCOFF()
242 if (S.SectionData.binary_size() == 0) in layoutCOFF()
245 if (S.SectionData.binary_size() == 0) in layoutCOFF()
248 if (S.DebugH.hasValue() && S.SectionData.binary_size() == 0) in layoutCOFF()
252 if (S.SectionData.binary_size() > 0) { in layoutCOFF()
255 S.Header.SizeOfRawData = S.SectionData.binary_size(); in layoutCOFF()
510 assert(S.Header.SizeOfRawData >= S.SectionData.binary_size()); in writeCOFF()
511 OS.write_zeros(S.Header.SizeOfRawData - S.SectionData.binary_size()); in writeCOFF()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMinidumpEmitter.cpp47 return allocateCallback(Data.binary_size(), [Data](raw_ostream &OS) { in allocateBytes()
117 return {support::ulittle32_t(Data.binary_size()), in layout()
199 assert(Raw.Content.binary_size() <= Raw.Size); in layout()
200 OS << std::string(Raw.Size - Raw.Content.binary_size(), '\0'); in layout()
DCOFFEmitter.cpp222 if (S.Name == ".debug$S" && S.SectionData.binary_size() == 0) { in layoutCOFF()
234 if (S.SectionData.binary_size() == 0) { in layoutCOFF()
242 if (S.SectionData.binary_size() == 0) in layoutCOFF()
245 if (S.SectionData.binary_size() == 0) in layoutCOFF()
248 if (S.DebugH.hasValue() && S.SectionData.binary_size() == 0) in layoutCOFF()
252 if (S.SectionData.binary_size() > 0) { in layoutCOFF()
255 S.Header.SizeOfRawData = S.SectionData.binary_size(); in layoutCOFF()
510 assert(S.Header.SizeOfRawData >= S.SectionData.binary_size()); in writeCOFF()
511 OS.write_zeros(S.Header.SizeOfRawData - S.SectionData.binary_size()); in writeCOFF()
/external/OpenCL-CTS/test_conformance/spir/
Drun_services.cpp141 void* load_file_bc( const std::string& file_name, size_t *binary_size) in load_file_bc() argument
143 assert(binary_size && "binary_size arg should be valid"); in load_file_bc()
153 *binary_size = (size_t)file.tellg(); in load_file_bc()
156 void* buffer = malloc(*binary_size); in load_file_bc()
157 file.read((char*)buffer, *binary_size); in load_file_bc()
188 size_t binary_size; in create_program_from_bc() local
189 BufferOwningPtr<const unsigned char> binary(load_file_bc(file_name, &binary_size)); in create_program_from_bc()
193 …cl_program program = clCreateProgramWithBinary( context, 1, &device, &binary_size, &ptr, &load_err… in create_program_from_bc()
/external/mesa3d/src/mesa/main/
Dprogram_binary.c76 const void *sha1, void *binary, unsigned binary_size, in write_program_binary() argument
81 if (binary_size < sizeof(*hdr)) in write_program_binary()
87 if (payload_size > binary_size - sizeof(*hdr)) in write_program_binary()
/external/arm-trusted-firmware/plat/common/
Dplat_spmd_manifest.c61 rc = fdt_read_uint32(fdt, node, "binary_size", &attr->binary_size); in manifest_parse_attribute()
82 VERBOSE(" binary_size: 0x%x\n", attr->binary_size); in manifest_parse_attribute()
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/macos/
Dgrpc_ios_binary_size.sh27 tools/profiling/ios_bin/binary_size.py \
/external/grpc-grpc/tools/internal_ci/macos/
Dgrpc_ios_binary_size.sh26 tools/profiling/ios_bin/binary_size.py \
/external/vulkan-validation-layers/layers/
Dshader_validation.h125 …std::vector<uint32_t> PreprocessShaderBinary(uint32_t *src_binary, size_t binary_size, spv_target_… in PreprocessShaderBinary()
126 std::vector<uint32_t> src(src_binary, src_binary + binary_size / sizeof(uint32_t)); in PreprocessShaderBinary()
161 …optimizer.Run(src_binary, binary_size / sizeof(uint32_t), &optimized_binary, spvtools::ValidatorOp… in PreprocessShaderBinary()
/external/arm-trusted-firmware/include/services/
Dspm_core_manifest.h44 uint32_t binary_size; member
/external/llvm/include/llvm/ObjectYAML/
DYAML.h73 ArrayRef<uint8_t>::size_type binary_size() const { in binary_size() function
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DYAML.h80 ArrayRef<uint8_t>::size_type binary_size() const { in binary_size() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DYAML.h80 ArrayRef<uint8_t>::size_type binary_size() const { in binary_size() function
/external/skia/docker/binary-size/
DDockerfile1 # Dockerfile that bundles chromium's binary_size tools
/external/llvm/lib/ObjectYAML/
DYAML.cpp53 if (binary_size() == 0) in writeAsHex()

123