/base/useriam/user_auth_framework/services/ipc/src/ |
H A D | user_auth_service.cpp | 249 Attributes &values) in FillGetPropertyValue() 253 if (!values.SetInt32Value(Attributes::ATTR_NEXT_FAIL_LOCKOUT_DURATION, FIRST_LOCKOUT_DURATION_EXCEPT_PIN)) { in FillGetPropertyValue() 267 Attributes values; in GetProperty() local 271 callback->OnGetExecutorPropertyResult(CHECK_PERMISSION_FAILED, values); in GetProperty() 280 callback->OnGetExecutorPropertyResult(NOT_ENROLLED, values); in GetProperty() 290 callback->OnGetExecutorPropertyResult(GENERAL_ERROR, values); in GetProperty() 297 callback->OnGetExecutorPropertyResult(GENERAL_ERROR, values); in GetProperty() 308 int32_t result = resourceNode->GetProperty(attr, values); in GetProperty() 312 FillGetPropertyValue(authType, keys, values); in GetProperty() 314 callback->OnGetExecutorPropertyResult(result, values); in GetProperty() 248 FillGetPropertyValue(AuthType authType, const std::vector<Attributes::AttributeKey> &keys, Attributes &values) FillGetPropertyValue() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_list_modifier.cpp | 201 ArkUI_Int32 GetListEdgeEffect(ArkUINodeHandle node, ArkUI_Int32 (*values)[2]) in GetListEdgeEffect() argument 205 (*values)[INDEX_0] = ListModelNG::GetEdgeEffect(frameNode); in GetListEdgeEffect() 206 (*values)[INDEX_1] = ListModelNG::GetEdgeEffectAlways(frameNode); in GetListEdgeEffect() 267 void GetListNestedScroll(ArkUINodeHandle node, ArkUI_Int32 (*values)[2]) in GetListNestedScroll() argument 272 (*values)[0] = static_cast<ArkUI_Int32>(options.forward); in GetListNestedScroll() 273 (*values)[1] = static_cast<ArkUI_Int32>(options.backward); in GetListNestedScroll() 427 ArkUINodeHandle node, ArkUI_Uint32 color, const ArkUI_Float32* values, const int32_t* units, ArkUI_Int32 length) in ListSetDivider() 439 Dimension(values[CALL_STROKE_WIDTH], static_cast<OHOS::Ace::DimensionUnit>(units[CALL_STROKE_WIDTH])); in ListSetDivider() 441 Dimension(values[CALL_START_MARGIN], static_cast<OHOS::Ace::DimensionUnit>(units[CALL_START_MARGIN])); in ListSetDivider() 443 Dimension(values[CALL_END_MARGI in ListSetDivider() 426 ListSetDivider( ArkUINodeHandle node, ArkUI_Uint32 color, const ArkUI_Float32* values, const int32_t* units, ArkUI_Int32 length) ListSetDivider() argument [all...] |
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | ithumbnail_helper.cpp | 683 ValuesBucket values; in UpdateFailState() local 685 values.PutLong(PhotoColumn::PHOTO_THUMBNAIL_READY, static_cast<int64_t>(ThumbnailReady::GENERATE_THUMB_RETRY)); in UpdateFailState() 686 int32_t err = opts.store->Update(changedRows, opts.table, values, MEDIA_DATA_DB_ID + " = ?", in UpdateFailState() 697 ValuesBucket values; in UpdateThumbDbState() local 699 values.PutLong(PhotoColumn::PHOTO_THUMBNAIL_READY, MediaFileUtils::UTCTimeMilliSeconds()); in UpdateThumbDbState() 700 values.PutLong(PhotoColumn::PHOTO_THUMBNAIL_VISIBLE, 1); in UpdateThumbDbState() 703 ThumbnailUtils::SetThumbnailSizeValue(values, lcdSize, PhotoColumn::PHOTO_LCD_SIZE); in UpdateThumbDbState() 704 values.PutLong(PhotoColumn::PHOTO_LCD_VISIT_TIME, static_cast<int64_t>(LcdReady::GENERATE_LCD_COMPLETED)); in UpdateThumbDbState() 708 ThumbnailUtils::SetThumbnailSizeValue(values, thumbSize, PhotoColumn::PHOTO_THUMB_SIZE); in UpdateThumbDbState() 710 int32_t err = opts.store->Update(changedRows, opts.table, values, MEDIA_DATA_DB_I in UpdateThumbDbState() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_nb_delegate_local_batch_test.cpp | 68 static void CreatEntrys(int recordSize, vector<Key> &keys, vector<Value> &values, vector<Entry> &entries) in CreatEntrys() argument 71 values.clear(); in CreatEntrys() 85 values.push_back(valueTemp); in CreatEntrys() 208 vector<Value> values; in HWTEST_F() local 209 CreatEntrys(BATCH_PRESET_SIZE_TEST, keys, values, entries); in HWTEST_F() 355 * @tc.steps: step2. Use Get interface to query 128 corresponding key values. in HWTEST_F() 508 vector<Value> values; in HWTEST_F() local 510 CreatEntrys(BATCH_PRESET_SIZE_TEST, keys, values, entries); in HWTEST_F() 530 * keys6 ~ 10 + 123 additional key values (128 in total). in HWTEST_F() 533 CreatEntrys(DBConstant::MAX_BATCH_SIZE + DIVIDE_BATCH_PRESET_SIZE, keys, values, entrie in HWTEST_F() 607 vector<Value> values; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_predicates.cpp | 290 napi_value &thiz, std::string &field, std::vector<ValueObject> &values, const std::string valueType) in ParseFieldAndValueArray() 308 int32_t ret = JSUtils::Convert2Value(env, args[1], values); in ParseFieldAndValueArray() 703 std::vector<ValueObject> values; in In() local 704 auto predicatesProxy = ParseFieldAndValueArray(env, info, thiz, field, values, "ValueType"); in In() 707 if (values.empty()) { in In() 710 predicatesProxy->predicates_->In(field, values); in In() 718 std::vector<ValueObject> values; in NotIn() local 719 auto predicatesProxy = ParseFieldAndValueArray(env, info, thiz, field, values, "ValueType"); in NotIn() 722 if (values.empty()) { in NotIn() 725 predicatesProxy->predicates_->NotIn(field, values); in NotIn() 289 ParseFieldAndValueArray(napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, std::vector<ValueObject> &values, const std::string valueType) ParseFieldAndValueArray() argument [all...] |
/third_party/gn/src/gn/ |
H A D | desc_builder.cc | 59 // "metadata" : [ dictionary of target metadata values ] 216 const ConfigValues& values) { in FillInPrecompiledHeader() 218 !values.precompiled_header().empty()) { in FillInPrecompiledHeader() 221 RenderValue(values.precompiled_header(), true)); in FillInPrecompiledHeader() 224 !values.precompiled_source().is_null()) { in FillInPrecompiledHeader() 226 RenderValue(values.precompiled_source())); in FillInPrecompiledHeader() 243 const ConfigValues& values = config_->resolved_values(); in BuildDescription() local 265 render_config_value_array<type>(values, &ConfigValues::name); \ in BuildDescription() 290 FillInPrecompiledHeader(res.get(), values); in BuildDescription() 303 const ConfigValues& values, in render_config_value_array() 215 FillInPrecompiledHeader(base::DictionaryValue* out, const ConfigValues& values) FillInPrecompiledHeader() argument 302 render_config_value_array( const ConfigValues& values, const std::vector<T>& (ConfigValues::*getter)() const) render_config_value_array() argument [all...] |
/third_party/jinja2/ |
H A D | filters.py | 94 attribute values. 444 :param attribute: Filter objects with unique values for this attribute. 543 on nested elements and attributes that may contain undefined values 742 :param trim_url_limit: Shorten displayed URL values to this length. 965 The base is ignored for decimal numbers and non-string values. 992 """Apply the given values to a `printf-style`_ format string, like 993 ``string % values``. 1052 values on the last iteration. 1185 the values are sorted first so only one group is returned for each 1223 the case of the first item in that group of values [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_queue.c | 1073 const uint64_t *values, in vn_find_first_signaled_semaphore() 1080 if (result != VK_SUCCESS || val >= values[i]) in vn_find_first_signaled_semaphore() 1089 uint64_t *values, in vn_remove_signaled_semaphores() 1099 if (val < values[i]) in vn_remove_signaled_semaphores() 1125 uint64_t *values = local_values; in vn_WaitSemaphores() local 1128 alloc, (sizeof(*semaphores) + sizeof(*values)) * semaphore_count, in vn_WaitSemaphores() 1133 values = (uint64_t *)&semaphores[semaphore_count]; in vn_WaitSemaphores() 1137 memcpy(values, pWaitInfo->pValues, sizeof(*values) * semaphore_count); in vn_WaitSemaphores() 1140 result = vn_remove_signaled_semaphores(device, semaphores, values, in vn_WaitSemaphores() 1071 vn_find_first_signaled_semaphore(VkDevice device, const VkSemaphore *semaphores, const uint64_t *values, uint32_t count) vn_find_first_signaled_semaphore() argument 1087 vn_remove_signaled_semaphores(VkDevice device, VkSemaphore *semaphores, uint64_t *values, uint32_t *count) vn_remove_signaled_semaphores() argument [all...] |
/third_party/python/Lib/http/ |
H A D | client.py | 108 responses = {v: v.phrase for v in http.HTTPStatus.__members__.values()} 718 If there are multiple matching headers, the values are 1242 def putheader(self, header, *values): 1256 values = list(values) 1257 for i, one_value in enumerate(values): 1259 values[i] = one_value.encode('latin-1') 1261 values[i] = str(one_value).encode('ascii') 1263 if _is_illegal_header_value(values[i]): 1264 raise ValueError('Invalid header value %r' % (values[ [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | cwebp.c | 158 static void PrintValues(const int values[4]) { in PrintValues() argument 161 fprintf(stderr, "| %7d ", values[s]); in PrintValues() 586 printf(" -exact ................. preserve RGB values in transparent area, " in HelpLong() 589 " expressed as RGB values written in\n" in HelpLong() 605 "Valid values: all, none (default), exif, icc, xmp\n"); in HelpLong() 1056 // We enforced picture.use_argb = 1 above. Now, remove the alpha values. in main() 1206 float values[5]; in main() local 1208 print_distortion, values)) { in main() 1215 values[0], values[ in main() [all...] |
/third_party/python/Lib/test/ |
H A D | test_ordered_dict.py | 173 self.assertEqual(list(od.values()), [t[1] for t in pairs]) 179 self.assertEqual(list(reversed(od.values())), 202 self.assertEqual(sorted(od.values()), [t[1] for t in pairs]) 213 self.assertEqual(list(od.values()), empty) 217 self.assertEqual(list(reversed(od.values())), empty) 380 od[42] = od.values() 561 list(od.values()) 673 support.check_free_after_iterating(self, lambda d: iter(d.values()), self.OrderedDict) 788 check(od.values(), size('P')) 794 check(iter(od.values()), itersiz [all...] |
/third_party/protobuf/js/ |
H A D | message.js | 432 // the object is not an array, since arrays are valid field values (bytes 475 // after the last value in the array to avoid overwriting values, etc. 737 var values = jspb.Message.getRepeatedField(msg, fieldNumber); 742 for (var i = 0; i < values.length; i++) { 745 values[i] = +values[i]; 749 return /** @type {!Array<number>} */ (values); 760 var values = jspb.Message.getRepeatedField(msg, fieldNumber); 765 for (var i = 0; i < values.length; i++) { 767 values[ [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_image_bridge.cpp | 60 ArkUIRuntimeCallInfo* runtimeCallInfo, EcmaVM* vm, std::vector<ArkUI_Float32>& values) in ParseOuterBorderRadius() 77 PushOuterBorderDimensionVector(topLeftOptional, values); in ParseOuterBorderRadius() 78 PushOuterBorderDimensionVector(topRightOptional, values); in ParseOuterBorderRadius() 79 PushOuterBorderDimensionVector(bottomLeftOptional, values); in ParseOuterBorderRadius() 80 PushOuterBorderDimensionVector(bottomRightOptional, values); in ParseOuterBorderRadius() 795 ArkUI_Float32 values[size]; in SetBorderRadius() local 797 values[INDEX_0] = directionChanged ? topRight.Value() : topLeft.Value(); in SetBorderRadius() 799 values[INDEX_1] = directionChanged ? topLeft.Value() : topRight.Value(); in SetBorderRadius() 801 values[INDEX_2] = directionChanged ? bottomRight.Value() : bottomLeft.Value(); in SetBorderRadius() 803 values[INDEX_ in SetBorderRadius() 59 ParseOuterBorderRadius( ArkUIRuntimeCallInfo* runtimeCallInfo, EcmaVM* vm, std::vector<ArkUI_Float32>& values) ParseOuterBorderRadius() argument [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_datamanager_test/src/ |
H A D | medialibrary_datamanager_test.cpp | 844 DataShare::DataShareValuesBucket values; in HWTEST_F() local 846 int retVal = MediaLibraryDataManager::GetInstance()->Insert(cmd, values); in HWTEST_F() 855 DataShare::DataShareValuesBucket values; in HWTEST_F() local 856 values.Put(PERMISSION_FILE_ID, 1); in HWTEST_F() 858 int retVal = MediaLibraryDataManager::GetInstance()->Insert(cmd, values); in HWTEST_F() 867 DataShare::DataShareValuesBucket values; in HWTEST_F() local 868 values.Put(PERMISSION_FILE_ID, 1); in HWTEST_F() 869 values.Put(PERMISSION_BUNDLE_NAME, BUNDLE_NAME); in HWTEST_F() 871 int retVal = MediaLibraryDataManager::GetInstance()->Insert(cmd, values); in HWTEST_F() 1131 vector<DataShare::DataShareValuesBucket> values; in HWTEST_F() local 1141 vector<DataShare::DataShareValuesBucket> values; HWTEST_F() local 1151 vector<DataShare::DataShareValuesBucket> values; HWTEST_F() local [all...] |
/third_party/alsa-lib/src/topology/ |
H A D | data.c | 270 int delims, values, len = strlen(str); in get_hex_num() local 275 delims = values = 0; in get_hex_num() 291 values++; in get_hex_num() 304 delims = values = 0; in get_hex_num() 320 /* find 0x[0-9] values */ in get_hex_num() 325 values++; in get_hex_num() 335 if (values - 1 != delims) in get_hex_num() 338 return values; in get_hex_num() 346 int values = 0, ret = 0; in get_uuid() local 367 *(uuid_le + values) in get_uuid() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 441 return Arrays.stream(SampleType.values()) in testUniqueRules() 470 // get all of the sample values at the endpoints of each sample range in testUniqueRules() 503 String[] values = value.split("\\s*~\\s*"); in checkCategoriesAndExpected() 504 checkValue(title1, rules, expected, values[0]); in checkCategoriesAndExpected() 505 if (values.length > 1) { in checkCategoriesAndExpected() 506 checkValue(title1, rules, expected, values[1]); in checkCategoriesAndExpected() 686 errln("PluralRules.select(" + value + ") does not return the same values for " in compareLocaleResults() 852 // FixedDecimal values. in TestGetSamples() 907 // FixedDecimal values. in TestGetDecimalQuantitySamples() 965 assertEquals("Expansion of sample range to sequence of sample values shoul in testGetOrAddSamplesFromString() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderDerivateTests.cpp | 467 // * non-linearity may happen around zero or with very high function values due to subnorms not in reverifyConstantDerivateWithFlushRelaxations() 617 const DerivateCaseValues& values); 648 const DerivateCaseValues& values) in TriangleDerivateCaseInstance() 651 , m_values (values) in TriangleDerivateCaseInstance() 751 DerivateCaseValues values = dynamic_cast<TriangleDerivateCaseInstance&>(instance).getDerivateCaseValues(); in setup() local 755 instance.addUniform(0u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float), values.derivScale.getPtr()); in setup() 756 instance.addUniform(1u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float), values.derivBias.getPtr()); in setup() 859 const DerivateCaseValues& values); 868 const DerivateCaseValues& values) in ConstantDerivateCaseInstance() 869 : TriangleDerivateCaseInstance (context, uniformSetup, definitions, values) in ConstantDerivateCaseInstance() 645 TriangleDerivateCaseInstance(Context& context, const UniformSetup& uniformSetup, const DerivateCaseDefinition& definitions, const DerivateCaseValues& values) TriangleDerivateCaseInstance() argument 865 ConstantDerivateCaseInstance(Context& context, const UniformSetup& uniformSetup, const DerivateCaseDefinition& definitions, const DerivateCaseValues& values) ConstantDerivateCaseInstance() argument 1010 LinearDerivateCaseInstance(Context& context, const UniformSetup& uniformSetup, const DerivateCaseDefinition& definitions, const DerivateCaseValues& values) LinearDerivateCaseInstance() argument 1264 TextureDerivateCaseInstance(Context& context, const UniformSetup& uniformSetup, const DerivateCaseDefinition& definitions, const DerivateCaseValues& values, const TextureCaseValues& textureValues) TextureDerivateCaseInstance() argument [all...] |
/third_party/vk-gl-cts/external/amber/src/src/vkscript/ |
H A D | command_parser.cc | 486 std::vector<Value>* values) { in ParseValues() 487 assert(values); in ParseValues() 514 values->push_back(v); in ParseValues() 524 return Result(std::string("Incorrect number of values provided to ") + in ParseValues() 538 return Result("Missing binding and size values for ssbo command"); in ProcessSSBO() 624 std::vector<Value> values; in ProcessSSBO() local 625 Result r = ParseValues("ssbo", buf->GetFormat(), &values); in ProcessSSBO() 629 buf->RecalculateMaxSizeInBytes(values, cmd->GetOffset()); in ProcessSSBO() 631 cmd->SetValues(std::move(values)); in ProcessSSBO() 672 return Result("Missing binding and size values fo in ProcessUniform() 484 ParseValues(const std::string& name, Format* fmt, std::vector<Value>* values) ParseValues() argument 786 std::vector<Value> values; ProcessUniform() local 2110 std::vector<Value> values; ProcessProbeSSBO() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderDerivateTests.cpp | 443 // * non-linearity may happen around zero or with very high function values due to subnorms not in reverifyConstantDerivateWithFlushRelaxations() 593 const DerivateCaseValues& values); 624 const DerivateCaseValues& values) in TriangleDerivateCaseInstance() 627 , m_values (values) in TriangleDerivateCaseInstance() 753 DerivateCaseValues values = dynamic_cast<TriangleDerivateCaseInstance&>(instance).getDerivateCaseValues(); in setup() local 757 instance.addUniform(0u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float), values.derivScale.getPtr()); in setup() 758 instance.addUniform(1u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float), values.derivBias.getPtr()); in setup() 830 const DerivateCaseValues& values); 839 const DerivateCaseValues& values) in ConstantDerivateCaseInstance() 840 : TriangleDerivateCaseInstance (context, uniformSetup, definitions, values) in ConstantDerivateCaseInstance() 621 TriangleDerivateCaseInstance(Context& context, const UniformSetup& uniformSetup, const DerivateCaseDefinition& definitions, const DerivateCaseValues& values) TriangleDerivateCaseInstance() argument 836 ConstantDerivateCaseInstance(Context& context, const UniformSetup& uniformSetup, const DerivateCaseDefinition& definitions, const DerivateCaseValues& values) ConstantDerivateCaseInstance() argument 983 LinearDerivateCaseInstance(Context& context, const UniformSetup& uniformSetup, const DerivateCaseDefinition& definitions, const DerivateCaseValues& values) LinearDerivateCaseInstance() argument 1238 TextureDerivateCaseInstance(Context& context, const UniformSetup& uniformSetup, const DerivateCaseDefinition& definitions, const DerivateCaseValues& values, const TextureCaseValues& textureValues) TextureDerivateCaseInstance() argument [all...] |
/base/telephony/call_manager/utils/include/ |
H A D | settings_datashare_helper.h | 34 ErrCode Query(Uri& uri, const std::string& key, std::string& values);
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/restore/ |
H A D | tab_old_photos_restore.h | 31 std::string ToString(const std::vector<NativeRdb::ValueObject> &values);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/ |
H A D | general_watcher_mock.cpp | 28 int32_t MockGeneralWatcher::OnChange(const Origin &origin, const PRIFields &primaryFields, ChangeInfo &&values)
in OnChange() argument
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
H A D | DictionaryMatcher.java | 27 * @param values Filled with the weight values associated with the various words. 31 int[] count, int limit, int[] values); in matches() 30 matches(CharacterIterator text, int maxLength, int[] lengths, int[] count, int limit, int[] values) matches() argument
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DictionaryMatcher.java | 28 * @param values Filled with the weight values associated with the various words. 32 int[] count, int limit, int[] values); in matches() 31 matches(CharacterIterator text, int maxLength, int[] lengths, int[] count, int limit, int[] values) matches() argument
|
/third_party/libdrm/amdgpu/ |
H A D | handle_table.h | 32 void **values; member
|