Home
last modified time | relevance | path

Searched refs:new_id (Results 1 - 25 of 121) sorted by relevance

12345

/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dcompact_ids_pass.cpp32 const uint32_t new_id = in GetRemappedId() local
34 const auto insertion_result = result_id_mapping->emplace(id, new_id); in GetRemappedId()
55 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process()
56 if (id != new_id) { in Process()
58 id = new_id; in Process()
72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process()
73 if (scope_id != new_id) { in Process()
74 inst->UpdateLexicalScope(new_id); in Process()
80 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process()
81 if (inlinedat_id != new_id) { in Process()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dcompact_ids_pass.cpp32 const uint32_t new_id = in GetRemappedId() local
34 const auto insertion_result = result_id_mapping->emplace(id, new_id); in GetRemappedId()
55 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process()
56 if (id != new_id) { in Process()
58 id = new_id; in Process()
72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process()
73 if (scope_id != new_id) { in Process()
74 inst->UpdateLexicalScope(new_id); in Process()
80 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process()
81 if (inlinedat_id != new_id) { in Process()
[all...]
/third_party/spirv-tools/source/opt/
H A Dcompact_ids_pass.cpp32 const uint32_t new_id = in GetRemappedId() local
34 const auto insertion_result = result_id_mapping->emplace(id, new_id); in GetRemappedId()
60 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process()
61 if (id != new_id) { in Process()
63 id = new_id; in Process()
77 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process()
78 if (scope_id != new_id) { in Process()
79 inst->UpdateLexicalScope(new_id); in Process()
85 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process()
86 if (inlinedat_id != new_id) { in Process()
[all...]
H A Dinline_pass.cpp516 uint32_t new_id, std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in UpdateSingleBlockLoopContinueTarget()
530 MakeUnique<BasicBlock>(NewLabel(new_id)); in UpdateSingleBlockLoopContinueTarget()
539 AddBranch(new_id, &old_backedge); in UpdateSingleBlockLoopContinueTarget()
543 merge_inst->SetInOperand(1u, {new_id}); in UpdateSingleBlockLoopContinueTarget()
684 auto new_id = context()->TakeNextId(); in GenInlineCode() local
685 if (new_id == 0) return false; in GenInlineCode()
686 UpdateSingleBlockLoopContinueTarget(new_id, new_blocks); in GenInlineCode()
515 UpdateSingleBlockLoopContinueTarget( uint32_t new_id, std::vector<std::unique_ptr<BasicBlock>>* new_blocks) UpdateSingleBlockLoopContinueTarget() argument
/kernel/linux/linux-5.10/security/safesetid/
H A Dlsm.c154 * credentials that contain @new_id.
156 static bool id_permitted_for_cred(const struct cred *old, kid_t new_id, enum setid_type new_type) in id_permitted_for_cred() argument
162 if (uid_eq(new_id.uid, old->uid) || uid_eq(new_id.uid, old->euid) || in id_permitted_for_cred()
163 uid_eq(new_id.uid, old->suid)) in id_permitted_for_cred()
166 if (gid_eq(new_id.gid, old->gid) || gid_eq(new_id.gid, old->egid) || in id_permitted_for_cred()
167 gid_eq(new_id.gid, old->sgid)) in id_permitted_for_cred()
177 setid_policy_lookup((kid_t){.uid = old->uid}, new_id, new_type) != SIDPOL_CONSTRAINED; in id_permitted_for_cred()
183 __kuid_val(old->suid), __kuid_val(new_id in id_permitted_for_cred()
[all...]
/kernel/linux/linux-6.6/security/safesetid/
H A Dlsm.c145 * credentials that contain @new_id.
147 static bool id_permitted_for_cred(const struct cred *old, kid_t new_id, enum setid_type new_type) in id_permitted_for_cred() argument
153 if (uid_eq(new_id.uid, old->uid) || uid_eq(new_id.uid, old->euid) || in id_permitted_for_cred()
154 uid_eq(new_id.uid, old->suid)) in id_permitted_for_cred()
157 if (gid_eq(new_id.gid, old->gid) || gid_eq(new_id.gid, old->egid) || in id_permitted_for_cred()
158 gid_eq(new_id.gid, old->sgid)) in id_permitted_for_cred()
168 setid_policy_lookup((kid_t){.uid = old->uid}, new_id, new_type) != SIDPOL_CONSTRAINED; in id_permitted_for_cred()
174 __kuid_val(old->suid), __kuid_val(new_id in id_permitted_for_cred()
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_reindex_ssa.cpp43 uint32_t new_id = ctx.temp_rc.size(); in reindex_defs() local
45 ctx.renames[def.tempId()] = new_id; in reindex_defs()
47 def.setTemp(Temp(new_id, rc)); in reindex_defs()
57 uint32_t new_id = ctx.renames[op.tempId()]; in reindex_ops() local
58 assert(op.regClass() == ctx.temp_rc[new_id]); in reindex_ops()
59 op.setTemp(Temp(new_id, op.regClass())); in reindex_ops()
/third_party/selinux/libsepol/src/
H A Dlink.c127 char *perm_id = key, *new_id = NULL; in permission_copy_callback() local
150 new_id = strdup(perm_id); in permission_copy_callback()
151 if (new_id == NULL) { in permission_copy_callback()
164 (hashtab_key_t) new_id, in permission_copy_callback()
205 free(new_id); in permission_copy_callback()
248 char *id = key, *new_id = NULL; in class_copy_callback() local
301 new_id = strdup(id); in class_copy_callback()
302 if (new_id == NULL) { in class_copy_callback()
309 (hashtab_key_t) new_id, in class_copy_callback()
344 free(new_id); in class_copy_callback()
352 char *id = key, *new_id = NULL; role_copy_callback() local
442 char *id = key, *new_id = NULL; type_copy_callback() local
537 char *id = key, *new_id = NULL; user_copy_callback() local
604 char *id = key, *new_id = NULL; bool_copy_callback() local
858 char *id = key, *new_id = NULL, *target_id; alias_copy_callback() local
1776 char *id = key, *new_id = NULL; scope_copy_callback() local
[all...]
H A Dexpand.c110 char *id, *new_id; in type_copy_callback() local
131 new_id = strdup(id); in type_copy_callback()
132 if (new_id == NULL) { in type_copy_callback()
140 free(new_id); in type_copy_callback()
149 free(new_id); in type_copy_callback()
158 (hashtab_key_t) new_id, in type_copy_callback()
161 free(new_id); in type_copy_callback()
223 char *id, *new_id; in perm_copy_callback() local
237 new_id = strdup(id); in perm_copy_callback()
238 if (!new_id) { in perm_copy_callback()
260 char *id, *new_id; common_copy_callback() local
449 char *id, *new_id; class_copy_callback() local
662 char *id, *new_id; alias_copy_callback() local
831 char *id, *new_id; role_copy_callback() local
997 char *id, *new_id; user_copy_callback() local
1110 char *id, *new_id; bool_copy_callback() local
1168 char *id = (char *)key, *new_id = NULL; sens_copy_callback() local
1220 char *id = (char *)key, *new_id = NULL; cats_copy_callback() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
H A Dtrace.h347 TP_PROTO(int old_id, int new_id, char *action, unsigned int reg,
350 TP_ARGS(old_id, new_id, action, reg, old_val, new_val),
354 __field(int, new_id)
363 __entry->new_id = new_id;
371 __entry->old_id, __entry->new_id,
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
H A Dtrace.h347 TP_PROTO(int old_id, int new_id, char *action, unsigned int reg,
350 TP_ARGS(old_id, new_id, action, reg, old_val, new_val),
354 __field(int, new_id)
363 __entry->new_id = new_id;
371 __entry->old_id, __entry->new_id,
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
H A Dchange_operand_reduction_opportunity.h29 // with |new_id|.
31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity()
36 new_id_(new_id) {} in ChangeOperandReductionOpportunity()
30 ChangeOperandReductionOpportunity(opt::Instruction* inst, uint32_t operand_index, uint32_t new_id) ChangeOperandReductionOpportunity() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Dchange_operand_reduction_opportunity.h29 // with |new_id|.
31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity()
36 new_id_(new_id) {} in ChangeOperandReductionOpportunity()
30 ChangeOperandReductionOpportunity(opt::Instruction* inst, uint32_t operand_index, uint32_t new_id) ChangeOperandReductionOpportunity() argument
/third_party/spirv-tools/source/reduce/
H A Dchange_operand_reduction_opportunity.h29 // with |new_id|.
31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity()
36 new_id_(new_id) {} in ChangeOperandReductionOpportunity()
30 ChangeOperandReductionOpportunity(opt::Instruction* inst, uint32_t operand_index, uint32_t new_id) ChangeOperandReductionOpportunity() argument
/third_party/node/deps/brotli/c/enc/
H A Dblock_splitter_inc.h156 uint16_t* new_id, const size_t num_histograms) { in RemapBlockIds()
161 new_id[i] = kInvalidId; in RemapBlockIds()
165 if (new_id[block_ids[i]] == kInvalidId) { in RemapBlockIds()
166 new_id[block_ids[i]] = next_id++; in RemapBlockIds()
170 block_ids[i] = (uint8_t)new_id[block_ids[i]]; in RemapBlockIds()
410 uint16_t* new_id = BROTLI_ALLOC(m, uint16_t, num_histograms);
415 BROTLI_IS_NULL(switch_signal) || BROTLI_IS_NULL(new_id)) {
425 new_id, num_histograms);
432 BROTLI_FREE(m, new_id);
155 RemapBlockIds(uint8_t* block_ids, const size_t length, uint16_t* new_id, const size_t num_histograms) RemapBlockIds() argument
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dblock_splitter_inc.h156 uint16_t* new_id, const size_t num_histograms) { in RemapBlockIds()
161 new_id[i] = kInvalidId; in RemapBlockIds()
165 if (new_id[block_ids[i]] == kInvalidId) { in RemapBlockIds()
166 new_id[block_ids[i]] = next_id++; in RemapBlockIds()
170 block_ids[i] = (uint8_t)new_id[block_ids[i]]; in RemapBlockIds()
410 uint16_t* new_id = BROTLI_ALLOC(m, uint16_t, num_histograms);
415 BROTLI_IS_NULL(switch_signal) || BROTLI_IS_NULL(new_id)) {
425 new_id, num_histograms);
432 BROTLI_FREE(m, new_id);
155 RemapBlockIds(uint8_t* block_ids, const size_t length, uint16_t* new_id, const size_t num_histograms) RemapBlockIds() argument
/third_party/alsa-utils/topology/
H A Dpre-processor.c653 char* new_id = tplg_snprintf("%d", (*object_count)++); in pre_process_add_objects() local
660 free(new_id); in pre_process_add_objects()
664 ret = snd_config_set_id(new, new_id); in pre_process_add_objects()
665 free(new_id); in pre_process_add_objects()
727 char *new_id; in pre_process_create_items() local
764 new_id = tplg_snprintf("%d", object_count++); in pre_process_create_items()
765 ret = snd_config_make(&new_obj, new_id, SND_CONFIG_TYPE_COMPOUND); in pre_process_create_items()
766 free(new_id); in pre_process_create_items()
/kernel/linux/linux-5.10/drivers/macintosh/
H A Dadb.c554 /* Try to change handler to new_id. Will return 1 if successful. */
555 static int try_handler_change(int address, int new_id) in try_handler_change() argument
559 if (adb_handler[address].handler_id == new_id) in try_handler_change()
562 ADB_WRITEREG(address, 3), address | 0x20, new_id); in try_handler_change()
567 if (req.reply[2] != new_id) in try_handler_change()
575 adb_try_handler_change(int address, int new_id) in adb_try_handler_change() argument
580 ret = try_handler_change(address, new_id); in adb_try_handler_change()
583 pr_debug("adb handler change: [%d] 0x%X\n", address, new_id); in adb_try_handler_change()
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dadb.c554 /* Try to change handler to new_id. Will return 1 if successful. */
555 static int try_handler_change(int address, int new_id) in try_handler_change() argument
559 if (adb_handler[address].handler_id == new_id) in try_handler_change()
562 ADB_WRITEREG(address, 3), address | 0x20, new_id); in try_handler_change()
567 if (req.reply[2] != new_id) in try_handler_change()
575 adb_try_handler_change(int address, int new_id) in adb_try_handler_change() argument
580 ret = try_handler_change(address, new_id); in adb_try_handler_change()
583 pr_debug("adb handler change: [%d] 0x%X\n", address, new_id); in adb_try_handler_change()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-repacker.hh252 int new_id = vertices_.length - 1; in sort_kahn() local
260 sorted_graph[new_id] = next; in sort_kahn()
261 id_map[next_id] = new_id--; in sort_kahn()
272 if (!check_success (new_id == -1)) in sort_kahn()
307 int new_id = root_idx (); in sort_shortest_distance() local
314 sorted_graph[new_id] = next; in sort_shortest_distance()
315 id_map[next_id] = new_id--; in sort_shortest_distance()
332 if (!check_success (new_id == -1)) in sort_shortest_distance()
/third_party/node/deps/v8/src/snapshot/embedded/
H A Dembedded-file-writer.cc271 int new_id = in LookupOrAddExternallyCompiledFilename() local
273 external_filenames_.insert(std::make_pair(filename, new_id)); in LookupOrAddExternallyCompiledFilename()
276 return new_id; in LookupOrAddExternallyCompiledFilename()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_propagate_instruction_up.cpp180 auto new_id = GetResultIdFromLabelId(*dependency_inst, predecessor_id); in Apply() local
181 assert(new_id && "OpPhi instruction is missing a predecessor"); in Apply()
182 operand.words[0] = new_id; in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_propagate_instruction_up.cpp180 auto new_id = GetResultIdFromLabelId(*dependency_inst, predecessor_id); in Apply() local
181 assert(new_id && "OpPhi instruction is missing a predecessor"); in Apply()
182 operand.words[0] = new_id; in Apply()
/third_party/node/deps/v8/src/heap/
H A Dheap-inl.h508 Smi new_id, last_id_before_cas; in NextScriptId() local
512 new_id = Smi::FromInt(1); in NextScriptId()
514 new_id = Smi::FromInt(last_id.value() + 1); in NextScriptId()
523 Smi::cast(last_script_id_slot.Relaxed_CompareAndSwap(last_id, new_id)); in NextScriptId()
526 return new_id.value(); in NextScriptId()
/kernel/linux/linux-5.10/include/linux/
H A Dadb.h64 int adb_try_handler_change(int address, int new_id);

Completed in 19 milliseconds

12345