Home
last modified time | relevance | path

Searched refs:rawValue (Results 1 – 25 of 29) sorted by relevance

12

/third_party/typescript_eslint/packages/scope-manager/tests/
Dfixtures.test.ts81 const [, key, rawValue] = match; constant
87 let value: unknown = rawValue;
90 const strmatch = QUOTED_STRING.exec(rawValue);
98 const parsed = parseFloat(rawValue);
101 `Expected a number for ${key}, but got ${rawValue}`,
109 if (rawValue === 'true') {
111 } else if (rawValue === 'false') {
115 `Expected a boolean for ${key}, but got ${rawValue}`,
/third_party/protobuf/objectivec/Tests/
DGPBSwiftTests.swift54 msg.repeatedEnumArray.addValue(Message2_Enum.bar.rawValue) in testProto2Basics()
55 msg.repeatedEnumArray.addValue(Message2_Enum.baz.rawValue) in testProto2Basics()
60 msg.mapInt32Enum.setEnum(Message2_Enum.bar.rawValue, forKey:600) in testProto2Basics()
61 msg.mapInt32Enum.setEnum(Message2_Enum.baz.rawValue, forKey:601) in testProto2Basics()
89 XCTAssertEqual(msg.repeatedEnumArray.value(at: 0), Message2_Enum.bar.rawValue) in testProto2Basics()
90 XCTAssertEqual(msg.repeatedEnumArray.value(at: 1), Message2_Enum.baz.rawValue) in testProto2Basics()
103 XCTAssertEqual(intValue, Message2_Enum.bar.rawValue) in testProto2Basics()
105 XCTAssertEqual(intValue, Message2_Enum.baz.rawValue) in testProto2Basics()
151 msg.repeatedEnumArray.addValue(Message3_Enum.bar.rawValue) in testProto3Basics()
158 msg.mapInt32Enum.setEnum(Message2_Enum.bar.rawValue, forKey:600) in testProto3Basics()
[all …]
DGPBMessageTests+Merge.m202 rawValue:UnknownEnumsMyEnum_Bar];
205 rawValue:UnknownEnumsMyEnum_Bar];
225 rawValue:kUnknownValue];
228 rawValue:kUnknownValue];
/third_party/flatbuffers/samples/
Dmonster_generated.swift10 public var value: Int8 { return self.rawValue }
23 public var value: UInt8 { return self.rawValue }
95 var v: Int32 { Int32(self.rawValue) }
96 var p: VOffset { self.rawValue }
111 …r.offset(VTOFFSET.color.v); return o == 0 ? .blue : MyGame_Sample_Color(rawValue: _accessor.readBu…
112 …l {let o = _accessor.offset(VTOFFSET.color.v); return _accessor.mutate(color.rawValue, index: o) } in mutate()
115 …FFSET.equippedType.v); return o == 0 ? .none_ : MyGame_Sample_Equipment(rawValue: _accessor.readBu…
126 …_Sample_Color, _ fbb: inout FlatBufferBuilder) { fbb.add(element: color.rawValue, def: 2, at: VTOF… in add()
128 …ipment, _ fbb: inout FlatBufferBuilder) { fbb.add(element: equippedType.rawValue, def: 0, at: VTOF… in add()
177 var v: Int32 { Int32(self.rawValue) }
[all …]
/third_party/flatbuffers/grpc/examples/swift/Greeter/Sources/Model/
Dgreeter_generated.swift20 var v: Int32 { Int32(self.rawValue) }
21 var p: VOffset { self.rawValue }
52 var v: Int32 { Int32(self.rawValue) }
53 var p: VOffset { self.rawValue }
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/
Dast.js55 if (op.rawValue() !== undefined && op.type() === "result_id") {
56 this.next_id_ = Math.max(this.next_id_, op.rawValue() + 1);
122 rawValue() { return this.value_; } method in Operand
/third_party/spirv-tools/tools/sva/src/
Dast.js55 if (op.rawValue() !== undefined && op.type() === "result_id") {
56 this.next_id_ = Math.max(this.next_id_, op.rawValue() + 1);
122 rawValue() { return this.value_; } method in Operand
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/src/
Dast.js55 if (op.rawValue() !== undefined && op.type() === "result_id") {
56 this.next_id_ = Math.max(this.next_id_, op.rawValue() + 1);
122 rawValue() { return this.value_; } method in Operand
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
DFlatBuffersUnionTests.swift188 var value: Int32 { rawValue }
204 …cessor.offset(4); return o == 0 ? ColorsNameSpace.RGB(rawValue: 0)! : ColorsNameSpace.RGB(rawValue in colors()
240 builder.add(element: color.rawValue, def: Color3.green.rawValue, at: 16)
242 builder.add(element: equipment.rawValue, def: Equipment.none.rawValue, at: 20)
278 builder.add(element: equipment.rawValue, def: Equipment.none.rawValue, at: 6)
Dunion_vector_generated.swift10 public var value: UInt8 { return self.rawValue }
161 var v: Int32 { Int32(self.rawValue) }
162 var p: VOffset { self.rawValue }
227 var v: Int32 { Int32(self.rawValue) }
228 var p: VOffset { self.rawValue }
231 …ffset(VTOFFSET.mainCharacterType.v); return o == 0 ? .none_ : Character(rawValue: _accessor.readBu…
234 …VTOFFSET.charactersType.v); return o == 0 ? Character.none_ : Character(rawValue: _accessor.direct… in charactersType()
238 …r, _ fbb: inout FlatBufferBuilder) { fbb.add(element: mainCharacterType.rawValue, def: 0, at: VTOF… in add()
Doptional_scalars_generated.swift10 public var value: Int8 { return self.rawValue }
69 var v: Int32 { Int32(self.rawValue) }
70 var p: VOffset { self.rawValue }
106 …SET.justEnum.v); return o == 0 ? .none_ : optional_scalars_OptionalByte(rawValue: _accessor.readBu…
107 …FFSET.maybeEnum.v); return o == 0 ? nil : optional_scalars_OptionalByte(rawValue: _accessor.readBu…
108 …ET.defaultEnum.v); return o == 0 ? .one : optional_scalars_OptionalByte(rawValue: _accessor.readBu…
145 …tionalByte, _ fbb: inout FlatBufferBuilder) { fbb.add(element: justEnum.rawValue, def: 0, at: VTOF… in add()
146 …nalByte?, _ fbb: inout FlatBufferBuilder) { fbb.add(element: maybeEnum?.rawValue, at: VTOFFSET.may… in add()
147 …nalByte, _ fbb: inout FlatBufferBuilder) { fbb.add(element: defaultEnum.rawValue, def: 1, at: VTOF… in add()
DMutatingBool_generated.swift39 var v: Int32 { Int32(self.rawValue) }
40 var p: VOffset { self.rawValue }
Dmore_defaults_generated.swift10 public var value: Int32 { return self.rawValue }
38 var v: Int32 { Int32(self.rawValue) }
39 var p: VOffset { self.rawValue }
53 … let o = _accessor.offset(VTOFFSET.abcs.v); return o == 0 ? ABC.a : ABC(rawValue: _accessor.direct… in abcs()
Dmonster_test_generated.swift11 public var value: UInt8 { return self.rawValue }
27 public var value: Int8 { return self.rawValue }
41 public var value: UInt8 { return self.rawValue }
77 public var value: UInt8 { return self.rawValue }
113 public var value: UInt8 { return self.rawValue }
246 public var test2: MyGame_Example_Color { MyGame_Example_Color(rawValue: _test2)! }
266 …public var test2: MyGame_Example_Color { return MyGame_Example_Color(rawValue: _accessor.readBuffe…
267 … mutate(test2: MyGame_Example_Color) -> Bool { return _accessor.mutate(test2.rawValue, index: 24) } in mutate()
495 var v: Int32 { Int32(self.rawValue) }
496 var p: VOffset { self.rawValue }
[all …]
/third_party/node/benchmark/
Dcommon.js57 for (const [key, rawValue] of Object.entries(configs)) {
58 let value = Array.isArray(rawValue) ? rawValue[0] : rawValue;
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java801 final int rawValue = input.readEnum(); in mergeFieldFrom() local
804 field, field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue)); in mergeFieldFrom()
806 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
811 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
841 final int rawValue = input.readEnum(); in mergeFieldFrom() local
843 value = field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue); in mergeFieldFrom()
845 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
850 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
DGeneratedMessageLite.java579 int rawValue = input.readEnum(); in parseExtension() local
580 Object value = extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseExtension()
622 int rawValue = input.readEnum(); in parseExtension() local
623 value = extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseExtension()
627 mergeVarintField(fieldNumber, rawValue); in parseExtension()
/third_party/protobuf/objectivec/
DGPBDictionary.h812 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(uint32_t)key;
826 (void (NS_NOESCAPE ^)(uint32_t key, int32_t rawValue, BOOL *stop))block;
861 - (void)setRawValue:(int32_t)rawValue forKey:(uint32_t)key;
1733 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(int32_t)key;
1747 (void (NS_NOESCAPE ^)(int32_t key, int32_t rawValue, BOOL *stop))block;
1782 - (void)setRawValue:(int32_t)rawValue forKey:(int32_t)key;
2654 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(uint64_t)key;
2668 (void (NS_NOESCAPE ^)(uint64_t key, int32_t rawValue, BOOL *stop))block;
2703 - (void)setRawValue:(int32_t)rawValue forKey:(uint64_t)key;
3575 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(int64_t)key;
[all …]
DGPBArray.h1285 rawValue:(int32_t)value;
DGPBDictionary.m715 //%- (BOOL)getRawValue:(VALUE_TYPE *)rawValue forKey:(KEY_TYPE##KisP$S##KisP)key {
717 //% if (wrapped && rawValue) {
718 //% *rawValue = UNWRAP##VALUE_NAME(wrapped);
2901 - (BOOL)getRawValue:(int32_t *)rawValue forKey:(uint32_t)key {
2903 if (wrapped && rawValue) {
2904 *rawValue = [wrapped intValue];
4651 - (BOOL)getRawValue:(int32_t *)rawValue forKey:(int32_t)key {
4653 if (wrapped && rawValue) {
4654 *rawValue = [wrapped intValue];
6401 - (BOOL)getRawValue:(int32_t *)rawValue forKey:(uint64_t)key {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/
DPackedVersion.h51 uint32_t rawValue() const { return Version; } in rawValue() function
DArchitectureSet.h60 ArchSetType rawValue() const { return ArchSet; } in rawValue() function
/third_party/flatbuffers/swift/Sources/FlatBuffers/
DConstants.swift24 let isLitteEndian = CFByteOrderGetCurrent() == Int(CFByteOrderLittleEndian.rawValue)
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dcompile.dart46 factory TargetModel(String rawValue) {
47 switch (rawValue) {
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureMultisampleTests.cpp1287 const float rawValue = rnd.getFloat(minValue, maxValue); in iterate() local
1288 … preparedValue = (m_isSignedFormat || m_isUnsignedFormat) ? (deFloatFloor(rawValue)) : (rawValue); in iterate()

12