/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_encoder.h | 102 /* Large values so the modulo is a no-op */ in panfrost_vertex_id() 151 * also have a gl_WorkGroupSize X/Y/Z triplet. These 6 values are packed 161 /* The values needing packing, in order, and the corresponding shifts. in panfrost_pack_work_groups_compute() 164 unsigned values[6] = { size_x, size_y, size_z, num_x, num_y, num_z }; in panfrost_pack_work_groups_compute() local 170 assert(values[i] >= 1); in panfrost_pack_work_groups_compute() 173 packed |= ((values[i] - 1) << shifts[i]); in panfrost_pack_work_groups_compute() 176 unsigned bit_count = util_logbase2_ceil(values[i]); in panfrost_pack_work_groups_compute()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | denseranges.cpp | 91 * @param values Sorted array of signed-integer values. 92 * @param length Number of values. 101 uprv_makeDenseRanges(const int32_t values[], int32_t length, in uprv_makeDenseRanges() argument 107 int32_t minValue=values[0]; in uprv_makeDenseRanges() 108 int32_t maxValue=values[length-1]; // Assume minValue<=maxValue. in uprv_makeDenseRanges() 128 int32_t actualValue=values[i]; in uprv_makeDenseRanges() 134 // We know gaps.count()>=1 because we have fewer values (length) than in uprv_makeDenseRanges() 140 // The values are too sparse for capacity or fewer ranges in uprv_makeDenseRanges()
|
/third_party/python/Lib/test/ |
H A D | test_pstats.py | 81 def __new__(cls, *values): 82 value = values[0] 85 for other_value in values[1:]: 87 obj._all_values = values
|
/third_party/typescript/tests/baselines/reference/ |
H A D | arrayFrom.js | 20 const result2: A[] = Array.from(inputA.values()); 21 const result3: B[] = Array.from(inputA.values()); // expect error 48 var result2 = Array.from(inputA.values());
49 var result3 = Array.from(inputA.values()); // expect error
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
H A D | bit_cast_test.cc | 32 void TestMarshall(const T values[], int num_values) { in TestMarshall() argument 34 T t0 = values[i]; in TestMarshall() 52 void TestIntegral(const T values[], int num_values) { in TestIntegral() argument 54 T t0 = values[i]; in TestIntegral()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGFeColorMatrix.cpp | 22 SkSVGAttributeParser::parse<SkSVGFeColorMatrixValues>("values", name, value)); in parseAndSetAttribute() 100 template <> bool SkSVGAttributeParser::parse(SkSVGFeColorMatrixValues* values) { in parse() argument 106 values->push_back(value); in parse() 108 if (!this->parse(&value) || values->count() >= 20) { in parse() 111 values->push_back(value); in parse()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deSha1.hpp | 62 // Utility functions for building hash from values. 63 // \note This is not same as serializing the values and computing hash from the data. 122 inline Sha1Stream& operator<< (Sha1Stream& stream, const std::vector<T>& values) in operator <<() argument 124 stream << (deUint64)values.size(); in operator <<() 126 for (size_t ndx = 0; ndx < values.size(); ndx++) in operator <<() 127 stream << values[ndx]; in operator <<() local
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
H A D | hisysevent_native_test.cpp | 730 std::vector<bool> values;
in HWTEST_F() local 733 values.push_back(true);
in HWTEST_F() 736 int result = HiSysEventWrite(domain, eventName, HiSysEvent::EventType::FAULT, "key1", values);
in HWTEST_F() 755 std::vector<bool> values;
in HWTEST_F() local 758 values.push_back(true);
in HWTEST_F() 761 int result = HiSysEventWrite(domain, eventName, HiSysEvent::EventType::FAULT, "key1", values);
in HWTEST_F() 780 std::vector<char> values;
in HWTEST_F() local 783 values.push_back('a');
in HWTEST_F() 786 int result = HiSysEventWrite(domain, eventName, HiSysEvent::EventType::FAULT, "key1", values);
in HWTEST_F() 805 std::vector<char> values;
in HWTEST_F() local 830 std::vector<unsigned char> values; HWTEST_F() local 855 std::vector<unsigned char> values; HWTEST_F() local 881 std::vector<std::string> values; HWTEST_F() local 906 std::vector<std::string> values; HWTEST_F() local 937 std::vector<std::string> values; HWTEST_F() local 965 std::vector<std::string> values; HWTEST_F() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICUResourceBundleReader.java | 360 /* get signed and unsigned integer values directly from the Resource handle */ 1151 private Object[] values = new Object[SIMPLE_LENGTH]; field in ICUResourceBundleReader.ResourceCache 1167 private static final Object putIfCleared(Object[] values, int index, Object item, int size) { in putIfCleared() argument 1168 Object value = values[index]; in putIfCleared() 1181 values[index] = CacheValue.futureInstancesWillBeStrong() ? in putIfCleared() 1191 Object[] values; field in ICUResourceBundleReader.ResourceCache.Level 1201 values = new Object[length]; in Level() 1208 return values[index]; in get() 1211 Level level = (Level)values[index]; in get() 1223 return putIfCleared(values, inde in putIfAbsent() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ICUResourceBundleReader.java | 362 /* get signed and unsigned integer values directly from the Resource handle */ 1153 private Object[] values = new Object[SIMPLE_LENGTH]; field in ICUResourceBundleReader.ResourceCache 1169 private static final Object putIfCleared(Object[] values, int index, Object item, int size) { in putIfCleared() argument 1170 Object value = values[index]; in putIfCleared() 1183 values[index] = CacheValue.futureInstancesWillBeStrong() ? in putIfCleared() 1193 Object[] values; field in ICUResourceBundleReader.ResourceCache.Level 1203 values = new Object[length]; in Level() 1210 return values[index]; in get() 1213 Level level = (Level)values[index]; in get() 1225 return putIfCleared(values, inde in putIfAbsent() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | raw-machine-assembler.cc | 594 Node* values[] = {Int32Constant(0), value}; in Return() local 595 Node* ret = MakeNode(common()->Return(1), 2, values); in Return() 601 Node* values[] = {Int32Constant(0), v1, v2}; in Return() local 602 Node* ret = MakeNode(common()->Return(2), 3, values); in Return() 608 Node* values[] = {Int32Constant(0), v1, v2, v3}; in Return() local 609 Node* ret = MakeNode(common()->Return(3), 4, values); in Return() 615 Node* values[] = {Int32Constant(0), v1, v2, v3, v4}; in Return() local 616 Node* ret = MakeNode(common()->Return(4), 5, values); in Return() 623 Node** values = new Node_ptr[count + 1]; in Return() 624 values[ in Return() 648 Node* values[] = {pop, value}; PopAndReturn() local 655 Node* values[] = {pop, v1, v2}; PopAndReturn() local 663 Node* values[] = {pop, v1, v2, v3}; PopAndReturn() local 671 Node* values[] = {pop, v1, v2, v3, v4}; PopAndReturn() local [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/ |
H A D | notification_rdb_data_mgr_test.cpp | 71 virtual int Update(int &changedRows, const std::string &table, const ValuesBucket &values,
in Update() argument 77 virtual int Update(int &changedRows, const std::string &table, const ValuesBucket &values,
in Update() argument 83 virtual int UpdateWithConflictResolution(int &changedRows, const std::string &table, const ValuesBucket &values,
in UpdateWithConflictResolution() argument 89 virtual int UpdateWithConflictResolution(int &changedRows, const std::string &table, const ValuesBucket &values,
in UpdateWithConflictResolution() argument 197 virtual int Update(int &changedRows, const ValuesBucket &values, const AbsRdbPredicates &predicates)
in Update() argument 452 std::unordered_map<std::string, std::string> values;
in HWTEST_F() local 453 ASSERT_EQ(notificationDataMgr->InsertBatchData(values, -1), NativeRdb::E_ERROR);
in HWTEST_F() 467 std::unordered_map<std::string, std::string> values = {
in HWTEST_F() local 475 ASSERT_EQ(notificationDataMgr->InsertBatchData(values, -1), NativeRdb::E_ERROR);
in HWTEST_F() 605 std::unordered_map<std::string, std::string> values;
in HWTEST_F() local 622 std::unordered_map<std::string, std::string> values; HWTEST_F() local 642 std::unordered_map<std::string, std::string> values; HWTEST_F() local [all...] |
/third_party/PyYAML/lib/yaml/ |
H A D | constructor.py | 325 values = match.groupdict() 326 year = int(values['year']) 327 month = int(values['month']) 328 day = int(values['day']) 329 if not values['hour']: 331 hour = int(values['hour']) 332 minute = int(values['minute']) 333 second = int(values['second']) 336 if values['fraction']: 337 fraction = values['fractio [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dca_lbr.c | 528 // Average values for third grid in parse_grid_1_chunk() 583 // Average values for third grid in parse_grid_1_sec_ch() 887 // Bit indicating if whole group has zero values in parse_grid_2() 1614 static void synth_tones(DCALbrDecoder *s, int ch, float *values, in synth_tones() argument 1639 values[3] += cf[0] * -s; in synth_tones() 1640 values[2] += cf[1] * c; in synth_tones() 1641 values[1] += cf[2] * s; in synth_tones() 1642 values[0] += cf[3] * -c; in synth_tones() 1645 values[2] += cf[0] * -s; in synth_tones() 1646 values[ in synth_tones() 1678 base_func_synth(DCALbrDecoder *s, int ch, float *values, int sf) base_func_synth() argument [all...] |
/base/security/access_token/services/common/database/test/unittest/ |
H A D | database_test.cpp | 178 std::vector<GenericValues> values;
in HWTEST_F() local 179 values.emplace_back(genericValues);
in HWTEST_F() 180 EXPECT_EQ(0, AccessTokenDb::GetInstance().Add(AtmDataType::ACCESSTOKEN_HAP_INFO, values));
in HWTEST_F() 199 std::vector<GenericValues> values;
in HWTEST_F() local 200 values.emplace_back(genericValues);
in HWTEST_F() 202 AccessTokenDb::GetInstance().Add(AtmDataType::ACCESSTOKEN_HAP_INFO, values));
in HWTEST_F() 232 std::vector<GenericValues> values;
in HWTEST_F() local 233 values.emplace_back(genericValues);
in HWTEST_F() 234 EXPECT_EQ(0, AccessTokenDb::GetInstance().Add(AtmDataType::ACCESSTOKEN_HAP_INFO, values));
in HWTEST_F()
|
/third_party/node/test/common/ |
H A D | inspector-helper.js | 278 _matchesConsoleOutputNotification(notification, type, values) { 279 if (!Array.isArray(values)) 280 values = [ values ]; 286 if (value.value !== values[i++]) 289 return i === values.length; 294 waitForConsoleOutput(type, values) { 295 const desc = `Console output matching ${JSON.stringify(values)}`; 298 type, values),
|
/third_party/mesa3d/src/mesa/program/ |
H A D | prog_parameter.c | 209 "Increase the reservation size in the code (wanted bytes %u, have %u || wanted values %u have %u).", in _mesa_reserve_parameter_storage() 237 /* The values are written to the shader cache, so clear them. */ in _mesa_reserve_parameter_storage() 257 * Note that parameter values are usually 4-element GLfloat vectors. 259 * store all the values (in blocks of 4). 264 * \param size number of elements in 'values' vector (1..4, or more) 266 * \param values initial parameter value, up to 4 gl_constant_values, or NULL 274 const gl_constant_value *values, in _mesa_add_parameter() 315 if (values) { in _mesa_add_parameter() 317 memcpy(paramList->ParameterValues + oldValNum, values, in _mesa_add_parameter() 318 size * sizeof(values[ in _mesa_add_parameter() 271 _mesa_add_parameter(struct gl_program_parameter_list *paramList, gl_register_file type, const char *name, GLuint size, GLenum datatype, const gl_constant_value *values, const gl_state_index16 state[STATE_LENGTH], bool pad_and_align) _mesa_add_parameter() argument 379 _mesa_add_typed_unnamed_constant(struct gl_program_parameter_list *paramList, const gl_constant_value *values, GLuint size, GLenum datatype, GLuint *swizzleOut) _mesa_add_typed_unnamed_constant() argument [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
H A D | RepeatedField.cs | 44 /// restrictions (no null values) and capabilities (deep cloning).
273 // Can't use codec.WriteTagAndValue, as that omits default values.
in WriteTo() 399 /// Adds all of the specified values into this collection.
401 /// <param name="values">The values to add to this collection.</param>
402 public void AddRange(IEnumerable<T> values)
in AddRange() argument 404 ProtoPreconditions.CheckNotNull(values, nameof(values));
in AddRange() 407 // we know the values are valid.
in AddRange() 408 var otherRepeatedField = values a in AddRange() 464 Add(IEnumerable<T> values) Add() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Print.hpp | 29 // values - for example a Float4 will expand to "%f %f %f %f" and four 30 // scalar values. 44 // returns all the printf format values. 52 // returns the printf values for all the values in the given array. 56 std::vector<Value *> values; in val() local 57 values.reserve(count); in val() 61 values.insert(values.end(), v.begin(), v.end()); in val() 63 return values; in val() 88 const std::vector<Value *> values; global() member in rr::PrintValue [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderIntegerFunctionTests.cpp | 320 virtual void getInputValues (int numValues, void* const* values) const = 0; 391 testCtx.getLog() << TestLog::Message << (m_numValues - numFailed) << " / " << m_numValues << " values passed" << TestLog::EndMessage; in iterate() 410 void getInputValues (int numValues, void* const* values) const in getInputValues() 419 deUint32* in0 = (deUint32*)values[0]; in getInputValues() 420 deUint32* in1 = (deUint32*)values[1]; in getInputValues() 520 void getInputValues (int numValues, void* const* values) const in getInputValues() 529 deUint32* in0 = (deUint32*)values[0]; in getInputValues() 530 deUint32* in1 = (deUint32*)values[1]; in getInputValues() 628 void getInputValues (int numValues, void* const* values) const in getInputValues() 634 deUint32* in0 = (deUint32*)values[ in getInputValues() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderIntegerFunctionTests.cpp | 176 virtual void getInputValues (int numValues, void* const* values) const = 0; 313 m_testCtx.getLog() << TestLog::Message << (m_numValues - numFailed) << " / " << m_numValues << " values passed" << TestLog::EndMessage; in iterate() 340 void getInputValues (int numValues, void* const* values) const in getInputValues() 349 deUint32* in0 = (deUint32*)values[0]; in getInputValues() 350 deUint32* in1 = (deUint32*)values[1]; in getInputValues() 436 void getInputValues (int numValues, void* const* values) const in getInputValues() 445 deUint32* in0 = (deUint32*)values[0]; in getInputValues() 446 deUint32* in1 = (deUint32*)values[1]; in getInputValues() 530 void getInputValues (int numValues, void* const* values) const in getInputValues() 536 deUint32* in0 = (deUint32*)values[ in getInputValues() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderLibraryCase.cpp | 155 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 157 const Value& val = spec.values.inputs[ndx]; in genVertexShader() 177 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 179 const Value& val = spec.values.inputs[ndx]; in genVertexShader() 251 genCompareFunctions(shader, spec.values, true); in genFragmentShader() 255 for (size_t ndx = 0; ndx < spec.values.outputs.size(); ndx++) in genFragmentShader() 257 const Value& val = spec.values.outputs[ndx]; in genFragmentShader() 276 genCompareOp(shader, customColorOut ? "dEQP_FragColor" : "gl_FragColor", spec.values, "v_", DE_NULL); in genFragmentShader() 301 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in specializeVertexShader() 303 const Value& val = spec.values in specializeVertexShader() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderIntegerFunctionTests.cpp | 320 virtual void getInputValues (int numValues, void* const* values) const = 0; 391 testCtx.getLog() << TestLog::Message << (m_numValues - numFailed) << " / " << m_numValues << " values passed" << TestLog::EndMessage; in iterate() 410 void getInputValues (int numValues, void* const* values) const in getInputValues() 419 deUint32* in0 = (deUint32*)values[0]; in getInputValues() 420 deUint32* in1 = (deUint32*)values[1]; in getInputValues() 520 void getInputValues (int numValues, void* const* values) const in getInputValues() 529 deUint32* in0 = (deUint32*)values[0]; in getInputValues() 530 deUint32* in1 = (deUint32*)values[1]; in getInputValues() 628 void getInputValues (int numValues, void* const* values) const in getInputValues() 634 deUint32* in0 = (deUint32*)values[ in getInputValues() [all...] |
/third_party/node/lib/internal/console/ |
H A D | constructor.js | 539 const values = []; 544 ArrayPrototypePush(values, _inspect(tabularData[i * 2 + 1])); 550 ArrayPrototypePush(values, _inspect(v)); 559 values, 569 const values = []; 572 ArrayPrototypePush(values, _inspect(v)); 575 return final([iterKey, valuesKey], [getIndexArray(length), values]); 604 const values = ObjectValues(map); 607 ArrayPrototypePush(values, valuesKeyArray); 610 ArrayPrototypeUnshift(values, indexKeyArra [all...] |
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_stats.py | 487 # Calls a values().batchGet() on the service to find the list of column names from each sheet in 491 LOGGER.debug("Called [spreadsheets.values().batchGet(spreadsheetId='" + spreadsheet_id + 493 request = service.values().batchGet(spreadsheetId=spreadsheet_id, ranges=header_ranges) 497 if 'values' in response['valueRanges'][k]: 498 # Headers are in the first row of values 499 headers[sheet_name] = response['valueRanges'][k]['values'][0] 505 # Calls values().batchUpdate() with supplied list of data <object(ValueRange)> to update on the 512 LOGGER.debug("Called [spreadsheets.values().batchUpdate(spreadsheetId='" + spreadsheet_id + 514 request = service.values().batchUpdate( 590 'values' [all...] |