| /base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
| H A D | hap_crl_manager_test.cpp | 48 dest.open(destFilePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
in CopyFile() 62 fileStream.open(filePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
in ClearFile() 116 * @tc.expected: step2. binary code of crls is written to file.
in HWTEST_F()
|
| /base/security/security_guard/frameworks/common/utils/src/ |
| H A D | security_guard_utils.cpp | 120 std::ifstream src(srcPath, std::ios::binary);
in CopyFile() 131 std::ofstream dst(dstPath, std::ios::binary);
in CopyFile()
|
| /foundation/communication/netmanager_base/services/netpolicymanager/src/common/ |
| H A D | net_policy_file_event_handler.cpp | 95 std::ifstream oldFile(POLICY_FILE_NAME, std::ios::binary); in Write() 96 std::ofstream newFile(POLICY_FILE_BAK_NAME, std::ios::binary); in Write()
|
| /third_party/glslang/glslang/MachineIndependent/ |
| H A D | LiveTraverser.h | 6 // Redistribution and use in source and binary forms, with or without 13 // Redistributions in binary form must reproduce the above 91 TIntermBinary* binary = candidate->getSequence()[0]->getAsBinaryNode(); in pushGlobalReference() local 92 TIntermSymbol* symbol = binary->getLeft()->getAsSymbolNode(); in pushGlobalReference()
|
| /third_party/astc-encoder/Test/ |
| H A D | astc_profile_valgrind.py | 100 Run Valgrind on a single binary. 112 binary = "./bin/astcenc-%s" % encoder 114 binary, "-cl", image, "out.astc", blocksize, quality, "-j", "1"]
|
| /third_party/json/tests/src/ |
| H A D | unit-constructor2.cpp | 74 SECTION("binary") 76 json j = json::binary({1, 2, 3}); 157 SECTION("binary") 159 json j = json::binary({1, 2, 3});
|
| H A D | unit-inspection.cpp | 166 SECTION("binary") 168 json j(json::value_t::binary); 244 const auto binary = json::binary({1, 2, 3}, 128); variable 245 CHECK(binary.dump(1024).size() == 2086); 452 SECTION("binary") 454 json j = json::binary({});
|
| /third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
| H A D | spirv2dxil.c | 168 fwrite(obj.binary.buffer, sizeof(char), obj.binary.size, file); in main()
|
| /third_party/ltp/testcases/kernel/kvm/ |
| H A D | Makefile | 59 objcopy -O binary -j .init.boot -j .text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin 63 @objcopy -O binary -j .init.boot -j .text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
| H A D | EmulateGLFragColorBroadcast.cpp | 62 TIntermBinary *binary = new TIntermBinary(EOpIndexDirect, symbol, indexNode); in constructGLFragDataNode() local 63 return binary; in constructGLFragDataNode()
|
| /third_party/vk-gl-cts/executor/tools/ |
| H A D | xeBatchResultToJUnit.cpp | 67 std::ifstream in (filename, std::ios_base::binary); in parseBatchResult() 138 std::ofstream out (dstFileName, std::ios_base::binary); in batchResultToJUnitReport()
|
| H A D | xeExtractSampleLists.cpp | 46 std::ofstream out (filename.c_str(), std::ios_base::binary); in writeSampleList() 135 std::ifstream in (filename, std::ifstream::binary|std::ifstream::in); in processLogFile()
|
| /third_party/skia/third_party/externals/angle2/util/ |
| H A D | shader_utils.h | 47 ANGLE_UTIL_EXPORT GLuint LoadBinaryProgramOES(const std::vector<uint8_t> &binary, 49 ANGLE_UTIL_EXPORT GLuint LoadBinaryProgramES3(const std::vector<uint8_t> &binary,
|
| /third_party/python/Modules/_decimal/libmpdec/ |
| H A D | vcdiv64.asm | 4 ; Redistribution and use in source and binary forms, with or without 11 ; 2. Redistributions in binary form must reproduce the above copyright
|
| /third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/ |
| H A D | spirv_reduce_mutator.cc | 40 std::vector<uint32_t> binary, in SpirvReduceMutator() 54 original_binary_(std::move(binary)), in SpirvReduceMutator() 59 assert(ir_context_ && "|binary| is invalid"); in SpirvReduceMutator() 180 // Write the invalid SPIR-V binary. in LogErrors() 183 // Write the original SPIR-V binary. in LogErrors() 39 SpirvReduceMutator(spv_target_env target_env, std::vector<uint32_t> binary, uint32_t seed, uint32_t reductions_batch_size, bool enable_all_reductions, bool validate_after_each_reduction) SpirvReduceMutator() argument
|
| /third_party/skia/third_party/externals/tint/src/writer/spirv/ |
| H A D | test_helper.h | 93 auto binary = writer.result(); in Validate() local 121 ASSERT_TRUE(tools.Validate(binary)) << spv_errors; in Validate()
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
| H A D | InfoSink.h | 129 void setBinary(BinaryBlob &&binary) { binarySink = std::move(binary); } in setBinary() argument 137 // The data in the info sink is either in human readable form (|sink|) or binary (|binarySink|).
|
| /third_party/mbedtls/scripts/mbedtls_dev/ |
| H A D | macro_collector.py | 51 def __init__(self, filename: str, binary: bool = False) -> None: 56 self.binary = binary 58 self.file = open(self.filename, 'rb' if self.binary else 'r') 497 with read_file_lines(filename, binary=True) as lines:
|
| /third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
| H A D | restricted_trace_gold_tests.py | 151 def get_binary_name(binary): 153 return '.\\%s.exe' % binary 155 return './%s' % binary 200 binary = get_binary_name('angle_system_info_test') variable in get_skia_gold_keys.Filter 201 sysinfo_args = [binary, '--vulkan', '-v']
|
| /third_party/vk-gl-cts/external/vulkancts/vkscpc/ |
| H A D | vkscpc.cpp | 206 std::ifstream iFile (shaderPath.getPath(), std::ios::in | std::ios::binary); in importFilesForExternalCompiler() 301 std::vector<deUint8> binary = vksc_server::buildPipelineCache( in main() local 310 std::ofstream oFile (cmdLine.getOption<opt::CompilerOutputFile>().c_str(), std::ios::out | std::ios::binary); in main() 313 oFile.write(reinterpret_cast<char*>(binary.data()), binary.size()); in main()
|
| /third_party/mesa3d/src/panfrost/vulkan/ |
| H A D | panvk_shader.c | 38 util_dynarray_fini(&shader->binary); in panvk_shader_destroy()
|
| H A D | panvk_vX_meta_clear.c | 61 struct util_dynarray binary; in panvk_meta_clear_color_attachment_shader() local 63 util_dynarray_init(&binary, NULL); in panvk_meta_clear_color_attachment_shader() 64 GENX(pan_shader_compile)(b.shader, &inputs, &binary, shader_info); in panvk_meta_clear_color_attachment_shader() 69 pan_pool_upload_aligned(bin_pool, binary.data, binary.size, 128); in panvk_meta_clear_color_attachment_shader() 71 util_dynarray_fini(&binary); in panvk_meta_clear_color_attachment_shader()
|
| /third_party/skia/third_party/externals/spirv-tools/source/ |
| H A D | binary.h | 23 // Grabs the header from the SPIR-V module given in the binary parameter. The 24 // endian parameter specifies the endianness of the binary module. On success, 26 spv_result_t spvBinaryHeaderGet(const spv_const_binary binary,
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
| H A D | binary.h | 23 // Grabs the header from the SPIR-V module given in the binary parameter. The 24 // endian parameter specifies the endianness of the binary module. On success, 26 spv_result_t spvBinaryHeaderGet(const spv_const_binary binary,
|
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
| H A D | image_source_png_test.cpp | 194 fs->open("/data/local/tmp/image/test.png", std::fstream::binary | std::fstream::in); in HWTEST_F() 476 fs->open("/data/local/tmp/image/test.png", std::fstream::binary | std::fstream::in); in HWTEST_F() 512 fs->open("/data/local/tmp/image/test.9.png", std::fstream::binary | std::fstream::in); in HWTEST_F() 547 fs->open("/data/local/tmp/image/test.png", std::fstream::binary | std::fstream::in); in HWTEST_F() 582 fs->open("/data/local/tmp/image/test.9.png", std::fstream::binary | std::fstream::in); in HWTEST_F() 619 fs->open("/data/local/tmp/image/test.png", std::fstream::binary | std::fstream::in); in HWTEST_F()
|