/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/query_fuzzer/ |
H A D | query_fuzzer.cpp | 90 std::vector<std::string> values; in FuzzIn() local 93 values.push_back(rawString); in FuzzIn() 95 Query query = Query::Select().In(TEST_FIELD_NAME, values); in FuzzIn() 101 std::vector<std::string> values; in FuzzNotIn() local 104 values.push_back(rawString); in FuzzNotIn() 106 Query query = Query::Select().NotIn(TEST_FIELD_NAME, values); in FuzzNotIn()
|
/test/testfwk/developer_test/src/core/command/ |
H A D | distribute_utils.py | 45 if list(env_manager.managers.values())[0].devices_list:
46 for device in list(env_manager.managers.values())[0].devices_list:
49 for device in list(env_manager.managers.values())[1].devices_list:
88 devices_list = list(env_manager.managers.values())[0].devices_list
90 devices_list = list(env_manager.managers.values())[1].devices_list
157 return list(result.values())
|
/third_party/icu/icu4c/source/test/perf/unisetperf/draft/ |
H A D | bitset.cpp | 37 uint16_t values[0x800]; member 43 // Fill values[] with 0xffff. in BMPBitHash() 44 uprv_memset(values, 0xff, sizeof(values)); in BMPBitHash() 59 if(values[hash]==0xffff) { in map() 63 return values[hash]=count++; in map() 66 return values[hash]; in map() 78 * indexed by their mapped values.
|
/third_party/mesa3d/.gitlab-ci/tests/utils/ |
H A D | test_lava_log.py | 49 GITLAB_SECTION_SCENARIOS.values(), 157 SENSITIVE_DATA_SCENARIOS.values(), 203 COLOR_MANGLED_SCENARIOS.values(), 239 GITLAB_SECTION_MANGLED_SCENARIOS.values(), 256 WATCHDOG_SCENARIOS.values(), 343 A618_NETWORK_ISSUE_SCENARIOS.values(),
|
/third_party/node/test/parallel/ |
H A D | test-stream-reduce.js | 25 for (const [values, fn, initial] of tests) { 26 const streamReduce = await Readable.from(values) 28 const arrayReduce = values.reduce(fn, initial); 33 for (const [values, fn, initial] of tests) { 34 const streamReduce = await Readable.from(values) 37 const arrayReduce = values.reduce(fn, initial);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | hash_generator_testing.h | 15 // Generates random values for testing. Specialized only for the few types we 158 // Naive wrapper that performs a linear search of previous values. 163 std::vector<T> values; member 166 assert(values.size() < kMaxValues); in operator ()() 169 if (std::find(values.begin(), values.end(), value) == values.end()) { in operator ()() 170 values.push_back(value); in operator ()()
|
/third_party/vk-gl-cts/framework/delibs/depool/ |
H A D | dePoolHashArray.h | 56 * deBool HashArray_copyToArray (Hash* hashArray, KeyArray* keys, ValueArray* values); 72 deBool TYPENAME##_copyToArray (const TYPENAME* hashArray, DE_PTR_TYPE(KEYARRAYTYPE) keys, DE_PTR_TYPE(VALUEARRAYTYPE) values); \ 150 deBool TYPENAME##_copyToArray (const TYPENAME* hashArray, DE_PTR_TYPE(KEYARRAYTYPE) keys, DE_PTR_TYPE(VALUEARRAYTYPE) values) \ 157 (values && !VALUEARRAYTYPE##_setSize(values, numElements))) \ 164 if (values) VALUEARRAYTYPE##_set(values, ndx, TYPENAME##Array_get(hashArray->array, ndx)); \
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | animation_system.cpp | 117 // values contain in-tangent, spline vertex, out-tangent. 214 // while initial values is the contents of the vector i.e. an array. in Assign() 299 auto values = array_view(Cast<const T*>(frameValues.data()), frameValues.size() / sizeof(T)); in Interpolate() local 300 if ((interpolation.startIndex < values.size()) && (interpolation.endIndex < values.size())) { in Interpolate() 304 result = Step(values[interpolation.startIndex], values[interpolation.endIndex], interpolation.t); in Interpolate() 309 result = Lerp(values[interpolation.startIndex], values[interpolation.endIndex], interpolation.t); in Interpolate() 313 const auto& p0 = Cast<const SplineValues<T>&>(values[interpolatio in Interpolate() 336 auto values = array_view(Cast<const Math::Vec4*>(frameValues.data()), frameValues.size() / sizeof(Math::Vec4)); Interpolate() local 386 const auto values = array_view( AnimateArray() local 402 const auto values = array_view(Cast<const float*>(frameValues.data()), frameValues.size() / sizeof(float)); AnimateArray() local 1110 const auto& values = trackValues_[trackId]; ResetTargetProperties() local 1149 auto& values = trackValues[row.components[1]]; InitializeTrackValues() local 1260 auto& values = trackValues_[trackId]; ApplyResults() local [all...] |
/foundation/ability/ability_base/interfaces/kits/native/configuration/src/ |
H A D | configuration.cpp | 247 std::vector<std::string> values; in ReadFromParcel() local 249 values.clear(); in ReadFromParcel() 254 if (!parcel.ReadStringVector(&values)) { in ReadFromParcel() 255 ABILITYBASE_LOGE("read values failed"); in ReadFromParcel() 259 size_t valueSize = values.size(); in ReadFromParcel() 270 val = values.at(i); in ReadFromParcel() 290 std::vector<std::string> values; in Marshalling() local 292 values.clear(); in Marshalling() 300 values.emplace_back(config.second); in Marshalling() 304 parcel.WriteStringVector(values); in Marshalling() [all...] |
/test/testfwk/arkxtest/hamock/src/main/mock/ |
H A D | MockKit.js | 86 let values = this.stubs.get(f); 87 if (!values) { 88 values = new Map(); 101 values.set(key, returnInfo); 102 this.stubs.set(f, values); 105 let values = this.stubs.get(f); 106 if (!values) { 122 values.forEach(function (value, key, map) { 127 return values.get(retrunKet);
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_regs_to_ssa.c | 36 struct nir_phi_builder_value **values; member 49 struct nir_phi_builder_value *value = state->values[reg->index]; in rewrite_src() 75 struct nir_phi_builder_value *value = state->values[reg->index]; in rewrite_if_condition() 93 struct nir_phi_builder_value *value = state->values[reg->index]; in rewrite_dest() 115 struct nir_phi_builder_value *value = state->values[reg->index]; in rewrite_alu_instr() 223 state.values = ralloc_array(dead_ctx, struct nir_phi_builder_value *, in nir_lower_regs_to_ssa_impl() 237 state.values[reg->index] = NULL; in nir_lower_regs_to_ssa_impl() 246 state.values[reg->index] = in nir_lower_regs_to_ssa_impl() 285 if (state.values[reg->index]) { in nir_lower_regs_to_ssa_impl()
|
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/examples/ |
H A D | is-default-value.js | 13 const { values, tokens } = parseArgs({ options, tokens: true }); 19 console.log(values); 20 console.log(`Is the file option [${values.file}] the default value? ${isFileDefault}`);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_analysis_album_operations.cpp | 168 inline int32_t GetStringObject(const ValuesBucket &values, const string &key, string &value) in GetStringObject() argument 172 if (values.GetObject(key, valueObject)) { in GetStringObject() 197 ValuesBucket values; in ClearEmptyGroupPhotoAlbumInfo() local 198 values.PutInt(PhotoAlbumColumns::ALBUM_COUNT, 0); in ClearEmptyGroupPhotoAlbumInfo() 199 values.PutString(PhotoAlbumColumns::ALBUM_COVER_URI, ""); in ClearEmptyGroupPhotoAlbumInfo() 200 values.PutInt(IS_COVER_SATISFIED, static_cast<uint8_t>(CoverSatisfiedType::NO_SETTING)); in ClearEmptyGroupPhotoAlbumInfo() 201 values.PutInt(IS_ME, ALBUM_IS_NOT_ME); in ClearEmptyGroupPhotoAlbumInfo() 215 auto ret = MediaLibraryRdbStore::Update(values, rdbPredicates); in ClearEmptyGroupPhotoAlbumInfo() 289 DataShare::DataShareValuesBucket values; in InsertGroupPhotoAlbumInfo() local 290 values in InsertGroupPhotoAlbumInfo() 711 SetGroupAlbumName(const ValuesBucket &values, const DataSharePredicates &predicates) SetGroupAlbumName() argument 742 SetGroupCoverUri(const ValuesBucket &values, const DataSharePredicates &predicates) SetGroupCoverUri() argument 774 DismissGroupPhotoAlbum(const ValuesBucket &values, const DataSharePredicates &predicates) DismissGroupPhotoAlbum() argument 799 HandleGroupPhotoAlbum(const OperationType &opType, const NativeRdb::ValuesBucket &values, const DataShare::DataSharePredicates &predicates) HandleGroupPhotoAlbum() argument [all...] |
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_store_config_test.cpp | 118 ValuesBucket values; in HWTEST_F() local 119 values.PutInt("id", 1); in HWTEST_F() 120 values.PutString("name", std::string("zhangsan")); in HWTEST_F() 121 values.PutInt("age", 18); in HWTEST_F() 122 values.PutDouble("salary", 100.5); in HWTEST_F() 123 values.PutBlob("blobType", std::vector<uint8_t>{ 1, 2, 3 }); in HWTEST_F() 124 int ret = store->Insert(id, "test", values); in HWTEST_F() 162 ValuesBucket values; in HWTEST_F() local 163 values.PutInt("id", 1); in HWTEST_F() 164 values in HWTEST_F() 856 ValuesBucket values; HWTEST_F() local 1039 ValuesBucket values; HWTEST_F() local [all...] |
/third_party/python/Lib/ |
H A D | optparse.py | 195 format string controlling how short options with values are 775 def process(self, opt, value, values, parser): 785 self.action, self.dest, opt, value, values, parser) 787 def take_action(self, action, dest, opt, value, values, parser): 789 setattr(values, dest, value) 791 setattr(values, dest, self.const) 793 setattr(values, dest, True) 795 setattr(values, dest, False) 797 values.ensure_value(dest, []).append(value) 799 values [all...] |
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/ |
H A D | trigger_db_helper.cpp | 113 ValuesBucket values; in UpdateGenericTriggerModel() local 114 values.PutInt("model_uuid", model->GetUuid()); in UpdateGenericTriggerModel() 115 values.PutInt("vendor_uuid", model->GetVendorUuid()); in UpdateGenericTriggerModel() 116 values.PutBlob("data", model->GetData()); in UpdateGenericTriggerModel() 117 values.PutInt("model_version", model->GetVersion()); in UpdateGenericTriggerModel() 118 values.PutInt("model_type", model->GetType()); in UpdateGenericTriggerModel() 119 int ret = store_->InsertWithConflictResolution(rowId, TABLE_NAME, values, ConflictResolution::ON_CONFLICT_REPLACE); in UpdateGenericTriggerModel()
|
/foundation/ability/form_fwk/interfaces/inner_api/src/ |
H A D | form_js_info.cpp | 251 std::vector<std::string> values; in WritePkgNameMap() local 255 values.emplace_back(pkgNameInfo.second); in WritePkgNameMap() 259 parcel.WriteStringVector(values); in WritePkgNameMap() 267 std::vector<std::string> values; in ReadPkgNameMap() local 272 if (!parcel.ReadStringVector(&values)) { in ReadPkgNameMap() 273 HILOG_ERROR("ReadStringVector for values failed"); in ReadPkgNameMap() 277 size_t valueSize = values.size(); in ReadPkgNameMap() 287 val = values.at(index); in ReadPkgNameMap()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryappurisensitiveoperations_fuzzer/ |
H A D | medialibraryappurisensitiveoperations_fuzzer.cpp | 95 DataShareValuesBucket values; in HandleInsertOperationFuzzer() local 96 values.Put(Media::AppUriSensitiveColumn::APP_ID, appId); in HandleInsertOperationFuzzer() 97 values.Put(Media::AppUriSensitiveColumn::FILE_ID, photoId); in HandleInsertOperationFuzzer() 98 values.Put(Media::AppUriSensitiveColumn::HIDE_SENSITIVE_TYPE, sensitiveType); in HandleInsertOperationFuzzer() 99 values.Put(Media::AppUriPermissionColumn::PERMISSION_TYPE, permissionType); in HandleInsertOperationFuzzer() 100 values.Put(Media::AppUriSensitiveColumn::URI_TYPE, uriType); in HandleInsertOperationFuzzer() 104 NativeRdb::ValuesBucket rdbValue = RdbDataShareAdapter::RdbUtils::ToValuesBucket(values); in HandleInsertOperationFuzzer()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DisplayOptions.java | 150 * Creates a {@code DisplayOptions.Builder} with the default values. 329 * Unmodifiable List of all noun classes constants. List version of {@link #values()}. 334 Collections.unmodifiableList(Arrays.asList(NounClass.values())); 393 * Unmodifiable List of all name styles constants. List version of {@link #values()}. 398 Collections.unmodifiableList(Arrays.asList(NameStyle.values())); 430 * Unmodifiable List of all substitute handlings constants. List version of {@link #values()}. 435 Collections.unmodifiableList(Arrays.asList(SubstituteHandling.values())); 466 * Unmodifiable List of all display lengths constants. List version of {@link #values()}. 471 Collections.unmodifiableList(Arrays.asList(DisplayLength.values())); 522 * Unmodifiable List of all the capitalizations constants. List version of {@link #values()} [all...] |
/third_party/jerryscript/jerry-core/ext/ |
H A D | heapdump.c | 194 ecma_value_t value = pair->values[i].value; in DumpPropertyPair() 207 ecma_property_value_t* accessor_objs_p = pair->values + i; in DumpPropertyPair() 321 ecma_value_t *values = in DumpInfoObject() local 325 if (ecma_is_value_array_hole(values[i])) { in DumpInfoObject() 334 if (ecma_is_value_object(values[i])) { in DumpInfoObject() 335 ecma_object_t* value_obj = ecma_get_object_from_value(values[i]); in DumpInfoObject() 338 ecma_string_t* value_str = ecma_op_to_string(values[i]); in DumpInfoObject()
|
/third_party/mesa3d/src/compiler/spirv/ |
H A D | vtn_amd.c | 92 unsigned mask = val->constant->values[0].u32 | in vtn_handle_amd_shader_ballot_instruction() 93 val->constant->values[1].u32 << 2 | in vtn_handle_amd_shader_ballot_instruction() 94 val->constant->values[2].u32 << 4 | in vtn_handle_amd_shader_ballot_instruction() 95 val->constant->values[3].u32 << 6; in vtn_handle_amd_shader_ballot_instruction() 100 unsigned mask = val->constant->values[0].u32 | in vtn_handle_amd_shader_ballot_instruction() 101 val->constant->values[1].u32 << 5 | in vtn_handle_amd_shader_ballot_instruction() 102 val->constant->values[2].u32 << 10; in vtn_handle_amd_shader_ballot_instruction()
|
/third_party/skia/src/gpu/ |
H A D | GrRecordingContext.cpp | 209 SkTArray<double>* values) const { in dumpKeyValuePairs() 211 values->push_back(fNumPathMasksGenerated); in dumpKeyValuePairs() 214 values->push_back(fNumPathMaskCacheHits); in dumpKeyValuePairs() 218 SkTArray<double>* values) const { in dumpKeyValuePairs() 220 values->push_back(fNumRenderPasses); in dumpKeyValuePairs() 223 values->push_back(fNumMultisampleRenderPasses); in dumpKeyValuePairs() 227 values->push_back(count); in dumpKeyValuePairs()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
H A D | gauge_model_ng.h | 36 void Create(float values, float min, float max) override; 40 void SetColors(const std::vector<Color>& colors, const std::vector<float>& values) override; 42 const std::vector<ColorStopArray>& colors, const std::vector<float>& values, const GaugeType& type) override; 71 static void SetColors(FrameNode* frameNode, const std::vector<Color>& colors, const std::vector<float>& values); 73 const std::vector<float>& values, const GaugeType& type);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | gauge_model_impl.cpp | 26 void GaugeModelImpl::Create(float values, float min, float max) in Create() argument 28 auto progressChild = AceType::MakeRefPtr<ProgressComponent>(min, values, min, max, ProgressType::GAUGE); in Create() 67 void GaugeModelImpl::SetColors(const std::vector<Color>& colors, const std::vector<float>& values) in SetColors() argument 71 for (size_t i = 0; i < values.size(); ++i) { in SetColors() 72 values_old.push_back(values[i]); in SetColors()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | hyperlink_modifier.cpp | 65 ArkUINodeHandle node, const ArkUI_Float32* values, const ArkUI_Int32* units, ArkUI_Int32 length) in SetHyperlinkResponseRegion() 72 CalcDimension(values[i * NUM_4 + NUM_0], static_cast<DimensionUnit>(units[i * NUM_4 + NUM_0])); in SetHyperlinkResponseRegion() 74 CalcDimension(values[i * NUM_4 + NUM_1], static_cast<DimensionUnit>(units[i * NUM_4 + NUM_1])); in SetHyperlinkResponseRegion() 76 CalcDimension(values[i * NUM_4 + NUM_2], static_cast<DimensionUnit>(units[i * NUM_4 + NUM_2])); in SetHyperlinkResponseRegion() 78 CalcDimension(values[i * NUM_4 + NUM_3], static_cast<DimensionUnit>(units[i * NUM_4 + NUM_3])); in SetHyperlinkResponseRegion() 64 SetHyperlinkResponseRegion( ArkUINodeHandle node, const ArkUI_Float32* values, const ArkUI_Int32* units, ArkUI_Int32 length) SetHyperlinkResponseRegion() argument
|