Home
last modified time | relevance | path

Searched refs:remap (Results 1 – 25 of 225) sorted by relevance

123456789

/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dtranspose.cc52 int remap[4]; in GetTransposeCode() local
53 remap[attr.perm.b] = 0; in GetTransposeCode()
54 remap[attr.perm.h] = 1; in GetTransposeCode()
55 remap[attr.perm.w] = 2; in GetTransposeCode()
56 remap[attr.perm.c] = 3; in GetTransposeCode()
60 c += " args.src_tensor.SetBatchRef(" + bhw[remap[0]] + ");\n"; in GetTransposeCode()
62 c += " int s_y = " + bhw[remap[1]] + ";\n"; in GetTransposeCode()
63 c += " int s_x = " + bhw[remap[2]] + ";\n"; in GetTransposeCode()
75 c += " args.src_tensor.SetBatchRef(" + bhwc[remap[0]] + ");\n"; in GetTransposeCode()
77 c += " int s_y = " + bhwc[remap[1]] + ";\n"; in GetTransposeCode()
[all …]
Dconv_weights_converter.cc57 std::vector<int32_t> remap(conv_weights_desc.spatial_remap.size()); in GetConverterToConvWeightsCode() local
58 for (int i = 0; i < remap.size(); ++i) { in GetConverterToConvWeightsCode()
59 remap[i] = conv_weights_desc.spatial_remap[i]; in GetConverterToConvWeightsCode()
65 desc.size = remap.size() * sizeof(int32_t); in GetConverterToConvWeightsCode()
67 std::memcpy(desc.data.data(), remap.data(), desc.size); in GetConverterToConvWeightsCode()
/external/clang/tools/c-arcmt-test/
Dc-arcmt-test.c13 CXRemapping remap; in print_remappings() local
18 remap = clang_getRemappings(path); in print_remappings()
19 if (!remap) in print_remappings()
22 N = clang_remap_getNumFiles(remap); in print_remappings()
24 clang_remap_getFilenames(remap, i, &origFname, &transFname); in print_remappings()
33 clang_remap_dispose(remap); in print_remappings()
38 CXRemapping remap; in print_remappings_filelist() local
43 remap = clang_getRemappingsFromFileList(files, numFiles); in print_remappings_filelist()
44 if (!remap) in print_remappings_filelist()
47 N = clang_remap_getNumFiles(remap); in print_remappings_filelist()
[all …]
/external/llvm-project/clang/tools/c-arcmt-test/
Dc-arcmt-test.c13 CXRemapping remap; in print_remappings() local
18 remap = clang_getRemappings(path); in print_remappings()
19 if (!remap) in print_remappings()
22 N = clang_remap_getNumFiles(remap); in print_remappings()
24 clang_remap_getFilenames(remap, i, &origFname, &transFname); in print_remappings()
33 clang_remap_dispose(remap); in print_remappings()
38 CXRemapping remap; in print_remappings_filelist() local
43 remap = clang_getRemappingsFromFileList(files, numFiles); in print_remappings_filelist()
44 if (!remap) in print_remappings_filelist()
47 N = clang_remap_getNumFiles(remap); in print_remappings_filelist()
[all …]
/external/llvm-project/clang/tools/libclang/
DARCMigrate.cpp58 std::unique_ptr<Remap> remap(new Remap()); in clang_getRemappings()
60 bool err = arcmt::getFileRemappings(remap->Vec, migrate_dir_path,&diagBuffer); in clang_getRemappings()
73 return remap.release(); in clang_getRemappings()
85 std::unique_ptr<Remap> remap(new Remap()); in clang_getRemappingsFromFileList()
91 return remap.release(); in clang_getRemappingsFromFileList()
104 bool err = arcmt::getFileRemappingsFromFileList(remap->Vec, Files, in clang_getRemappingsFromFileList()
114 return remap.release(); in clang_getRemappingsFromFileList()
117 return remap.release(); in clang_getRemappingsFromFileList()
/external/clang/tools/libclang/
DARCMigrate.cpp60 std::unique_ptr<Remap> remap(new Remap()); in clang_getRemappings()
62 bool err = arcmt::getFileRemappings(remap->Vec, migrate_dir_path,&diagBuffer); in clang_getRemappings()
75 return remap.release(); in clang_getRemappings()
87 std::unique_ptr<Remap> remap(new Remap()); in clang_getRemappingsFromFileList()
93 return remap.release(); in clang_getRemappingsFromFileList()
106 bool err = arcmt::getFileRemappingsFromFileList(remap->Vec, Files, in clang_getRemappingsFromFileList()
116 return remap.release(); in clang_getRemappingsFromFileList()
119 return remap.release(); in clang_getRemappingsFromFileList()
/external/llvm-project/llvm/test/tools/llvm-profdata/
Dinstr-remap.test1 ; RUN: llvm-profdata merge -text %S/Inputs/instr-remap.proftext -r %S/Inputs/instr-remap.remap -o %…
2 ; RUN: diff %S/Inputs/instr-remap.expected %t.output
Dsample-remap.test1 …: llvm-profdata merge -sample -text %S/Inputs/sample-remap.proftext -r %S/Inputs/sample-remap.rema…
2 ; RUN: diff -b %S/Inputs/sample-remap.expected %t.output
/external/llvm-project/clang/test/ARCMT/designated-init-in-header/
Ddesignated-init-in-header.m1 …ncetype -x objective-c %S/file1.m.in -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t1.remap
2 …ncetype -x objective-c %S/file2.m.in -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t2.remap
3 // RUN: c-arcmt-test %t1.remap %t2.remap | arcmt-test -verify-transformed-files %S/header1.h.result…
/external/clang/test/ARCMT/designated-init-in-header/
Ddesignated-init-in-header.m1 …ncetype -x objective-c %S/file1.m.in -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t1.remap
2 …ncetype -x objective-c %S/file2.m.in -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t2.remap
3 // RUN: c-arcmt-test %t1.remap %t2.remap | arcmt-test -verify-transformed-files %S/header1.h.result…
/external/clang/test/ARCMT/whitelisted/
Dobjcmt-with-whitelist.m2 …adwrite-property -objcmt-migrate-instancetype %s -triple x86_64-apple-darwin11 -migrate -o %t.remap
3 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result %S/header2…
4 …ncetype -objcmt-white-list-dir-path=%S/Inputs %s -triple x86_64-apple-darwin11 -migrate -o %t.remap
5 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result
/external/python/asn1crypto/asn1crypto/
D_iri.py145 username = _urlunquote(parsed.username, remap=[':', '@'])
146 password = _urlunquote(parsed.password, remap=[':', '@'])
165 path = _urlunquote(parsed.path, remap=['/'], preserve=True)
166 query = _urlunquote(parsed.query, remap=['&', '='], preserve=True)
245 def _urlunquote(byte_string, remap=None, preserve=None): argument
274 for char in remap:
281 if remap:
282 for char in remap:
/external/llvm-project/clang/test/ARCMT/whitelisted/
Dobjcmt-with-whitelist.m2 …igrate-instancetype -objcmt-migrate-ns-macros %s -triple x86_64-apple-darwin11 -migrate -o %t.remap
3 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result %S/header2…
4 …-macros -objcmt-white-list-dir-path=%S/Inputs %s -triple x86_64-apple-darwin11 -migrate -o %t.remap
5 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_base.cpp44 void ValueRemapper::remap(PValue& v) in remap() function in r600::ValueRemapper
72 void ValueRemapper::remap(GPRVector& v) in remap() function in r600::ValueRemapper
114 map.remap(*v); in remap_registers()
117 map.remap(*v); in remap_registers()
120 map.remap(*v); in remap_registers()
123 map.remap(*v); in remap_registers()
/external/ltp/testcases/kernel/mem/vma/
Dvma03.c73 void *map, *remap; in main() local
102 remap = mremap(map, pgsz, 2 * pgsz, 0); in main()
103 if (remap == MAP_FAILED) { in main()
111 munmap(remap, 2 * pgsz); in main()
/external/deqp-deps/glslang/
DREADME-spirv-remap.txt4 spirv-remap 0.97
8 spirv-remap is a utility to improve compression of SPIR-V binary files via
25 spirv-remap is currently in an alpha state. Although there are no known
51 spirv-remap -v --map all --input *.spv --output /tmp/out_dir
55 spirv-remap-linux-64 -v --do-everything --input *.spv --output /tmp/out_dir
74 // remap an existing binary in memory
75 void remap(std::vector<std::uint32_t>& spv, std::uint32_t opts = DO_EVERYTHING);
90 remap() accepts an std::vector of SPIR-V words, modifies them per the
95 The "opts" parameter to remap() accepts a bit mask of desired remapping
/external/angle/third_party/vulkan-deps/glslang/src/
DREADME-spirv-remap.txt4 spirv-remap 0.97
8 spirv-remap is a utility to improve compression of SPIR-V binary files via
25 spirv-remap is currently in an alpha state. Although there are no known
51 spirv-remap -v --map all --input *.spv --output /tmp/out_dir
55 spirv-remap-linux-64 -v --do-everything --input *.spv --output /tmp/out_dir
74 // remap an existing binary in memory
75 void remap(std::vector<std::uint32_t>& spv, std::uint32_t opts = DO_EVERYTHING);
90 remap() accepts an std::vector of SPIR-V words, modifies them per the
95 The "opts" parameter to remap() accepts a bit mask of desired remapping
/external/deqp-deps/glslang/StandAlone/
DCMakeLists.txt79 set(REMAPPER_SOURCES spirv-remap.cpp)
80 add_executable(spirv-remap ${REMAPPER_SOURCES})
81 set_property(TARGET spirv-remap PROPERTY FOLDER tools)
82 glslang_set_link_args(spirv-remap)
83 target_link_libraries(spirv-remap ${LIBRARIES})
96 install(TARGETS spirv-remap EXPORT spirv-remapTargets
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c103 uint64_t remap = 0; in build_view_index() local
107 remap |= (uint64_t)bit << (i++ * 4); in build_view_index()
116 if (remap <= UINT32_MAX) { in build_view_index()
117 shifted = nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index()
120 nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index()
122 nir_ushr(b, nir_imm_int(b, remap >> 32), in build_view_index()
/external/angle/third_party/vulkan-deps/glslang/src/StandAlone/
DCMakeLists.txt79 set(REMAPPER_SOURCES spirv-remap.cpp)
80 add_executable(spirv-remap ${REMAPPER_SOURCES})
81 set_property(TARGET spirv-remap PROPERTY FOLDER tools)
82 glslang_set_link_args(spirv-remap)
83 target_link_libraries(spirv-remap ${LIBRARIES})
96 install(TARGETS spirv-remap EXPORT spirv-remapTargets
/external/clang/include/clang/ARCMigrate/
DFileRemapper.h55 void remap(StringRef filePath, std::unique_ptr<llvm::MemoryBuffer> memBuf);
62 void remap(const FileEntry *file, std::unique_ptr<llvm::MemoryBuffer> memBuf);
63 void remap(const FileEntry *file, const FileEntry *newfile);
/external/rust/crates/regex-automata/src/nfa/
Dmod.rs158 fn remap(&mut self, remap: &[StateID]) { in remap() method
160 State::Range { ref mut range } => range.next = remap[range.next], in remap()
163 r.next = remap[r.next]; in remap()
168 *alt = remap[*alt]; in remap()
/external/llvm-project/clang/include/clang/ARCMigrate/
DFileRemapper.h56 void remap(StringRef filePath, std::unique_ptr<llvm::MemoryBuffer> memBuf);
69 void remap(const FileEntry *file, std::unique_ptr<llvm::MemoryBuffer> memBuf);
70 void remap(const FileEntry *file, const FileEntry *newfile);
/external/llvm-project/clang/test/ARCMT/
Dremap-applying.c.result3 // RUN: echo "[{\"file\": \"%/s\", \"offset\": 1, \"remove\": 2, }]" > %t.remap
4 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %s.result
/external/skqp/src/compute/hs/gen/
Dtranspose.h33 void * remap),
34 void * remap);

123456789