/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktShaderLibrary.cpp | 169 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 171 const Value& val = spec.values.inputs[ndx]; in genVertexShader() 191 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 193 const Value& val = spec.values.inputs[ndx]; in genVertexShader() 253 genCompareFunctions(shader, spec.values, false); in genFragmentShader() 257 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in genFragmentShader() 259 const Value& val = spec.values.outputs[ndx]; in genFragmentShader() 274 declareReferenceBlock(shader, spec.values); in genFragmentShader() 283 genCompareOp(shader, "dEQP_FragColor", spec.values, DE_NULL); in genFragmentShader() 308 for (size_t ndx = 0; ndx < spec.values in specializeVertexShader() 617 computeStd140Layout(const vector<Value>& values) computeStd140Layout() argument 640 computeStd430Layout(const vector<Value>& values) computeStd430Layout() argument 694 copyToLayout(void* dst, const ValueBufferLayout& layout, const vector<Value>& values, int arrayNdx) copyToLayout() argument 1213 writeValuesToMem(Context& context, const vk::Allocation& dst, const ValueBufferLayout& layout, const vector<Value>& values, int arrayNdx) writeValuesToMem() argument 1553 getNumSubCases(const ValueBlock& values) getNumSubCases() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktShaderLibrary.cpp | 169 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 171 const Value& val = spec.values.inputs[ndx]; in genVertexShader() 191 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 193 const Value& val = spec.values.inputs[ndx]; in genVertexShader() 253 genCompareFunctions(shader, spec.values, false); in genFragmentShader() 257 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in genFragmentShader() 259 const Value& val = spec.values.outputs[ndx]; in genFragmentShader() 274 declareReferenceBlock(shader, spec.values); in genFragmentShader() 283 genCompareOp(shader, "dEQP_FragColor", spec.values, DE_NULL); in genFragmentShader() 308 for (size_t ndx = 0; ndx < spec.values in specializeVertexShader() 617 computeStd140Layout(const vector<Value>& values) computeStd140Layout() argument 640 computeStd430Layout(const vector<Value>& values) computeStd430Layout() argument 694 copyToLayout(void* dst, const ValueBufferLayout& layout, const vector<Value>& values, int arrayNdx) copyToLayout() argument 1213 writeValuesToMem(Context& context, const vk::Allocation& dst, const ValueBufferLayout& layout, const vector<Value>& values, int arrayNdx) writeValuesToMem() argument 1553 getNumSubCases(const ValueBlock& values) getNumSubCases() argument [all...] |
/foundation/deviceprofile/device_info_manager/services/core/src/subscribeprofilemanager/ |
H A D | subscribe_profile_manager.cpp | 209 std::map<std::string, std::string> values; in NotifyDeviceProfileAdd() local 210 values[dbKey] = dbValue; in NotifyDeviceProfileAdd() 213 ProfileUtils::EntriesToDeviceProfile(values, deviceProfile); in NotifyDeviceProfileAdd() 234 std::map<std::string, std::string> values; in NotifyDeviceProfileUpdate() local 235 values[dbKey] = dbValue; in NotifyDeviceProfileUpdate() 238 ProfileUtils::EntriesToDeviceProfile(values, newDeviceProfile); in NotifyDeviceProfileUpdate() 261 std::map<std::string, std::string> values; in NotifyDeviceProfileDelete() local 262 values[dbKey] = dbValue; in NotifyDeviceProfileDelete() 265 ProfileUtils::EntriesToDeviceProfile(values, deviceProfile); in NotifyDeviceProfileDelete() 286 std::map<std::string, std::string> values; in NotifyServiceProfileAdd() local 312 std::map<std::string, std::string> values; NotifyServiceProfileUpdate() local 341 std::map<std::string, std::string> values; NotifyServiceProfileDelete() local 367 std::map<std::string, std::string> values; NotifyCharProfileAdd() local 394 std::map<std::string, std::string> values; NotifyCharProfileUpdate() local 424 std::map<std::string, std::string> values; NotifyCharProfileDelete() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | values_bucket.cpp | 26 ValuesBucket::ValuesBucket(std::map<std::string, ValueObject> values) : values_(std::move(values)) in ValuesBucket() argument 30 ValuesBucket::ValuesBucket(const ValuesBucket &values) : values_(values.values_) in ValuesBucket() argument 34 ValuesBucket &ValuesBucket::operator=(const ValuesBucket &values) in operator =() argument 36 values_ = values.values_; in operator =() 40 ValuesBucket::ValuesBucket(ValuesBucket &&values) noexcept : values_(std::move(values.values_)) in move() 44 ValuesBucket &ValuesBucket::operator=(ValuesBucket &&values) noexcept 46 values_ = std::move(values [all...] |
/third_party/musl/porting/linux/user/src/conf/ |
H A D | sysconf.c | 27 static const short values[] = { in sysconf() local 170 if (name >= sizeof(values)/sizeof(values[0]) || !values[name]) { in sysconf() 173 } else if (values[name] >= -1) { in sysconf() 174 return values[name]; in sysconf() 175 } else if (values[name] < -256) { in sysconf() 177 getrlimit(values[name]&16383, &lim); in sysconf() 183 switch ((unsigned char)values[name]) { in sysconf() 214 return values[nam in sysconf() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | render_svg.cpp | 245 for (auto& [type, values] : transformAttr) { in UpdateTransform() 246 if (type == TRANSFORM_TRANSLATE && values.size() >= 2) { in UpdateTransform() 247 transform->Translate(Dimension(values[0]), Dimension(values[1])); in UpdateTransform() 248 } else if (type == TRANSFORM_SCALE && values.size() >= 2) { in UpdateTransform() 249 transform->Scale(values[0], values[1]); in UpdateTransform() 250 } else if (type == TRANSFORM_ROTATE && values.size() >= 1) { in UpdateTransform() 251 transform->RotateZ(values[0]); in UpdateTransform() 252 } else if (type == TRANSFORM_SKEW && values in UpdateTransform() [all...] |
H A D | svg_transform.cpp | 49 std::string values = attr.substr(attr.find_first_of("(") + 1); in CreateMatrix4() local 51 std::string tag = (values.find(",") != std::string::npos) ? "," : " "; in CreateMatrix4() 52 SplitStr(values, tag, numVec); in CreateMatrix4() 103 for (auto& [type, values] : transform) { in CreateMatrixFromMap() 104 if (values.empty()) { in CreateMatrixFromMap() 107 if (type == TRANSFORM_TRANSLATE && values.size() >= 2) { in CreateMatrixFromMap() 108 mat = Matrix4::CreateTranslate(values[0], values[1], 0); in CreateMatrixFromMap() 109 } else if (type == TRANSFORM_SCALE && values.size() >= 2) { in CreateMatrixFromMap() 110 mat = Matrix4::CreateScale(values[ in CreateMatrixFromMap() 140 std::string values = attr.substr(attr.find_first_of("(") + 1); CreateMap() local [all...] |
/foundation/communication/dsoftbus/tests/core/adapter/unittest/ |
H A D | lnn_kv_adapter_test.cpp | 159 map<string, string> values; in HWTEST_F() local 160 values.insert(pair<string, string>("key2", "value2")); in HWTEST_F() 161 values.insert(pair<string, string>("key3", "value3")); in HWTEST_F() 162 EXPECT_EQ(SOFTBUS_OK, kvStore->PutBatch(values)); in HWTEST_F() 173 map<string, string> values; in HWTEST_F() local 174 EXPECT_EQ(SOFTBUS_INVALID_PARAM, kvStore->PutBatch(values)); in HWTEST_F() 177 values[to_string(i)] = "value"; in HWTEST_F() 179 EXPECT_EQ(SOFTBUS_INVALID_PARAM, kvStore->PutBatch(values)); in HWTEST_F() 190 map<string, string> values; in HWTEST_F() local 191 values in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/i2c/muxes/ |
H A D | i2c-mux-gpio.c | 27 DECLARE_BITMAP(values, BITS_PER_TYPE(val)); in i2c_mux_gpio_set() 29 values[0] = val; in i2c_mux_gpio_set() 31 gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); in i2c_mux_gpio_set() 59 unsigned *values; in i2c_mux_gpio_probe_dt() local 80 values = devm_kcalloc(&pdev->dev, in i2c_mux_gpio_probe_dt() 81 mux->data.n_values, sizeof(*mux->data.values), in i2c_mux_gpio_probe_dt() 83 if (!values) { in i2c_mux_gpio_probe_dt() 84 dev_err(&pdev->dev, "Cannot allocate values array"); in i2c_mux_gpio_probe_dt() 89 of_property_read_u32(child, "reg", values + i); in i2c_mux_gpio_probe_dt() 92 mux->data.values in i2c_mux_gpio_probe_dt() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | test_zswap.c | 120 struct no_kmem_bypass_child_args *values = arg; in no_kmem_bypass_child() local 123 allocation = malloc(values->target_alloc_bytes); in no_kmem_bypass_child() 125 values->child_allocated = true; in no_kmem_bypass_child() 128 for (long i = 0; i < values->target_alloc_bytes; i += 4095) in no_kmem_bypass_child() 130 values->child_allocated = true; in no_kmem_bypass_child() 151 struct no_kmem_bypass_child_args *values; in test_no_kmem_bypass() local 161 /* Read sys info and compute test values accordingly */ in test_no_kmem_bypass() 166 values = mmap(0, sizeof(struct no_kmem_bypass_child_args), PROT_READ | in test_no_kmem_bypass() 168 if (values == MAP_FAILED) in test_no_kmem_bypass() 174 values in test_no_kmem_bypass() [all...] |
/third_party/rust/crates/clap/src/util/ |
H A D | flat_map.rs | 11 values: Vec<V>, 22 std::mem::swap(&mut self.values[index], &mut value); 33 self.values.push(value); 74 let value = self.values.remove(index); in remove_entry() 98 return Some(&self.values[index]); in get() 111 return Some(&mut self.values[index]); in get_mut() 124 values: self.values.iter(), in keys() 131 values: self.values in iter_mut() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | commonJSImportClassTypeReference.js | 7 k.values() 12 values() { 24 K.prototype.values = function () {
35 k.values();
41 values(): K;
|
H A D | commonJSImportNestedClassTypeReference.js | 7 k.values() 13 values() { 26 K.prototype.values = function () {
37 k.values();
44 values(): any;
|
H A D | controlFlowLoopAnalysis.js | 35 values: a[], 40 for (let index = 0, length = values.length; index < length; index++) { 41 let value = values[index]; 78 function mapUntilCant(values, canTake, mapping) {
80 for (var index = 0, length_1 = values.length; index < length_1; index++) {
81 var value = values[index];
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | CalendarCache.java | 25 values = new long[newSize]; in makeArrays() 28 values[i] = EMPTY; in makeArrays() 39 return values[findIndex(key)]; in get() 53 values[index] = value; in put() 61 while (values[index] != EMPTY && keys[index] != key) in findIndex() 75 long[] oldValues = values; in rehash() 122 private long[] values = new long[arraySize]; field in CalendarCache
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | CalendarCache.java | 27 values = new long[newSize]; in makeArrays() 30 values[i] = EMPTY; in makeArrays() 41 return values[findIndex(key)]; in get() 55 values[index] = value; in put() 63 while (values[index] != EMPTY && keys[index] != key) in findIndex() 77 long[] oldValues = values; in rehash() 124 private long[] values = new long[arraySize]; field in CalendarCache
|
/third_party/skia/tools/skpbench/ |
H A D | _benchresult.py | 63 values = list() 66 values.append(self.get_string(name + '_pad')) 67 values.append(self.get_string(name)) 68 values.append(config_suffix) 70 values.append(bench_pad[min(len(config_suffix), len(bench_pad) - 1):]) 71 values.append(self.get_string('bench')) 72 return ''.join(values)
|
/third_party/icu/icu4c/source/common/ |
H A D | simpleformatter.cpp | 29 * Segment length char values are from ARG_NUM_LIMIT+1 to this value here. 161 const UnicodeString *values[] = { &value0 }; in format() local 162 return formatAndAppend(values, 1, appendTo, NULL, 0, errorCode); in format() 169 const UnicodeString *values[] = { &value0, &value1 }; in format() local 170 return formatAndAppend(values, 2, appendTo, NULL, 0, errorCode); in format() 178 const UnicodeString *values[] = { &value0, &value1, &value2 }; in format() local 179 return formatAndAppend(values, 3, appendTo, NULL, 0, errorCode); in format() 183 const UnicodeString *const *values, int32_t valuesLength, in formatAndAppend() 189 if (isInvalidArray(values, valuesLength) || isInvalidArray(offsets, offsetsLength) || in formatAndAppend() 194 return format(compiledPattern.getBuffer(), compiledPattern.length(), values, in formatAndAppend() 182 formatAndAppend( const UnicodeString *const *values, int32_t valuesLength, UnicodeString &appendTo, int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) const formatAndAppend() argument 199 formatAndReplace( const UnicodeString *const *values, int32_t valuesLength, UnicodeString &result, int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) const formatAndReplace() argument 274 format( const UChar *compiledPattern, int32_t compiledPatternLength, const UnicodeString *const *values, UnicodeString &result, const UnicodeString *resultCopy, UBool forbidResultAsValue, int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) format() argument [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | simpleformatter.cpp | 29 * Segment length char values are from ARG_NUM_LIMIT+1 to this value here. 161 const UnicodeString *values[] = { &value0 }; in format() local 162 return formatAndAppend(values, 1, appendTo, nullptr, 0, errorCode); in format() 169 const UnicodeString *values[] = { &value0, &value1 }; in format() local 170 return formatAndAppend(values, 2, appendTo, nullptr, 0, errorCode); in format() 178 const UnicodeString *values[] = { &value0, &value1, &value2 }; in format() local 179 return formatAndAppend(values, 3, appendTo, nullptr, 0, errorCode); in format() 183 const UnicodeString *const *values, int32_t valuesLength, in formatAndAppend() 189 if (isInvalidArray(values, valuesLength) || isInvalidArray(offsets, offsetsLength) || in formatAndAppend() 194 return format(compiledPattern.getBuffer(), compiledPattern.length(), values, in formatAndAppend() 182 formatAndAppend( const UnicodeString *const *values, int32_t valuesLength, UnicodeString &appendTo, int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) const formatAndAppend() argument 199 formatAndReplace( const UnicodeString *const *values, int32_t valuesLength, UnicodeString &result, int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) const formatAndReplace() argument 274 format( const char16_t *compiledPattern, int32_t compiledPatternLength, const UnicodeString *const *values, UnicodeString &result, const UnicodeString *resultCopy, UBool forbidResultAsValue, int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) format() argument [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | simpleformatter.cpp | 29 * Segment length char values are from ARG_NUM_LIMIT+1 to this value here. 161 const UnicodeString *values[] = { &value0 }; in format() local 162 return formatAndAppend(values, 1, appendTo, NULL, 0, errorCode); in format() 169 const UnicodeString *values[] = { &value0, &value1 }; in format() local 170 return formatAndAppend(values, 2, appendTo, NULL, 0, errorCode); in format() 178 const UnicodeString *values[] = { &value0, &value1, &value2 }; in format() local 179 return formatAndAppend(values, 3, appendTo, NULL, 0, errorCode); in format() 183 const UnicodeString *const *values, int32_t valuesLength, in formatAndAppend() 189 if (isInvalidArray(values, valuesLength) || isInvalidArray(offsets, offsetsLength) || in formatAndAppend() 194 return format(compiledPattern.getBuffer(), compiledPattern.length(), values, in formatAndAppend() 182 formatAndAppend( const UnicodeString *const *values, int32_t valuesLength, UnicodeString &appendTo, int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) const formatAndAppend() argument 199 formatAndReplace( const UnicodeString *const *values, int32_t valuesLength, UnicodeString &result, int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) const formatAndReplace() argument 274 format( const UChar *compiledPattern, int32_t compiledPatternLength, const UnicodeString *const *values, UnicodeString &result, const UnicodeString *resultCopy, UBool forbidResultAsValue, int32_t *offsets, int32_t offsetsLength, UErrorCode &errorCode) format() argument [all...] |
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_store_backup_restore_test.cpp | 192 ValuesBucket values; in HWTEST_F() local 194 values.PutInt("id", 1); in HWTEST_F() 195 values.PutString("name", std::string("zhangsan")); in HWTEST_F() 196 values.PutInt("age", 18); in HWTEST_F() 197 values.PutDouble("salary", 100.5); in HWTEST_F() 198 values.PutBlob("blobType", std::vector<uint8_t>{ 1, 2, 3 }); in HWTEST_F() 199 int ret = store->Insert(id, "test", values); in HWTEST_F() 236 ValuesBucket values; in HWTEST_F() local 238 values.PutInt("id", 1); in HWTEST_F() 239 values in HWTEST_F() 295 ValuesBucket values; HWTEST_F() local [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_function_decl_test.cc | 72 auto values = decorations[0]->As<ast::WorkgroupDecoration>()->Values(); in TEST_F() local 74 ASSERT_TRUE(values[0]->Is<ast::IntLiteralExpression>()); in TEST_F() 75 EXPECT_EQ(values[0]->As<ast::IntLiteralExpression>()->ValueAsU32(), 2u); in TEST_F() 77 ASSERT_TRUE(values[1]->Is<ast::IntLiteralExpression>()); in TEST_F() 78 EXPECT_EQ(values[1]->As<ast::IntLiteralExpression>()->ValueAsU32(), 3u); in TEST_F() 80 ASSERT_TRUE(values[2]->Is<ast::IntLiteralExpression>()); in TEST_F() 81 EXPECT_EQ(values[2]->As<ast::IntLiteralExpression>()->ValueAsU32(), 4u); in TEST_F() 111 auto values = decorations[0]->As<ast::WorkgroupDecoration>()->Values(); in TEST_F() local 113 ASSERT_TRUE(values[0]->Is<ast::IntLiteralExpression>()); in TEST_F() 114 EXPECT_EQ(values[ in TEST_F() 155 auto values = decos[0]->As<ast::WorkgroupDecoration>()->Values(); TEST_F() local [all...] |
/third_party/python/Tools/scripts/ |
H A D | make_ctype.py | 60 values = [] variable 66 values.append("0x%02x" % i) 67 print(" %s," % ", ".join(values)) 75 values = [] variable 81 values.append("0x%02x" % i) 82 print(" %s," % ", ".join(values))
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | unordered_map_constructor_test.h | 180 std::vector<T> values; in TYPED_TEST_P() local 181 std::generate_n(std::back_inserter(values), 10, in TYPED_TEST_P() 183 TypeParam m(values.begin(), values.end(), 123, hasher, equal, alloc); in TYPED_TEST_P() 187 EXPECT_THAT(items(m), ::testing::UnorderedElementsAreArray(values)); in TYPED_TEST_P() 199 std::vector<T> values; in InputIteratorBucketAllocTest() local 200 std::generate_n(std::back_inserter(values), 10, in InputIteratorBucketAllocTest() 202 TypeParam m(values.begin(), values.end(), 123, alloc); in InputIteratorBucketAllocTest() 204 EXPECT_THAT(items(m), ::testing::UnorderedElementsAreArray(values)); in InputIteratorBucketAllocTest() 222 std::vector<T> values; InputIteratorBucketHashAllocTest() local 333 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; TYPED_TEST_P() local 356 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; InitializerListBucketAllocTest() local 379 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; InitializerListBucketHashAllocTest() local 432 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; TYPED_TEST_P() local 460 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; TYPED_TEST_P() local 469 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; TYPED_TEST_P() local [all...] |
H A D | unordered_set_constructor_test.h | 189 std::vector<T> values; in TYPED_TEST_P() local 191 values.push_back(hash_internal::Generator<T>()()); in TYPED_TEST_P() 192 TypeParam m(values.begin(), values.end(), 123, hasher, equal, alloc); in TYPED_TEST_P() 196 EXPECT_THAT(keys(m), ::testing::UnorderedElementsAreArray(values)); in TYPED_TEST_P() 208 std::vector<T> values; in InputIteratorBucketAllocTest() local 210 values.push_back(hash_internal::Generator<T>()()); in InputIteratorBucketAllocTest() 211 TypeParam m(values.begin(), values.end(), 123, alloc); in InputIteratorBucketAllocTest() 213 EXPECT_THAT(keys(m), ::testing::UnorderedElementsAreArray(values)); in InputIteratorBucketAllocTest() 231 std::vector<T> values; InputIteratorBucketHashAllocTest() local 339 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; TYPED_TEST_P() local 362 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; InitializerListBucketAllocTest() local 385 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; InitializerListBucketHashAllocTest() local 438 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; TYPED_TEST_P() local 466 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; TYPED_TEST_P() local 475 std::initializer_list<T> values = {gen(), gen(), gen(), gen(), gen()}; TYPED_TEST_P() local [all...] |