| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| H A D | memory_coalescing.h | 29 Inst *first; member 74 void ReplacePair(Inst *first, Inst *second, Inst *insertAfter); 76 Inst *ReplaceLoadArray(Inst *first, Inst *second, Inst *insertAfter); 77 Inst *ReplaceLoadArrayI(Inst *first, Inst *second, Inst *insertAfter); 78 Inst *ReplaceLoadObject(Inst *first, Inst *second, Inst *insertAfter); 79 Inst *ReplaceStoreArray(Inst *first, Inst *second, Inst *insertAfter); 80 Inst *ReplaceStoreArrayI(Inst *first, Inst *second, Inst *insertAfter); 81 Inst *ReplaceStoreObject(Inst *first, Inst *second, Inst *insertAfter);
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/ |
| H A D | source_manager.cpp | 67 ASSERT_EQ(test_id0.first, ScriptId(0)); in TEST_F() 70 ASSERT_EQ(sm_.GetSourceFileName(test_id0.first), "test.pa"); in TEST_F() 74 ASSERT_EQ(test_id0.first, ScriptId(0)); in TEST_F() 78 ASSERT_EQ(test_id1.first, ScriptId(1)); in TEST_F() 83 ASSERT_EQ(sm_.GetSourceFileName(test_id2.first), "test2.pa"); in TEST_F() 84 ASSERT_EQ(sm_.GetSourceFileName(test_id3.first), "test3.pa"); in TEST_F() 89 ASSERT_EQ(sm_.GetSourceFileName(test_id2.first), "test2.pa"); in TEST_F() 92 ASSERT_EQ(test_id0.first, ScriptId(0)); in TEST_F()
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui_effect/ |
| H A D | utils.h | 35 return std::clamp(para, limits.first, limits.second); 40 return Vector3f(std::clamp(para.x_, limits.first, limits.second), std::clamp(para.y_, limits.first, limits.second), 41 std::clamp(para.z_, limits.first, limits.second)); 46 return Vector4f(std::clamp(para.x_, limits.first, limits.second), std::clamp(para.y_, limits.first, limits.second), 47 std::clamp(para.z_, limits.first, limits.second), std::clamp(para.w_, limits.first, limits.second));
|
| /third_party/icu/tools/unicode/c/genprops/misc/ |
| H A D | ucdmerge.c | 37 /* return the first character position after the end of the data */ 60 /* find the first semicolon in each line - there must be one */ in sameData() 77 long first, last, c; in main() local 80 first=last=-1; in main() 100 if(first==last) { in main() 109 first, last, /* code point range */ in main() 110 strchr(firstLine, ';'));/* first line starting from the first ; */ in main() 112 /* no comment in first line */ in main() 114 first, las in main() [all...] |
| /third_party/node/deps/npm/node_modules/@sigstore/core/dist/ |
| H A D | json.js | 30 let first = true; 32 if (!first) { 35 first = false; 44 let first = true; 48 if (!first) { 51 first = false;
|
| /third_party/nghttp2/src/ |
| H A D | util.h | 114 std::string percent_decode(InputIt first, InputIt last) { in percent_decode() argument 116 result.resize(last - first); in percent_decode() 118 for (; first != last; ++first) { in percent_decode() 119 if (*first != '%') { in percent_decode() 120 *p++ = *first; in percent_decode() 124 if (first + 1 != last && first + 2 != last && is_hex_digit(*(first + 1)) && in percent_decode() 125 is_hex_digit(*(first in percent_decode() 414 inp_strlower(InputIt first, InputIt last) inp_strlower() argument 788 make_hostport(OutputIt first, const StringRef &host, uint16_t port) make_hostport() argument 819 make_http_hostport(OutputIt first, const StringRef &host, uint16_t port) make_http_hostport() argument 875 random_alpha_digit(OutputIt first, OutputIt last, Generator &gen) random_alpha_digit() argument 889 random_bytes(OutputIt first, OutputIt last, Generator &gen) random_bytes() argument 898 shuffle(RandomIt first, RandomIt last, Generator &&gen, SwapFun fun) shuffle() argument [all...] |
| /foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
| H A D | dom_refresh.cpp | 54 if (attr.first == DOM_REFRESH_OFFSET) { in SetSpecializedAttr() 58 } else if (attr.first == DOM_REFRESH_REFRESHING) { in SetSpecializedAttr() 61 } else if (attr.first == DOM_REFRESH_TYPE) { in SetSpecializedAttr() 68 } else if (attr.first == DOM_REFRESH_LASTTIME) { in SetSpecializedAttr() 71 } else if (attr.first == DOM_REFRESH_FRICTION) { in SetSpecializedAttr() 74 } else if (attr.first == DOM_REFRESH_TIME_OFFSET) { in SetSpecializedAttr() 84 if (style.first == DOM_REFRESH_PROGRESS_COLOR) { in SetSpecializedStyle() 85 progressColor_.first = ParseColor(style.second); in SetSpecializedStyle() 89 if (style.first == DOM_REFRESH_BACKGROUND_COLOR) { in SetSpecializedStyle() 132 progressColor_.first in GetSpecializedComponent() [all...] |
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
| H A D | object_dms_handler.cpp | 56 if (it->first.dSchedEventType_ != DistributedSchedule::DMS_CONTINUE) { in IsContinue() 59 if (it->first.srcNetworkId_ == localDeviceInfo.networkId && it->first.srcBundleName_ == bundleName) { in IsContinue() 64 if (it->first.dstNetworkId_ == localDeviceInfo.networkId && it->first.destBundleName_ == bundleName) { in IsContinue() 85 if (it->first.dSchedEventType_ != DistributedSchedule::DMS_CONTINUE) { in GetDstBundleName() 88 if (it->first.srcNetworkId_ == localDeviceInfo.networkId && it->first.srcBundleName_ == srcBundleName && in GetDstBundleName() 89 it->first.dstNetworkId_ == dstNetworkId) { in GetDstBundleName() 91 srcBundleName.c_str(), it->first in GetDstBundleName() [all...] |
| /third_party/gn/src/gn/ |
| H A D | string_atom_unittest.cc | 53 EXPECT_EQ(*foo_ret.first, foo_key); 59 EXPECT_EQ(set.find(std::string_view("bar")), bar_ret.first); 60 EXPECT_EQ(set.find(std::string_view("zoo")), zoo_ret.first); 64 EXPECT_EQ(it, bar_ret.first); 67 EXPECT_EQ(it, foo_ret.first); 70 EXPECT_EQ(it, zoo_ret.first); 91 const std::string* foo_ptr = atom_to_ptr(*foo_ret.first); 92 const std::string* bar_ptr = atom_to_ptr(*bar_ret.first); 93 const std::string* zoo_ptr = atom_to_ptr(*zoo_ret.first); 102 EXPECT_EQ(set.find(std::string_view("bar")), bar_ret.first); [all...] |
| H A D | args.cc | 80 if (declared_arguments.find(override->first) == declared_arguments.end()) 119 overrides_[cur_override.first] = cur_override.second; 120 all_overrides_[cur_override.first] = cur_override.second; 127 overrides_[cur_override.first] = cur_override.second; 175 declared_arguments.find(arg.first); 201 // on some other condition without dereferencing the value first. 206 toolchain_overrides.find(arg.first); 208 scope_to_set->SetValue(toolchain_override->first, 211 scope_to_set->MarkUsed(arg.first); 217 Scope::KeyValueMap::const_iterator override = overrides_.find(arg.first); [all...] |
| H A D | command_help.cc | 40 PrintShortHelp(cmd.second.help_short, kCommandLinkPrefix + cmd.first); in PrintToplevelHelp() 46 PrintShortHelp(func.second.help_short, kFunctionLinkPrefix + func.first); in PrintToplevelHelp() 53 PrintShortHelp(func.second.help_short, kFunctionLinkPrefix + func.first); in PrintToplevelHelp() 61 kVariableLinkPrefix + builtin.first); in PrintToplevelHelp() 69 kVariableLinkPrefix + target.first); in PrintToplevelHelp() 153 PrintLongHelp(c.second.help, kCommandLinkPrefix + c.first); in PrintAllHelp() 161 PrintLongHelp(f.second.help, kFunctionLinkPrefix + f.first); in PrintAllHelp() 170 PrintLongHelp(f.second.help, kFunctionLinkPrefix + f.first); in PrintAllHelp() 180 PrintLongHelp(v.second.help, kVariableLinkPrefix + v.first); in PrintAllHelp() 189 PrintLongHelp(v.second.help, kVariableLinkPrefix + v.first); in PrintAllHelp() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
| H A D | BlotMapVector.h | 38 assert(Vector[I->second].first == I->first); in ~BlotMapVector() 42 assert(!I->first || (Map.count(I->first) && in ~BlotMapVector() 43 Map[I->first] == size_t(I - Vector.begin()))); in ~BlotMapVector() 60 Pair.first->second = Num; in operator []() 64 return Vector[Pair.first->second].second; in operator []() 69 Map.insert(std::make_pair(InsertPair.first, size_t(0))); in insert() 72 Pair.first->second = Num; in insert() 76 return std::make_pair(Vector.begin() + Pair.first in insert() [all...] |
| /foundation/distributeddatamgr/udmf/framework/common/unittest/ |
| H A D | utd_cfgs_checker_test.cpp | 54 std::vector<TypeDescriptorCfg> first = {tdc1};
in HWTEST_F() local 61 CustomUtdCfgs customUtdCfgs = {first, second};
in HWTEST_F() 88 std::vector<TypeDescriptorCfg> first = {tdc1};
in HWTEST_F() local 92 CustomUtdCfgs customUtdCfgs1 = {first, second};
in HWTEST_F() 107 CustomUtdCfgs customUtdCfgs2 = {second, first};
in HWTEST_F() 122 std::vector<TypeDescriptorCfg> first = {};
in HWTEST_F() local 124 CustomUtdCfgs customUtdCfgs = {first, second};
in HWTEST_F() 145 std::vector<TypeDescriptorCfg> first = {tdc1};
in HWTEST_F() local 152 CustomUtdCfgs customUtdCfgs = {first, second};
in HWTEST_F() 167 first in HWTEST_F() 247 std::vector<TypeDescriptorCfg> first = {tdc1, tdc2}; HWTEST_F() local [all...] |
| /third_party/rust/crates/rust-openssl/openssl/src/x509/ |
| H A D | extension.rs | 194 let mut first = true; in build() variables 195 append(&mut value, &mut first, self.critical, "critical"); in build() 198 &mut first, in build() 204 &mut first, in build() 210 &mut first, in build() 216 &mut first, in build() 220 append(&mut value, &mut first, self.key_agreement, "keyAgreement"); in build() 221 append(&mut value, &mut first, self.key_cert_sign, "keyCertSign"); in build() 222 append(&mut value, &mut first, self.crl_sign, "cRLSign"); in build() 223 append(&mut value, &mut first, sel in build() 360 let mut first = true; global() variables 415 let mut first = true; global() variables [all...] |
| /foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
| H A D | render_component.h | 82 positionParam_.left.first = AnimatableDimension(left); in SetLeft() 88 positionParam_.left.first = left; in SetLeft() 94 positionParam_.anchor.first = anchorX; in SetAnchorX() 99 positionParam_.right.first = AnimatableDimension(right); in SetRight() 105 positionParam_.right.first = right; in SetRight() 116 positionParam_.top.first = AnimatableDimension(top); in SetTop() 122 positionParam_.top.first = top; in SetTop() 128 positionParam_.bottom.first = bottom; in SetBottom() 134 positionParam_.bottom.first = AnimatableDimension(bottom); in SetBottom() 160 return positionParam_.left.first; in GetLeft() [all...] |
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
| H A D | TranslatorGLSL.cpp | 264 if (iter.first == TExtension::EXT_shader_texture_lod) in writeExtensionBehavior() 270 if (iter.first == TExtension::EXT_draw_buffers) in writeExtensionBehavior() 276 if (iter.first == TExtension::EXT_geometry_shader || in writeExtensionBehavior() 277 iter.first == TExtension::OES_geometry_shader) in writeExtensionBehavior() 285 (iter.first == TExtension::OVR_multiview) || (iter.first == TExtension::OVR_multiview2); in writeExtensionBehavior() 289 if ((iter.first != TExtension::OVR_multiview) || in writeExtensionBehavior() 292 EmitMultiviewGLSL(*this, compileOptions, iter.first, iter.second, sink); in writeExtensionBehavior() 297 if (getShaderVersion() >= 300 && iter.first == TExtension::ANGLE_texture_multisample && in writeExtensionBehavior() 304 if ((iter.first in writeExtensionBehavior() [all...] |
| /third_party/typescript/tests/baselines/reference/tsbuild/outfile-concat/ |
| H A D | explainFiles.js | 17 //// [/src/first/first_PART1.ts]
31 //// [/src/first/first_part2.ts]
35 //// [/src/first/first_part3.ts]
40 //// [/src/first/tsconfig.json]
49 "outFile": "./bin/first-output.js",
124 { "path": "../first", "prepend": true },
135 * src/first/tsconfig.json
139 [[90m12:00:07 AM[0m] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first [all...] |
| H A D | triple-slash-refs-in-all-projects.js | 17 //// [/src/first/first_PART1.ts]
31 //// [/src/first/first_part2.ts]
37 //// [/src/first/first_part3.ts]
42 //// [/src/first/tripleRef.d.ts]
45 //// [/src/first/tsconfig.json]
54 "outFile": "./bin/first-output.js",
139 { "path": "../first", "prepend": true },
150 * src/first/tsconfig.json
154 [[90m12:00:13 AM[0m] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bi [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
| H A D | Core.cpp | 189 return OS << "(\"" << KV.first << "\", " << KV.second << ")"; in operator <<() 193 return OS << "(\"" << KV.first << "\": " << KV.second << ")"; in operator <<() 208 return OS << "(" << KV.first << ", " << KV.second << ")"; in operator <<() 256 return OS << "(" << KV.first << ", " << KV.second << ")"; in operator <<() 268 assert(SearchOrder.front().first && in operator <<() 270 OS << " (\"" << SearchOrder.front().first->getName() << "\", " in operator <<() 274 assert(KV.first && "JITDylibList entries must not be null"); in operator <<() 275 OS << ", (\"" << KV.first->getName() << "\", " << KV.second << ")"; in operator <<() 285 OS << " " << *KV.first << ": " << KV.second.Aliasee << " " in operator <<() 366 ResolvedSymbols[KV.first] in AsynchronousSymbolQuery() [all...] |
| /third_party/typescript/tests/baselines/reference/tsbuild/outFile/ |
| H A D | rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js | 17 //// [/src/first/first_PART1.ts]
31 //// [/src/first/first_part2.ts]
35 //// [/src/first/first_part3.ts]
40 //// [/src/first/tsconfig.json]
49 "outFile": "./bin/first-output.js",
124 { "path": "../first", "prepend": true },
135 * src/first/tsconfig.json
139 [[90m12:00:08 AM[0m] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first [all...] |
| /third_party/mesa3d/src/compiler/nir/ |
| H A D | nir_group_loads.c | 29 * It's done by finding the first and last load with the same indirection 31 * load except for load sources, which are moved before the first load. 114 /* Grouping is done by moving everything else out of the first/last in can_move() 178 group_loads(nir_instr *first, nir_instr *last) in group_loads() argument 180 /* Walk the instruction range between the first and last backward, and in group_loads() 185 instr != first; in group_loads() 188 if (!can_move(instr, first->pass_flags)) in group_loads() 218 state.block = first->block; in group_loads() 219 state.first_index = first->index; in group_loads() 221 /* Walk the instruction range between the first an in group_loads() 284 handle_load_range(nir_instr **first, nir_instr **last, nir_instr *current, unsigned max_distance) handle_load_range() argument [all...] |
| /third_party/pcre2/pcre2/src/ |
| H A D | pcre2_substring.c | 55 identifying it by name. If the regex permits duplicate names, the first 76 PCRE2_SPTR first, last, entry; in pcre2_substring_copy_byname() local 81 &first, &last); in pcre2_substring_copy_byname() 84 for (entry = first; entry <= last; entry += entrysize) in pcre2_substring_copy_byname() 143 new memory. If the regex permits duplicate names, the first substring that is 164 PCRE2_SPTR first, last, entry; in pcre2_substring_get_byname() local 169 &first, &last); in pcre2_substring_get_byname() 172 for (entry = first; entry <= last; entry += entrysize) in pcre2_substring_get_byname() 257 permits duplicate names, the first substring that is set is chosen. 271 PCRE2_SPTR first, las in pcre2_substring_length_byname() local 495 PCRE2_SPTR first; pcre2_substring_nametable_scan() local [all...] |
| /foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/ |
| H A D | rasterizer_cells_antialias.cpp | 166 * The coordinates of the first 24 bits are extracted from the points in units of 1 / 256 pixels in RenderHorizonline() 171 int32_t delta, deltayMask, first; in RenderHorizonline() local 190 first = POLY_SUBPIXEL_SCALE; in RenderHorizonline() 196 first = 0; in RenderHorizonline() 207 /* submaskFlagsX1+ (0->first) */ in RenderHorizonline() 208 currCell_.area += (submaskFlagsX1 + first) * delta; in RenderHorizonline() 239 /* From first to POLY_SUBPIXEL_SCALE procedure */ in RenderHorizonline() 240 currCell_.area += (submaskFlagsX2 + POLY_SUBPIXEL_SCALE - first) * delta; in RenderHorizonline() 268 * The coordinates of the first 24 bits are extracted from the points in units of 1 / 256 pixels in LineOperate() 283 int32_t modDyMask, delta, first, increas in LineOperate() local 334 RenderVerticalLine(int32_t& x1, int32_t& ex1, int64_t& dy, int32_t& first, int32_t& increase, int32_t& xFrom, int32_t& submaskFlagsY1, int32_t& submaskFlagsY2, int32_t& ey1, int32_t& ey2, int32_t& delta) RenderVerticalLine() argument 374 RenderObliqueLine(int64_t& dx, int64_t& dy, int32_t& first, int32_t& increase, int32_t& xFrom, int64_t& deltaxMask, int32_t& ey1, int32_t& ey2, int32_t& delta) RenderObliqueLine() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/ |
| H A D | RegisterFile.cpp | 92 if (IPC.first && IPC.first != RegisterFileIndex) { in addRegisterFile() 106 if (!OtherEntry.IndexPlusCost.first && in addRegisterFile() 119 unsigned RegisterFileIndex = Entry.IndexPlusCost.first; in allocatePhysRegs() 134 unsigned RegisterFileIndex = Entry.IndexPlusCost.first; in freePhysRegs() 175 WS.setPRF(RRI.IndexPlusCost.first); in addRegisterWrite() 179 WriteRef &OtherWrite = RegisterMappings[RegID].first; in addRegisterWrite() 213 RegisterMappings[RegID].first = Write; in addRegisterWrite() 216 RegisterMappings[*I].first = Write; in addRegisterWrite() 232 RegisterMappings[*I].first in addRegisterWrite() [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
| H A D | list_divider_arithmetic.h | 74 auto it = dividermap_.find(child.first);
76 result.emplace(child.first, child.second);
84 result.emplace(child.first, divider);
100 auto it = another.find(child.first);
127 auto it1 = dividermap_.find(child.first);
in Calculate() 129 result.emplace(child.first, child.second);
in Calculate() 132 auto it2 = another.find(child.first);
in Calculate() 134 result.emplace(child.first, child.second);
in Calculate() 143 result.emplace(child.first, divider);
in Calculate() 150 result.emplace(child.first, divide in Calculate() [all...] |