Home
last modified time | relevance | path

Searched refs:valueType (Results 1 – 25 of 52) sorted by relevance

123

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMapEntryLite.java50 public final WireFormat.FieldType valueType; field in MapEntryLite.Metadata
56 WireFormat.FieldType valueType, in Metadata() argument
60 this.valueType = valueType; in Metadata()
74 WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) { in MapEntryLite() argument
75 this.metadata = new Metadata<K, V>(keyType, defaultKey, valueType, defaultValue); in MapEntryLite()
103 WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance() argument
104 return new MapEntryLite<K, V>(keyType, defaultKey, valueType, defaultValue); in newDefaultInstance()
110 FieldSet.writeElement(output, metadata.valueType, VALUE_FIELD_NUMBER, value); in writeTo()
115 + FieldSet.computeElementSize(metadata.valueType, VALUE_FIELD_NUMBER, value); in computeSerializedSize()
183 } else if (tag == WireFormat.makeTag(VALUE_FIELD_NUMBER, metadata.valueType.getWireType())) { in parseEntry()
[all …]
DMapEntry.java61 WireFormat.FieldType valueType) { in Metadata() argument
62 super(keyType, defaultInstance.key, valueType, defaultInstance.value); in Metadata()
86 WireFormat.FieldType valueType, in MapEntry() argument
90 this.metadata = new Metadata<K, V>(descriptor, this, keyType, valueType); in MapEntry()
126 WireFormat.FieldType valueType, in newDefaultInstance() argument
128 return new MapEntry<K, V>(descriptor, keyType, defaultKey, valueType, defaultValue); in newDefaultInstance()
447 if (metadata.valueType.getJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
/third_party/node/test/node-api/test_reference_by_node_api_version/
Dtest_reference_by_node_api_version.c33 napi_valuetype valueType; in GetArgValueAsIndex() local
34 NODE_API_CHECK_STATUS(napi_typeof(env, argValue, &valueType)); in GetArgValueAsIndex()
36 env, valueType == napi_number, "Argument must be a number."); in GetArgValueAsIndex()
79 napi_valuetype valueType; in CreateRef() local
80 NODE_API_CALL(env, napi_typeof(env, argValue, &valueType)); in CreateRef()
81 uint32_t index = (uint32_t)valueType; in CreateRef()
126 napi_valuetype valueType; in AddFinalizer() local
127 NODE_API_CALL(env, napi_typeof(env, obj, &valueType)); in AddFinalizer()
128 NODE_API_ASSERT(env, valueType == napi_object, "Argument must be an object."); in AddFinalizer()
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java108 this.valueType = Utils.rubyToFieldType(args[1]); in initialize()
125 if (needTypeclass(this.valueType) && args.length > 2) { in initialize()
127 Utils.validateTypeClass(context, this.valueType, this.valueTypeClass); in initialize()
152 value = Utils.checkType(context, valueType, value, (RubyModule) valueTypeClass); in indexSet()
154 if (valueType == Descriptors.FieldDescriptor.Type.ENUM && in indexSet()
349 switch (valueType) { in deepCopy()
399 this.valueType == other.valueType && in typeCompatible()
405 if (needTypeclass(valueType)) { in newThisType()
408 Utils.fieldTypeToRuby(context, valueType), in newThisType()
413 Utils.fieldTypeToRuby(context, valueType), in newThisType()
[all …]
DRubyMessageBuilderContext.java146 IRubyObject valueType = args[2]; in map() local
179 valueField.setType(context, valueType); in map()
DRubyMessage.java780 IRubyObject valueType = RubySymbol.newSymbol(context.runtime, valueField.getType().name()); in newMapForField() local
785 return (RubyMap) cMap.newInstance(context, keyType, valueType, in newMapForField()
788 return (RubyMap) cMap.newInstance(context, keyType, valueType, Block.NULL_BLOCK); in newMapForField()
/third_party/node/test/parallel/
Dtest-async-hooks-fatal-error.js13 function child(type, valueType) { argument
19 if (valueType === 'symbol') {
42 for (const [valueType, expect] of valueTypes) {
45 [ __filename, 'child', type, valueType ],
Dtest-fs-statfs.js7 const valueType = isBigint ? 'bigint' : 'number';
13 assert.strictEqual(typeof statfs[k], valueType,
14 `${k} should be a ${valueType}`);
Dtest-fs-promises.js86 const valueType = isBigint ? 'bigint' : 'number';
89 assert.strictEqual(typeof stat.type, valueType);
90 assert.strictEqual(typeof stat.bsize, valueType);
91 assert.strictEqual(typeof stat.blocks, valueType);
92 assert.strictEqual(typeof stat.bfree, valueType);
93 assert.strictEqual(typeof stat.bavail, valueType);
94 assert.strictEqual(typeof stat.files, valueType);
95 assert.strictEqual(typeof stat.ffree, valueType);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp138 DataType getTransportType (DataType valueType) in getTransportType() argument
140 if (isDataTypeBoolOrBVec(valueType)) in getTransportType()
141 return glu::getDataTypeUintVec(getDataTypeScalarSize(valueType)); in getTransportType()
143 return valueType; in getTransportType()
146 int getNumTransportLocations (DataType valueType) in getNumTransportLocations() argument
148 return isDataTypeMatrix(valueType) ? getDataTypeMatrixNumColumns(valueType) : 1; in getNumTransportLocations()
172 const DataType valueType = val.type.getBasicType(); in genVertexShader() local
173 const DataType transportType = getTransportType(valueType); in genVertexShader()
175 const int numLocs = getNumTransportLocations(valueType); in genVertexShader()
178 …putLoc << ") flat out " << transportTypeStr << " " << (transportType != valueType ? "v_" : "") << … in genVertexShader()
[all …]
/third_party/skia/resources/sksl/es2_conformance/
Dimport_conformance_tests.py133 valueType = v[0] variable
136 if valueType == 'uniform':
138 elif valueType == 'input':
140 elif valueType == 'output':
/third_party/node/deps/npm/node_modules/aproba/
Dindex.js74 let valueType
76 if (types[typeCode].check(value)) valueType = types[typeCode].label
79 englishList(expectedTypes) + ' but got ' + valueType)
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DBcp47MapperTest.java178 valueType("info-key", "info-type", "value-type")); in testInfoAttributes()
270 private static CldrValue valueType(String keyName, String typeName, String valueType) { in valueType() argument
274 appendAttribute(cldrPath, "valueType", valueType); in valueType()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputSPIRV.cpp235 const TType &valueType,
237 void accessChainStore(NodeData *data, spirv::IdRef value, const TType &valueType);
321 const TType &valueType,
325 const TType &valueType,
883 const TType &valueType, in accessChainLoad() argument
886 const SpirvDecorations &decorations = mBuilder.getDecorations(valueType); in accessChainLoad()
994 cast(loadResult, valueType, accessChain.typeSpec, {}, resultTypeIdOut); in accessChainLoad()
1001 const TType &valueType) in accessChainStore() argument
1023 value = cast(value, valueType, {}, accessChain.typeSpec, nullptr); in accessChainStore()
4171 const TType &valueType, in castBasicType() argument
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleValidityChecker.java149 ValueType valueType = null; in isValidU() local
176 valueType = KeyTypeData.getValueType(key); in isValidU()
186 switch (valueType) { in isValidU()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DLocaleValidityChecker.java154 ValueType valueType = null; in isValidU() local
181 valueType = KeyTypeData.getValueType(key); in isValidU()
191 switch (valueType) { in isValidU()
/third_party/node/deps/npm/node_modules/jackspeak/dist/cjs/
Dindex.js56 const valueType = (v) => typeof v === 'string' function
63 ? joinTypes([...new Set(v.map(v => valueType(v)))]) + '[]'
406 …throw Object.assign(new Error(`Invalid value ${valueType(o[field])} for ${field}, expected ${value…
/third_party/node/deps/npm/node_modules/jackspeak/dist/mjs/
Dindex.js49 const valueType = (v) => typeof v === 'string' function
56 ? joinTypes([...new Set(v.map(v => valueType(v)))]) + '[]'
398 …throw Object.assign(new Error(`Invalid value ${valueType(o[field])} for ${field}, expected ${value…
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRemoveDynamicIndexing.cpp474 TType *valueType = GetFieldType(type); in visitBinary() local
475 valueType->setQualifier(EvqParamIn); in visitBinary()
477 mSymbolTable, kValueName, static_cast<const TType *>(valueType), in visitBinary()
/third_party/mindspore/patches/
D0003-add-js-api.patch2772 + napi_valuetype valueType;
2773 + napi_status status = napi_typeof(env, root, &valueType);
2778 + if ((valueType != napi_object) && (valueType != napi_string) && (valueType != napi_number)) {
2799 + } else if (valueType == napi_number) {
2834 + napi_valuetype valueType;
2835 + napi_status status = napi_typeof(env, args, &valueType);
2836 + if ((status != napi_ok) || (valueType != napi_object)) {
2864 + napi_valuetype valueType;
2865 + napi_status status = napi_typeof(env, root, &valueType);
2866 + if ((status != napi_ok) || (valueType != napi_object)) {
[all …]
/third_party/typescript/src/executeCommandLine/
DexecuteCommandLine.ts149 valueType: string;
179 …text.push(...getPrettyOutput(valueCandidates.valueType, valueCandidates.possibleValues, rightAlign…
196 text.push(`${valueCandidates.valueType} ${valueCandidates.possibleValues}`);
272 valueType: getValueType(option),
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp292 : valueType (valueType_) in Value()
298 ValueType valueType; member
1748 const bool isUnaryOp = (funcInfo.input1.valueType == VALUE_NONE); in init()
1782 if (v.valueType == VALUE_NONE) in init()
1785 const int prevInScalarSize = isScalarType(prevV.valueType) ? 1 : inScalarSize; in init()
1786 … const DataType prevInDataType = isFloatType(prevV.valueType) ? s_floatTypes[prevInScalarSize - 1] in init()
1787 : isIntType(prevV.valueType) ? s_intTypes[prevInScalarSize - 1] in init()
1788 : isUintType(prevV.valueType) ? s_uintTypes[prevInScalarSize - 1] in init()
1789 : isBoolType(prevV.valueType) ? s_boolTypes[prevInScalarSize - 1] in init()
1792 const int curInScalarSize = isScalarType(v.valueType) ? 1 : inScalarSize; in init()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES.h325 GLenum valueType, in ValidateUniformValue() argument
330 if (valueType != uniformType && VariableBoolVectorType(valueType) != uniformType) in ValidateUniformValue()
340 GLenum valueType,
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderOperatorTests.cpp515 : valueType (valueType_) in Value()
521 ValueType valueType; member
2148 bool isUnaryOp = (funcInfo.input1.valueType == VALUE_NONE);
2181 if (v.valueType == VALUE_NONE)
2184 int prevInScalarSize = isScalarType(prevV.valueType) ? 1 : inScalarSize;
2185 … DataType prevInDataType = isFloatType(prevV.valueType) ? s_floatTypes[prevInScalarSize - 1]
2186 : isIntType(prevV.valueType) ? s_intTypes[prevInScalarSize - 1]
2187 : isUintType(prevV.valueType) ? s_uintTypes[prevInScalarSize - 1]
2188 : isBoolType(prevV.valueType) ? s_boolTypes[prevInScalarSize - 1]
2191 int curInScalarSize = isScalarType(v.valueType) ? 1 : inScalarSize;
[all …]
/third_party/glslang/SPIRV/
DSpvBuilder.cpp2255 Id valueType = getTypeId(value1); in createCompositeCompare() local
2259 int numConstituents = getNumTypeConstituents(valueType); in createCompositeCompare()
2263 if (isScalarType(valueType) || isVectorType(valueType)) { in createCompositeCompare()
2264 assert(valueType == getTypeId(value2)); in createCompositeCompare()
2268 switch (getMostBasicTypeClass(valueType)) { in createCompositeCompare()
2282 if (isScalarType(valueType)) { in createCompositeCompare()
2298 assert(isAggregateType(valueType) || isMatrixType(valueType)); in createCompositeCompare()

123