Home
last modified time | relevance | path

Searched refs:remap (Results 1 - 25 of 62) sorted by relevance

123

/third_party/ltp/testcases/kernel/mem/vma/
H A Dvma03.c34 * This program tries to remap a mapping with a new size that would
73 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()
/third_party/mesa3d/src/intel/vulkan/
H A 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()
/third_party/ffmpeg/libavcodec/
H A Dmsvideo1enc.c65 static const int remap[16] = { 0, 1, 4, 5, 2, 3, 6, 7, 8, 9, 12, 13, 10, 11, 14, 15 }; variable
105 c->block2[remap[i + j*4]*3 + k] = (val >> (10-k*5)) & 0x1F; in encode_frame()
187 int t = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)*2)*3+k] - c->block[i*3+k + j*4*3]; in encode_frame()
231 flags |= (c->output2[remap[i + j*4]]^1) << (i + j*4); in encode_frame()
233 prevptr[x*3 + i*3 + k - j*3*avctx->width] = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)*2)*3 + k]; in encode_frame()
H A Ddv.c68 static const uint8_t remap[][2] = { in dv_calc_mb_coordinates() local
119 x = remap[y][0] + ((x - 80) << (y > 59)); in dv_calc_mb_coordinates()
120 y = remap[y][1]; in dv_calc_mb_coordinates()
/third_party/skia/third_party/externals/spirv-cross/
H A Dmain.cpp758 "\t[--glsl-remap-ext-framebuffer-fetch input-attachment color-location]:\n\t\tRemaps an input attachment to use GL_EXT_shader_framebuffer_fetch.\n" in print_help_glsl()
774 "\t[--remap source_name target_name components]:\n\t\tRemaps a variable to a different name with N components.\n" in print_help_glsl()
775 "\t\tMain use case is to remap a subpass input to gl_LastFragDepthARM.\n" in print_help_glsl()
778 "\t\t--remap uDepth gl_LastFragDepthARM 1 --extension GL_ARM_shader_framebuffer_fetch_depth_stencil\n" in print_help_glsl()
780 "\t[--remap-variable-type <variable_name> <new_variable_type>]:\n\t\tRemaps a variable type based on name.\n" in print_help_glsl()
781 "\t\tPrimary use case is supporting external samplers in ESSL for video rendering on Android where you could remap a texture to a YUV one.\n" in print_help_glsl()
961 static bool remap_generic(Compiler &compiler, const SmallVector<Resource> &resources, const Remap &remap) in remap_generic() argument
964 find_if(begin(resources), end(resources), [&remap](const Resource &res) { return res.name == remap.src_name; }); in remap_generic()
969 compiler.set_name(itr->id, remap in remap_generic()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_branches.c282 struct remap_output_data remap; in fix_output_writes() local
285 remap.Output = inst->U.I.DstReg.Index; in fix_output_writes()
286 remap.Temporary = rc_find_free_temporary(s->C); in fix_output_writes()
291 rc_remap_registers(inst, &remap_output_function, &remap); in fix_output_writes()
297 inst_mov->U.I.DstReg.Index = remap.Output; in fix_output_writes()
300 inst_mov->U.I.SrcReg[0].Index = remap.Temporary; in fix_output_writes()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A Dindic.pl14 # Usage - $0 <remap file>
19 # The remap file should have lines of the form
142 # Oriya, then the character 0B56 (Oriya AI Length Mark) will remap to
164 #print STDERR "Ignoring NOOP remap of $from\n";
166 print STDERR "ERROR in $EXCEPTIONS_FILE - Duplicate remap entries for $from\n";
168 print STDERR "ERROR in $EXCEPTIONS_FILE - Ignoring multichar remap: ", hexArray(@from), "->", hexArray(@to), "\n";
173 print STDERR "ERROR in $EXCEPTIONS_FILE - Invalid remap; left side defined: ", hexArray(@from), "->", hexArray(@to), "\n";
175 print STDERR "ERROR in $EXCEPTIONS_FILE - Invalid remap; right side undefined: ", hexArray(@from), "->", hexArray(@to), "\n";
303 foreach my $remap (@REMAP) { $REMAP{$remap}
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DToposortStructs.cpp43 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl()
226 if (const TStructure *structure = symbolEnv.remap(type.getStruct())) in GetAsDeclaredStructure()
266 if (const TStructure *structure = mSymbolEnv.remap(leftType.getStruct()))
287 if (const TStructure *subStruct = mSymbolEnv.remap(field->type()->getStruct())) in useStruct()
H A DSymbolEnv.h157 const TStructure &remap(const TStructure &s) const;
159 // Like `TStructure &remap(const TStructure &s)` but additionally maps null to null.
160 const TStructure *remap(const TStructure *s) const;
H A DSymbolEnv.cpp286 const TStructure &SymbolEnv::remap(const TStructure &s) const in remap() function in SymbolEnv
298 const TStructure *SymbolEnv::remap(const TStructure *s) const in remap() function in SymbolEnv
302 return &remap(*s); in remap()
/third_party/alsa-lib/src/control/
H A Dcontrol_remap.c94 snd_ctl_remap_id_t *remap; member
181 rid = priv->remap; in remap_find_id_child()
186 rid = priv->remap; in remap_find_id_child()
199 rid = priv->remap; in remap_find_id_app()
204 rid = priv->remap; in remap_find_id_app()
307 free(priv->remap); in remap_free()
918 rid = realloc(priv->remap, (priv->remap_alloc + 16) * sizeof(*rid)); in add_to_remap()
923 priv->remap = rid; in add_to_remap()
925 rid = &priv->remap[priv->remap_items++]; in add_to_remap()
928 debug_id(&rid->id_child, "%s remap chil in add_to_remap()
1156 snd_ctl_remap_open(snd_ctl_t **handlep, const char *name, snd_config_t *remap, snd_config_t *map, snd_ctl_t *child, int mode) snd_ctl_remap_open() argument
1296 snd_config_t *remap = NULL; _snd_ctl_remap_open() local
[all...]
/third_party/glslang/SPIRV/
H A DSPVRemapper.h93 // remap on an existing binary in memory
94 void remap(std::vector<std::uint32_t>& spv, const std::vector<std::string>& whiteListStrings,
97 // remap on an existing binary in memory - legacy interface without white list
98 void remap(std::vector<std::uint32_t>& spv, std::uint32_t opts = DO_EVERYTHING);
118 void remap(std::uint32_t opts = DO_EVERYTHING);
223 void applyMap(); // remap per local name map
H A DSPVRemapper.cpp1448 void spirvbin_t::remap(std::uint32_t opts) in remap() function in spv::spirvbin_t
1502 applyMap(); // Now remap each shader to the new IDs we've come up with in remap()
1507 // remap from a memory image
1508 void spirvbin_t::remap(std::vector<std::uint32_t>& in_spv, const std::vector<std::string>& whiteListStrings, in remap() function in spv::spirvbin_t
1513 remap(opts); in remap()
1517 // remap from a memory image - legacy interface without white list
1518 void spirvbin_t::remap(std::vector<std::uint32_t>& in_spv, std::uint32_t opts) in remap() function in spv::spirvbin_t
1522 remap(opts); in remap()
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_packer.c.py250 for ((src_a, src_b), cond, remap) in st[1].get("swaps", []):
270 # Also, remap. Bidrectional swaps are explicit in the XML.
271 for v in remap:
272 maps = remap[v]
H A Dbi_ra.c712 bi_index *remap = calloc(ctx->ssa_alloc, sizeof(bi_index)); in bi_lower_vector() local
729 remap[I->dest[i].value] = src; in bi_lower_vector()
752 if (bi_is_ssa(I->src[s]) && !bi_is_null(remap[I->src[s].value])) in bi_lower_vector()
753 I->src[s] = bi_replace_index(I->src[s], remap[I->src[s].value]); in bi_lower_vector()
757 free(remap); in bi_lower_vector()
/third_party/pulseaudio/src/pulsecore/
H A Dresampler.h28 #include <pulsecore/remap.h>
100 /* points to buffer before resampling stage, remap or to_work */
115 pa_remap_t remap; member
H A Dresampler.c421 /* pipeline is: format conv. -> remap -> resample -> format conv. */ in pa_resampler_new()
424 /* leftover buffer is remap output buffer (before resampling) */ in pa_resampler_new()
429 /* pipeline is: format conv. -> resample -> remap -> format conv. */ in pa_resampler_new()
448 /* set up the remap structure */ in pa_resampler_new()
450 setup_remap(r, &r->remap, &lfe_remixed); in pa_resampler_new()
494 free_remap(&r->remap); in pa_resampler_free()
1064 * elements. LFE filters are done after the remap step. Patches are always in setup_remap()
1528 pa_remap_t *remap = &r->remap; in remap_channels() local
1530 pa_assert(remap in remap_channels()
[all...]
/third_party/glslang/Test/
H A Druntests6 # 3- Path to spirv-remap
11 REMAPEXE=${3:-../build/install/bin/spirv-remap}
247 $REMAPEXE --do-everything -i remap.invalid-spirv-1.spv -o $TARGETDIR > $TARGETDIR/remap.invalid-spirv-1.out && HASERROR=1
248 diff -b $BASEDIR/remap.invalid-spirv-1.out $TARGETDIR/remap.invalid-spirv-1.out || HASERROR=1
249 $REMAPEXE --do-everything -i remap.invalid-spirv-2.spv -o $TARGETDIR > $TARGETDIR/remap.invalid-spirv-2.out && HASERROR=1
250 diff -b $BASEDIR/remap.invalid-spirv-2.out $TARGETDIR/remap
[all...]
/third_party/mesa3d/src/mesa/program/
H A Dprogram.c425 unsigned *remap = malloc(num_state_params * sizeof(unsigned)); in _mesa_add_separate_state_parameters() local
431 remap[old_index] = in _mesa_add_separate_state_parameters()
454 inst->SrcReg[j].Index = remap[inst->SrcReg[j].Index]; in _mesa_add_separate_state_parameters()
457 free(remap); in _mesa_add_separate_state_parameters()
/third_party/alsa-lib/include/
H A Dcontrol_plugin.h50 int snd_ctl_remap_open(snd_ctl_t **handlep, const char *name, snd_config_t *remap,
/third_party/mesa3d/src/compiler/nir/
H A Dnir_linking_helpers.c310 /* Only remap things that aren't built-ins. */ in get_unmoveable_components_masks()
399 struct varying_loc (*remap)[4], in remap_slots_and_components()
413 /* Only remap things that aren't built-ins */ in remap_slots_and_components()
428 struct varying_loc *new_loc = &remap[location][var->data.location_frac]; in remap_slots_and_components()
549 /* Only remap things that aren't builtins. */ in gather_varying_component_info()
596 /* We only remap things that aren't builtins. */ in gather_varying_component_info()
657 /* We only remap things that aren't builtins. */ in gather_varying_component_info()
765 assign_remap_locations(struct varying_loc (*remap)[4], in assign_remap_locations() argument
839 /* Assign remap location */ in assign_remap_locations()
840 remap[locatio in assign_remap_locations()
398 remap_slots_and_components(nir_shader *shader, nir_variable_mode mode, struct varying_loc (*remap)[4], uint64_t *slots_used, uint64_t *out_slots_read, uint32_t *p_slots_used, uint32_t *p_out_slots_read) remap_slots_and_components() argument
860 struct varying_loc remap[MAX_VARYINGS_INCL_PATCH][4] = {{{0}, {0}}}; compact_components() local
[all...]
/third_party/glslang/gtests/
H A DTestFixture.h366 // through spirvbin_t::remap(). While technically this could be merged
367 // with compileAndLink() above (with the remap step optionally being a no-op)
395 spv::spirvbin_t(0 /*verbosity*/).remap(spirv_binary, whiteListStrings, remapOptions); in compileLinkRemap()
410 // remap the binary in 'code' with the options in remapOptions
411 GlslangResult remap( in remap() function in glslangtest::GlslangTest
419 spv::spirvbin_t(0 /*verbosity*/).remap(spirv_binary, whiteListStrings, remapOptions); in remap()
636 GlslangResult result = remap(testName, input, controls, remapOptions); in loadFileRemapAndCheck()
/third_party/node/deps/brotli/c/enc/
H A Dblock_splitter_inc.h220 uint32_t remap[HISTOGRAMS_PER_BATCH] = { 0 };
270 remap[new_clusters[j]] = (uint32_t)j;
273 histogram_symbols[i + j] = (uint32_t)num_clusters + remap[symbols[j]];
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dblock_splitter_inc.h220 uint32_t remap[HISTOGRAMS_PER_BATCH] = { 0 };
270 remap[new_clusters[j]] = (uint32_t)j;
273 histogram_symbols[i + j] = (uint32_t)num_clusters + remap[symbols[j]];
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_spill.c97 struct hash_table *remap; member
1343 return _mesa_hash_table_search(state->remap, def); in is_live_in_pred()
1369 struct hash_entry *entry = _mesa_hash_table_search(state->remap, def); in read_live_in()
1471 _mesa_hash_table_insert(state->remap, def, new_val); in live_in_rewrite()
1545 _mesa_hash_table_search(state->remap, def); in add_live_in_phi()
1584 _mesa_hash_table_search(state->remap, def); in add_live_in_phi()
1643 _mesa_hash_table_search(state->remap, src->def); in rewrite_phi()
1768 _mesa_hash_table_insert(state->remap, interval->interval.reg, val); in record_live_out()
1780 state->remap = _mesa_pointer_hash_table_create(ctx); in record_live_outs()

Completed in 26 milliseconds

123