Home
last modified time | relevance | path

Searched refs:Variant (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DModifierKey.java23 …MMAND(Variant.NONE, "cmd"), CONTROL(Variant.PARENT, "ctrl"), CONTROL_LEFT(Variant.LEFT, "ctrl"), C…
24 …"alt"), ALT_LEFT(Variant.LEFT, "alt"), ALT_RIGHT(Variant.RIGHT, "alt"), OPTION(Variant.PARENT, "op…
25 Variant.RIGHT,
26 …"opt"), CAPSLOCK(Variant.NONE, "caps"), SHIFT(Variant.PARENT, "shift"), SHIFT_LEFT(Variant.LEFT, "…
35 private final Variant variant;
38 private ModifierKey(Variant variant, String keyType) { in ModifierKey()
65 if (variant == Variant.PARENT) { in sibling()
76 if (variant == Variant.PARENT) { in parent()
87 if (variant != Variant.PARENT) { in children()
90 … return ImmutableList.of(fromString(keyType + Variant.LEFT), fromString(keyType + Variant.RIGHT)); in children()
[all …]
/external/vogar/src/vogar/
DModeId.java113 public boolean supportsVariant(Variant variant) { in supportsVariant()
114 if (variant == Variant.DEFAULT) { in supportsVariant()
116 } else if (variant == Variant.X64 || variant == Variant.X32) { in supportsVariant()
135 public String defaultVmCommand(Variant variant) { in defaultVmCommand()
143 if (variant == Variant.DEFAULT) { in defaultVmCommand()
145 } else if (variant == Variant.X32) { in defaultVmCommand()
147 } else if (variant == Variant.X64) { in defaultVmCommand()
152 if (variant == Variant.DEFAULT) { in defaultVmCommand()
157 if (variant == Variant.DEFAULT) { in defaultVmCommand()
159 } else if (variant == Variant.X32) { in defaultVmCommand()
[all …]
DExpectationStore.java112 Variant variant) in parse()
123 public void parse(File expectationsFile, ModeId mode, Variant variant) throws IOException { in parse()
146 private void readExpectation(JsonReader reader, ModeId mode, Variant variant) in readExpectation()
153 Map<ModeId, Set<Variant>> modeVariants = null; in readExpectation()
201 Set<Variant> variants = modeVariants.get(mode); in readExpectation()
238 private Map<ModeId, Set<Variant>> readModesAndVariants(JsonReader reader) throws IOException { in readModesAndVariants()
239 Map<ModeId, Set<Variant>> result = new EnumMap<ModeId, Set<Variant>>(ModeId.class); in readModesAndVariants()
244 Set<Variant> set = result.get(mode); in readModesAndVariants()
246 set = EnumSet.noneOf(Variant.class); in readModesAndVariants()
249 set.add(Variant.valueOf(reader.nextString().toUpperCase())); in readModesAndVariants()
/external/tensorflow/tensorflow/core/framework/
Dvariant.h150 class Variant {
152 constexpr Variant() noexcept = default;
154 Variant(const Variant& other) in Variant() function
158 Variant(Variant&& other) noexcept = default;
164 typename std::enable_if<!std::is_same<Variant, VT>::value &&
167 Variant(T&& value) // NOLINT in Variant() function
170 Variant& operator=(const Variant& rhs) {
171 Variant(rhs).swap(*this);
175 Variant& operator=(Variant&& rhs) noexcept {
176 Variant(std::move(rhs)).swap(*this);
[all …]
Dvariant_test.cc44 Variant x; in TEST()
53 Variant x; in TEST()
65 Variant x; in TEST()
70 const Variant y = x; in TEST()
78 Variant x; in TEST()
92 Variant x; in TEST()
105 Variant x; in TEST()
118 Variant x, y; in TEST()
127 Variant x; in TEST()
128 x = []() -> Variant { in TEST()
[all …]
Dvariant_op_registry.h61 typedef std::function<bool(Variant*)> VariantDecodeFn;
62 typedef std::function<Status(OpKernelContext*, const Variant&, Variant*)>
64 typedef std::function<Status(OpKernelContext*, const Variant&, const Variant&,
65 Variant*)>
91 typedef std::function<Status(const Variant& from, Variant* to,
237 bool DecodeUnaryVariant(Variant* variant);
252 const VariantDeviceCopyDirection direction, const Variant& from,
253 Variant* to,
265 Status UnaryOpVariant(OpKernelContext* ctx, VariantUnaryOp op, const Variant& v, in UnaryOpVariant()
266 Variant* v_out) { in UnaryOpVariant()
[all …]
Dvariant_op_registry_test.cc116 Variant v = vv; in TEST()
121 Variant encoded = proto; in TEST()
150 Variant v = vv; in TEST()
151 Variant v_out; in TEST()
184 Variant v = vv_early_exit; in TEST()
185 Variant v_out = VariantValue(); in TEST()
210 Variant v = vv_early_exit; in TEST()
211 Variant v_out = VariantValue(); in TEST()
256 Variant v_a = vv_early_exit; in TEST()
257 Variant v_b = vv_other; in TEST()
[all …]
Dvariant.cc26 bool Variant::Decode(VariantTensorData data) { in Decode()
34 void* Variant::get() { in get()
42 const void* Variant::get() const { in get()
76 void EncodeVariantList(const Variant* variant_array, int64 n, in EncodeVariantList()
87 Variant* variant_array, int64 n) { in DecodeVariantList()
/external/libtextclassifier/utils/
Dvariant.h30 class Variant {
42 Variant() : type_(TYPE_EMPTY) {} in Variant() function
43 explicit Variant(const int value) in Variant() function
45 explicit Variant(const int64 value) in Variant() function
47 explicit Variant(const float value) in Variant() function
49 explicit Variant(const double value) in Variant() function
51 explicit Variant(const StringPiece value) in Variant() function
53 explicit Variant(const std::string value) in Variant() function
55 explicit Variant(const char* value) in Variant() function
57 explicit Variant(const bool value) in Variant() function
[all …]
/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/
Dfusiontables_v1_messages.py34 weight = _messages.IntegerField(6, variant=_messages.Variant.INT32)
68 columnId = _messages.IntegerField(1, variant=_messages.Variant.INT32)
69 tableIndex = _messages.IntegerField(2, variant=_messages.Variant.INT32)
72 columnId = _messages.IntegerField(2, variant=_messages.Variant.INT32)
94 totalItems = _messages.IntegerField(4, variant=_messages.Variant.INT32)
147 maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32)
222 styleId = _messages.IntegerField(1, required=True, variant=_messages.Variant.INT32)
238 styleId = _messages.IntegerField(1, required=True, variant=_messages.Variant.INT32)
252 maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32)
320 endLine = _messages.IntegerField(3, variant=_messages.Variant.INT32)
[all …]
/external/tensorflow/tensorflow/core/util/
Dtensor_ops_util.h56 case DataTypeToEnum<Variant>::value: { in ZerosLikeTensor()
57 Variant* out_variant = out->scalar<Variant>().data(); in ZerosLikeTensor()
60 x.scalar<Variant>()(), out_variant)); in ZerosLikeTensor()
112 case DataTypeToEnum<Variant>::value: { in BinaryAddTensors()
113 Variant* out_variant = out->scalar<Variant>().data(); in BinaryAddTensors()
115 ctx, ADD_VARIANT_BINARY_OP, a.scalar<Variant>()(), in BinaryAddTensors()
116 b.scalar<Variant>()(), out_variant)); in BinaryAddTensors()
/external/python/apitools/samples/dns_sample/dns_v1/
Ddns_v1_messages.py133 maxResults = _messages.IntegerField(2, variant=_messages.Variant.INT32)
195 maxResults = _messages.IntegerField(2, variant=_messages.Variant.INT32)
228 maxResults = _messages.IntegerField(2, variant=_messages.Variant.INT32)
265 id = _messages.IntegerField(4, variant=_messages.Variant.UINT64)
310 number = _messages.IntegerField(3, variant=_messages.Variant.UINT64)
334 managedZones = _messages.IntegerField(2, variant=_messages.Variant.INT32)
335 resourceRecordsPerRrset = _messages.IntegerField(3, variant=_messages.Variant.INT32)
336 rrsetAdditionsPerChange = _messages.IntegerField(4, variant=_messages.Variant.INT32)
337 rrsetDeletionsPerChange = _messages.IntegerField(5, variant=_messages.Variant.INT32)
338 rrsetsPerManagedZone = _messages.IntegerField(6, variant=_messages.Variant.INT32)
[all …]
/external/python/apitools/apitools/gen/
Dcommand_registry.py30 messages.Variant.DOUBLE: 'float',
31 messages.Variant.FLOAT: 'float',
32 messages.Variant.INT64: 'string',
33 messages.Variant.UINT64: 'string',
34 messages.Variant.INT32: 'integer',
35 messages.Variant.BOOL: 'boolean',
36 messages.Variant.STRING: 'string',
37 messages.Variant.MESSAGE: 'string',
38 messages.Variant.BYTES: 'string',
39 messages.Variant.UINT32: 'integer',
[all …]
Dmessage_registry.py54 variant=messages.Variant.MESSAGE),
59 variant=messages.Variant.INT32),
61 variant=messages.Variant.UINT32),
63 variant=messages.Variant.INT64),
65 variant=messages.Variant.UINT64),
67 variant=messages.Variant.DOUBLE),
69 variant=messages.Variant.FLOAT),
73 variant=messages.Variant.STRING),
77 variant=messages.Variant.MESSAGE),
344 field.variant == messages.Variant.ENUM):
[all …]
/external/python/apitools/apitools/base/protorpclite/
Dtest_util.py291 double_value = messages.FloatField(1, variant=messages.Variant.DOUBLE)
292 float_value = messages.FloatField(2, variant=messages.Variant.FLOAT)
293 int64_value = messages.IntegerField(3, variant=messages.Variant.INT64)
294 uint64_value = messages.IntegerField(4, variant=messages.Variant.UINT64)
295 int32_value = messages.IntegerField(5, variant=messages.Variant.INT32)
296 bool_value = messages.BooleanField(6, variant=messages.Variant.BOOL)
297 string_value = messages.StringField(7, variant=messages.Variant.STRING)
298 bytes_value = messages.BytesField(8, variant=messages.Variant.BYTES)
311 variant=messages.Variant.DOUBLE,
314 variant=messages.Variant.FLOAT,
[all …]
Dprotojson_test.py290 self.assertEquals((2, messages.Variant.INT64),
303 self.assertEquals(('unknown', messages.Variant.STRING),
306 self.assertEquals(('negative', messages.Variant.STRING),
309 self.assertEquals((2, messages.Variant.INT64),
324 messages.Variant.INT64),
326 messages.Variant.DOUBLE),
328 messages.Variant.STRING),
330 messages.Variant.INT64),
332 messages.Variant.DOUBLE),
334 messages.Variant.STRING),
[all …]
Dmessages.py549 class Variant(Enum): class
954 if not isinstance(variant, Variant):
1470 Variant.INT32,
1471 Variant.INT64,
1472 Variant.UINT32,
1473 Variant.UINT64,
1474 Variant.SINT32,
1475 Variant.SINT64,
1478 DEFAULT_VARIANT = Variant.INT64
1487 Variant.FLOAT,
[all …]
/external/llvm/include/llvm/DebugInfo/PDB/
DPDBTypes.h248 Variant = 27, enumerator
281 struct Variant { struct
282 Variant() : Type(PDB_VariantType::Empty) {} in Variant() function
284 Variant(const Variant &Other) : Type(PDB_VariantType::Empty) { in Variant() argument
288 ~Variant() { in ~Variant() argument
313 bool operator==(const Variant &Other) const { argument
336 bool operator!=(const Variant &Other) const { return !(*this == Other); }
337 Variant &operator=(const Variant &Other) {
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2_messages.py76 maxResults = _messages.IntegerField(3, variant=_messages.Variant.UINT32)
137 maxResults = _messages.IntegerField(2, variant=_messages.Variant.UINT32)
140 startIndex = _messages.IntegerField(5, variant=_messages.Variant.UINT64)
141 timeoutMs = _messages.IntegerField(6, variant=_messages.Variant.UINT32)
210 maxResults = _messages.IntegerField(2, variant=_messages.Variant.UINT32)
238 maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32)
273 maxResults = _messages.IntegerField(2, variant=_messages.Variant.UINT32)
276 startIndex = _messages.IntegerField(5, variant=_messages.Variant.UINT64)
338 maxResults = _messages.IntegerField(2, variant=_messages.Variant.UINT32)
881 maxBadRecords = _messages.IntegerField(7, variant=_messages.Variant.INT32)
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dserialize_sparse_op.cc100 bool SerializeSparseOp<Variant>::IsExpensive() { in IsExpensive()
125 Status SerializeSparseOp<Variant>::Initialize(Tensor* result) { in Initialize()
131 Status SerializeSparseOp<Variant>::Serialize(const Tensor& input, in Serialize()
132 Variant* result) { in Serialize()
139 .TypeConstraint<Variant>("out_type"),
140 SerializeSparseOp<Variant>);
290 Status SerializeManySparseOpBase<Variant>::Initialize(const int64 n, in Initialize()
297 Status SerializeManySparseOpBase<Variant>::Serialize(const Tensor& input, in Serialize()
298 Variant* result) { in Serialize()
307 .TypeConstraint<Variant>("out_type"), \
[all …]
Daggregate_ops.cc157 class AddNOp<Device, Variant> : public OpKernel {
187 Variant* v_out = &(out.scalar<Variant>()()); in Compute()
190 ctx, ADD_VARIANT_BINARY_OP, ctx->input(0).scalar<Variant>()(), in Compute()
191 ctx->input(1).scalar<Variant>()(), v_out)); in Compute()
193 const Variant tmp = std::move(*v_out); in Compute()
194 const Variant& inp = ctx->input(i).scalar<Variant>()(); in Compute()
210 REGISTER_ADDN_CPU(Variant);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/
DPDBTypes.h273 Variant = 27, enumerator
334 struct Variant { struct
335 Variant() = default;
337 Variant(const Variant &Other) { in Variant() function
341 ~Variant() { in ~Variant() argument
366 bool operator==(const Variant &Other) const { argument
389 bool operator!=(const Variant &Other) const { return !(*this == Other); }
390 Variant &operator=(const Variant &Other) {
/external/clang/test/CodeGenCXX/
Dunion-dtor.cpp23 struct Variant { struct
24 Variant() {} in Variant() argument
25 ~Variant() {} in ~Variant() argument
33 Variant variant; argument
/external/libtextclassifier/utils/intents/
Djni.cc111 const std::string& name_str, const Variant& value) const { in AsNamedVariant()
117 case Variant::TYPE_INT_VALUE: in AsNamedVariant()
121 case Variant::TYPE_INT64_VALUE: in AsNamedVariant()
125 case Variant::TYPE_FLOAT_VALUE: in AsNamedVariant()
129 case Variant::TYPE_DOUBLE_VALUE: in AsNamedVariant()
133 case Variant::TYPE_BOOL_VALUE: in AsNamedVariant()
137 case Variant::TYPE_STRING_VALUE: { in AsNamedVariant()
153 const std::map<std::string, Variant>& values) const { in AsNamedVariantArray()
223 std::map<std::string, Variant> entity_data_map = buffer->AsFlatMap(); in EntityDataAsNamedVariantArray()
/external/tensorflow/tensorflow/core/common_runtime/
Dcopy_tensor.cc95 const Variant* v = input->flat<Variant>().data(); in CopyHostToDevice()
96 Variant* v_out = copy.flat<Variant>().data(); in CopyHostToDevice()
160 const Variant* v = input->flat<Variant>().data(); in CopyDeviceToHost()
161 Variant* v_out = copy.flat<Variant>().data(); in CopyDeviceToHost()
224 const Variant* v = input->flat<Variant>().data(); in CopyDeviceToDevice()
225 Variant* v_out = copy.flat<Variant>().data(); in CopyDeviceToDevice()

12345678910>>...12