/third_party/python/Tools/c-analyzer/c_common/ |
H A D | scriptutil.py | 107 def __init__(self, values, possible): 108 self.values = tuple(values) 114 return tuple(sorted(set(self.values))) 349 parser.error(f'invalid --fail values: {", ".join(exc.unique)}')
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Surface.cpp | 660 EGLnsecsANDROID *values) const in getCompositorTiming() 662 return mImplementation->getCompositorTiming(numTimestamps, names, values); in getCompositorTiming() 678 EGLnsecsANDROID *values) const in getFrameTimestamps() 680 return mImplementation->getFrameTimestamps(frameId, numTimestamps, timestamps, values); in getFrameTimestamps()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | command.h | 446 void SetValues(std::vector<Value>&& values) { values_ = std::move(values); } in SetValues() argument 549 void SetValues(std::vector<Value>&& values) { values_ = std::move(values); } in SetValues() argument
|
/third_party/python/Lib/concurrent/futures/ |
H A D | process.py | 411 worker_sentinels = [p.sentinel for p in list(self.processes.values())] 497 for p in self.processes.values(): 552 for p in self.processes.values(): 557 return sum(p.is_alive() for p in self.processes.values()) 811 Exception: If fn(*args) raises for any values.
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | stringtriebuilder.cpp | 484 if(units[i]!=o.units[i] || values[i]!=o.values[i] || equal[i]!=o.equal[i]) { in operator ==() 529 builder.writeValueAndFinal(values[unitNumber], TRUE); in write() 540 value=values[unitNumber]; in write()
|
/third_party/protobuf/js/binary/ |
H A D | utils_test.js | 116 // V8's internal double-to-string conversion is inaccurate for values above 319 // All possible unsigned 16-bit values should be storable in a string, they 394 // Various positive values. 401 // Various negative values. 480 // Various positive values. 487 // Various negative values. 547 var values = []; 549 values.push(Math.floor(i)); 553 writer.writePackedUint64(1, values); 560 .toEqual(values [all...] |
/third_party/python/Modules/clinic/ |
H A D | itertoolsmodule.c.h | 114 "teedataobject(iterable, values, next, /)\n" 121 PyObject *values, PyObject *next); 128 PyObject *values; in itertools_teedataobject() local 144 values = PyTuple_GET_ITEM(args, 1); in itertools_teedataobject() 146 return_value = itertools_teedataobject_impl(type, it, values, next); in itertools_teedataobject() 327 "Return an iterator whose values are returned from the function evaluated with an argument tuple taken from the given sequence."); 624 "Return a count object whose .__next__() method returns consecutive values.\n"
|
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/ |
H A D | utils_test.js | 116 // V8's internal double-to-string conversion is inaccurate for values above 319 // All possible unsigned 16-bit values should be storable in a string, they 387 // Various positive values. 394 // Various negative values. 457 // Various positive values. 464 // Various negative values. 477 var values = []; 479 values.push(Math.floor(i)); 483 writer.writePackedUint64(1, values); 489 assertEquals(values [all...] |
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/ |
H A D | utils_test.js | 116 // V8's internal double-to-string conversion is inaccurate for values above 319 // All possible unsigned 16-bit values should be storable in a string, they 387 // Various positive values. 394 // Various negative values. 457 // Various positive values. 464 // Various negative values. 477 var values = []; 479 values.push(Math.floor(i)); 483 writer.writePackedUint64(1, values); 489 assertEquals(values [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglChooseConfigReference.cpp | 377 void setValues (std::vector<std::pair<EGLenum, EGLint> > values) in setValues() argument 379 for (size_t ndx = 0; ndx < values.size(); ndx++) in setValues() 381 const EGLenum name = values[ndx].first; in setValues() 382 const EGLint value = values[ndx].second; in setValues()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | data_ability_helper_test.cpp | 1211 std::vector<NativeRdb::ValuesBucket> values; in HWTEST_F() local 1212 auto returnBatchInsert = [&](const Uri &uri, const std::vector<NativeRdb::ValuesBucket> &values) { return true; }; in HWTEST_F() 1217 dataAbilityHelper->BatchInsert(*uri, values); in HWTEST_F() 1238 std::vector<NativeRdb::ValuesBucket> values; in HWTEST_F() local 1239 auto returnBatchInsert = [&](const Uri &uri, const std::vector<NativeRdb::ValuesBucket> &values) { return true; }; in HWTEST_F() 1244 dataAbilityHelper->BatchInsert(*uri, values); in HWTEST_F() 1268 std::vector<NativeRdb::ValuesBucket> values; in HWTEST_F() local 1275 values.push_back(value1); in HWTEST_F() 1276 values.push_back(value2); in HWTEST_F() 1277 values in HWTEST_F() 1305 std::vector<NativeRdb::ValuesBucket> values; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbstorePredicatesJsunit.test.js | 2569 var values = [Number.MIN_VALUE.toString()]; 2571 predicates.in("doubleValue", values); 2587 var values = ["1.0"]; 2589 predicates.in("doubleValue", values); 2605 var values = [DOUBLE_MAX.toString()]; 2607 predicates.in("doubleValue", values); 2623 var values = [Number.MIN_VALUE.toString(), "1.0", DOUBLE_MAX.toString()]; 2625 predicates.in("doubleValue", values); 2641 var values = [1, -2147483648]; 2643 predicates.notIn("integerValue", values); [all...] |
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testpatch.py | 69 self.values = {} 72 return self.values[name] 75 self.values[name] = value 78 del self.values[name] 81 return iter(self.values) 548 original = foo.values.copy() 558 self.assertEqual(foo.values, original) 562 self.assertEqual(len(foo.values), 3) 567 self.assertEqual(foo.values, original) 606 original = foo.values [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/sink/ |
H A D | audio_server_sink_plugin.cpp | 88 DiscreteCapability<uint32_t> values; in UpdateSupportedSampleRate() local 90 values.push_back(static_cast<uint32_t>(rate)); in UpdateSupportedSampleRate() 92 if (!values.empty()) { in UpdateSupportedSampleRate() 93 inCaps.AppendDiscreteKeys<uint32_t>(OHOS::Media::Tag::AUDIO_SAMPLE_RATE, values); in UpdateSupportedSampleRate() 100 DiscreteCapability<AudioSampleFormat> values(g_aduFmtMap.size()); in UpdateSupportedSampleFormat() 104 values.emplace_back(std::get<0>(item)); in UpdateSupportedSampleFormat() 107 inCaps.AppendDiscreteKeys(OHOS::Media::Tag::AUDIO_SAMPLE_FORMAT, values); in UpdateSupportedSampleFormat()
|
/third_party/node/deps/v8/tools/ |
H A D | run_perf.py | 143 def GeometricMean(values): 144 """Returns the geometric mean of a list of values. 148 values = list(map(float, values)) 149 return math.exp(sum(map(math.log, values)) / len(values)) 161 "results": [<list of values measured over several runs>], 220 'traces': list(self.traces.values()), 222 'runnables': list(self.runnables.values()), 239 values mus [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | listformattertest.cpp | 68 int32_t *values, in ExpectPositions() 93 if (values[i*3] == id && values[i*3+1] == start && values[i*3+2] == limit) { in ExpectPositions() 105 assertTrue((UnicodeString) "missing [" + attrString(values[i*3]) + "," + values[i*3+1] + in ExpectPositions() 106 "," + values[i*3+2] + "]", found[i]); in ExpectPositions() 109 assertTrue("no expected values were missing", ok); in ExpectPositions() 66 ExpectPositions( const FormattedList& iter, int32_t *values, int32_t tupleCount, UErrorCode& status) ExpectPositions() argument
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_utl.c | 317 STACK_OF(CONF_VALUE) *values = NULL; in STACK_OF() 352 if (!X509V3_add_value(ntmp, NULL, &values)) { in STACK_OF() 367 if (!X509V3_add_value(ntmp, vtmp, &values)) { in STACK_OF() 383 if (!X509V3_add_value(ntmp, vtmp, &values)) { in STACK_OF() 392 if (!X509V3_add_value(ntmp, NULL, &values)) { in STACK_OF() 397 return values; in STACK_OF() 401 sk_CONF_VALUE_pop_free(values, X509V3_conf_free); in STACK_OF() 1193 * Treat the IPv6 representation as a list of values separated by ':'. in ipv6_from_asc()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | UniformTest.cpp | 458 // Test that float to integer GetUniform rounds values correctly. 522 // Test that integer to float GetUniform rounds values correctly. 526 // large values are rounded to the nearest float representation of an integer. in TEST_P() 836 std::vector<GLfloat> values(10000 * 6); in TEST_P() 845 glUniform1fv(floatLocation, kOverflowSize, &values[0]); in TEST_P() 848 glUniformMatrix3x2fv(matLocation, kOverflowSize, GL_FALSE, &values[0]); in TEST_P() 849 glUniformMatrix3x2fv(matLocation, kOverflowSize, GL_TRUE, &values[0]); in TEST_P() 857 glUniform1fv(floatLocationOffset, kOverflowSize, &values[0]); in TEST_P() 858 glUniformMatrix3x2fv(matLocationOffset, kOverflowSize, GL_FALSE, &values[0]); in TEST_P() 859 glUniformMatrix3x2fv(matLocationOffset, kOverflowSize, GL_TRUE, &values[ in TEST_P() [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_utl.c | 317 STACK_OF(CONF_VALUE) *values = NULL; in STACK_OF() 352 if (!X509V3_add_value(ntmp, NULL, &values)) { in STACK_OF() 367 if (!X509V3_add_value(ntmp, vtmp, &values)) { in STACK_OF() 383 if (!X509V3_add_value(ntmp, vtmp, &values)) { in STACK_OF() 392 if (!X509V3_add_value(ntmp, NULL, &values)) { in STACK_OF() 397 return values; in STACK_OF() 401 sk_CONF_VALUE_pop_free(values, X509V3_conf_free); in STACK_OF() 1221 * Treat the IPv6 representation as a list of values separated by ':'. in ipv6_from_asc()
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
H A D | objectivec_helpers.cc | 108 std::vector<string> values; in UnderscoresToCamelCase() local 118 values.push_back(current); in UnderscoresToCamelCase() 127 values.push_back(current); in UnderscoresToCamelCase() 135 values.push_back(current); in UnderscoresToCamelCase() 145 values.push_back(current); in UnderscoresToCamelCase() 149 for (std::vector<string>::iterator i = values.begin(); i != values.end(); ++i) { in UnderscoresToCamelCase()
|
/third_party/python/Python/ |
H A D | ast_opt.c | 666 asdl_expr_seq *values = _Py_asdl_expr_seq_new(1, ctx_); in astfold_body() local 667 if (!values) { in astfold_body() 670 asdl_seq_SET(values, 0, st->v.Expr.value); in astfold_body() 671 expr_ty expr = _PyAST_JoinedStr(values, st->lineno, st->col_offset, in astfold_body() 714 CALL_SEQ(astfold_expr, expr, node_->v.BoolOp.values); in astfold_expr() 736 CALL_SEQ(astfold_expr, expr, node_->v.Dict.values); in astfold_expr() 782 CALL_SEQ(astfold_expr, expr, node_->v.JoinedStr.values); in astfold_expr()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | DescriptorsTest.java | 87 assertEquals(FieldDescriptor.Type.values().length, FieldDescriptorProto.Type.values().length); in testFieldTypeEnumMapping() 88 for (FieldDescriptor.Type type : FieldDescriptor.Type.values()) { in testFieldTypeEnumMapping() 390 FieldDescriptor.Type[] values1 = FieldDescriptor.Type.values(); in testFieldTypeTablesMatch() 391 WireFormat.FieldType[] values2 = WireFormat.FieldType.values(); in testFieldTypeTablesMatch() 402 FieldDescriptor.JavaType[] values1 = FieldDescriptor.JavaType.values(); in testJavaTypeTablesMatch() 403 WireFormat.JavaType[] values2 = WireFormat.JavaType.values(); in testJavaTypeTablesMatch()
|
/third_party/python/Lib/test/ |
H A D | test_time.py | 186 # of the time tuple (0 is valid for *all* values). 259 # values. No test for daylight savings since strftime() does 419 # Not sure how to check the values, since the clock could tick 449 # Issue #13309: passing extreme values to mktime() or localtime() 788 values = ( 789 # small values 808 for value in values: 837 values = [ns / unit_to_ns for ns in ns_timestamps] 840 values = [ns // unit_to_ns for ns in ns_timestamps] 843 values [all...] |
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/ |
H A D | media_channel.cpp | 35 SharingValue::Ptr values = nullptr; in MediaChannel() local 37 auto ret = Config::GetInstance().GetConfig("mediachannel", "bufferDispatcher", "maxBufferCapacity", values); in MediaChannel() 39 values->GetValue<int32_t>(maxBufferCapacity); in MediaChannel() 43 ret = Config::GetInstance().GetConfig("mediachannel", "bufferDispatcher", "bufferCapacityIncrement", values); in MediaChannel() 45 values->GetValue<int32_t>(bufferCapacityIncrement); in MediaChannel()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_span_modifier.cpp | 324 ArkUINodeHandle node, ArkUI_Uint32 color, const ArkUI_Float32* values, const ArkUI_Int32* units, ArkUI_Int32 length) in SetSpanTextBackgroundStyle() 333 borderRadius.radiusTopLeft = Dimension(values[NUM_0], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_0])); in SetSpanTextBackgroundStyle() 334 borderRadius.radiusTopRight = Dimension(values[NUM_1], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_1])); in SetSpanTextBackgroundStyle() 335 borderRadius.radiusBottomLeft = Dimension(values[NUM_2], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_2])); in SetSpanTextBackgroundStyle() 336 borderRadius.radiusBottomRight = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_3])); in SetSpanTextBackgroundStyle() 323 SetSpanTextBackgroundStyle( ArkUINodeHandle node, ArkUI_Uint32 color, const ArkUI_Float32* values, const ArkUI_Int32* units, ArkUI_Int32 length) SetSpanTextBackgroundStyle() argument
|