Home
last modified time | relevance | path

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

123

/third_party/flatbuffers/ts/flexbuffers/
Dreference.ts27 private readonly valueType: ValueType property in Reference
31 this.valueType = packedType >> 2
34 isNull(): boolean { return this.valueType === ValueType.NULL; }
35 isNumber(): boolean { return isNumber(this.valueType) || isIndirectNumber(this.valueType); }
36 …at(): boolean { return ValueType.FLOAT === this.valueType || ValueType.INDIRECT_FLOAT === this.val…
38 …sString(): boolean { return ValueType.STRING === this.valueType || ValueType.KEY === this.valueTyp…
39 isBool(): boolean { return ValueType.BOOL === this.valueType; }
40 isBlob(): boolean { return ValueType.BLOB === this.valueType; }
41 isVector(): boolean { return isAVector(this.valueType); }
42 isMap(): boolean { return ValueType.MAP === this.valueType; }
[all …]
Dvalue-type-util.ts41 export function toTypedVector(valueType: ValueType, length: number): ValueType {
42 if (length === 0) return valueType - ValueType.INT + ValueType.VECTOR_INT;
43 if (length === 2) return valueType - ValueType.INT + ValueType.VECTOR_INT2;
44 if (length === 3) return valueType - ValueType.INT + ValueType.VECTOR_INT3;
45 if (length === 4) return valueType - ValueType.INT + ValueType.VECTOR_INT4;
49 export function typedVectorElementType(valueType: ValueType): ValueType {
50 return valueType - ValueType.VECTOR_INT + ValueType.INT;
53 export function fixedTypedVectorElementType(valueType: ValueType): ValueType {
54 return ((valueType - ValueType.VECTOR_INT2) % 3) + ValueType.INT;
57 export function fixedTypedVectorElementSize(valueType: ValueType): ValueType {
[all …]
/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/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()
/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 ],
/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/typescript_eslint/packages/eslint-plugin/src/rules/
Dconsistent-indexed-object-style.ts93 const valueType = member.typeAnnotation; constant
94 if (!valueType) {
103 const value = sourceCode.getText(valueType.typeAnnotation);
/third_party/node/deps/npm/node_modules/copy-concurrently/node_modules/aproba/
Dindex.js75 var valueType
77 if (types[typeCode].check(value)) valueType = types[typeCode].label
80 englishList(expectedTypes) + ' but got ' + valueType)
/third_party/node/deps/npm/node_modules/gauge/node_modules/aproba/
Dindex.js75 var valueType
77 if (types[typeCode].check(value)) valueType = types[typeCode].label
80 englishList(expectedTypes) + ' but got ' + valueType)
/third_party/node/deps/npm/node_modules/move-concurrently/node_modules/aproba/
Dindex.js75 var valueType
77 if (types[typeCode].check(value)) valueType = types[typeCode].label
80 englishList(expectedTypes) + ' but got ' + valueType)
/third_party/node/deps/npm/node_modules/run-queue/node_modules/aproba/
Dindex.js75 var valueType
77 if (types[typeCode].check(value)) valueType = types[typeCode].label
80 englishList(expectedTypes) + ' but got ' + valueType)
/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/node/deps/npm/node_modules/gentle-fs/node_modules/aproba/
Dindex.js75 var valueType
77 if (types[typeCode].check(value)) valueType = types[typeCode].label
80 englishList(expectedTypes) + ' but got ' + valueType)
/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/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() method in Bcp47MapperTest
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/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRemoveDynamicIndexing.cpp458 TType *valueType = GetFieldType(type); in visitBinary() local
459 valueType->setQualifier(EvqIn); in visitBinary()
461 mSymbolTable, kValueName, static_cast<const TType *>(valueType), in visitBinary()
/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/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/
DJSON.java388 private Object read(ValueType valueType) { in read() argument
390 switch (valueType) { in read()
405 throw reportError("read", "unexpected value type: " + valueType); in read()
702 ValueType valueType = valueTypes[nextToken()]; in whatIsNext() local
704 return valueType; in whatIsNext()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES.h231 ANGLE_INLINE bool ValidateUniformValue(Context *context, GLenum valueType, GLenum uniformType) in ValidateUniformValue() argument
235 if (valueType != uniformType && VariableBoolVectorType(valueType) != uniformType) in ValidateUniformValue()
243 bool ValidateUniformMatrixValue(Context *context, GLenum valueType, GLenum uniformType);
/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 …]

123