Home
last modified time | relevance | path

Searched refs:variant (Results 1 – 25 of 837) sorted by relevance

12345678910>>...34

/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTestUtil.java26 String variant = locale.getVariant(); in toICUExtendedLocale() local
27 variant = variant.length() == 0 ? ICU_VARIANT : variant + ICU_VARIANT_SUFFIX; in toICUExtendedLocale()
35 return new Locale(locale.getLanguage(), locale.getCountry(), variant); in toICUExtendedLocale()
44 locBld.setVariant(variant); in toICUExtendedLocale()
54 String variant = locale.getVariant(); in isICUExtendedLocale() local
55 if (variant.equals(ICU_VARIANT) || variant.endsWith(ICU_VARIANT_SUFFIX)) { in isICUExtendedLocale()
140 String variant = loc.getVariant(); in isProblematicIBMLocale() local
141 if (variant.startsWith("EURO") || variant.startsWith("PREEURO") in isProblematicIBMLocale()
142 || variant.startsWith("Cyrl") || variant.startsWith("Latn")) { in isProblematicIBMLocale()
/external/valgrind/VEX/priv/
Dhost_s390_defs.c525 addHRegUse(u, HRmRead, op.variant.reg); in s390_opnd_RMI_get_reg_usage()
529 s390_amode_get_reg_usage(u, op.variant.am); in s390_opnd_RMI_get_reg_usage()
549 addHRegUse(u, HRmWrite, insn->variant.load.dst); in s390_insn_get_reg_usage()
550 s390_amode_get_reg_usage(u, insn->variant.load.src); in s390_insn_get_reg_usage()
554 addHRegUse(u, HRmWrite, insn->variant.load_immediate.dst); in s390_insn_get_reg_usage()
558 addHRegUse(u, HRmRead, insn->variant.store.src); in s390_insn_get_reg_usage()
559 s390_amode_get_reg_usage(u, insn->variant.store.dst); in s390_insn_get_reg_usage()
563 addHRegUse(u, HRmRead, insn->variant.move.src); in s390_insn_get_reg_usage()
564 addHRegUse(u, HRmWrite, insn->variant.move.dst); in s390_insn_get_reg_usage()
568 s390_amode_get_reg_usage(u, insn->variant.memcpy.src); in s390_insn_get_reg_usage()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c287 create_jit_types(struct draw_llvm_variant *variant) in create_jit_types() argument
289 struct gallivm_state *gallivm = variant->gallivm; in create_jit_types()
295 variant->context_ptr_type = LLVMPointerType(context_type, 0); in create_jit_types()
298 variant->buffer_ptr_type = LLVMPointerType(buffer_type, 0); in create_jit_types()
301 variant->vb_ptr_type = LLVMPointerType(vb_type, 0); in create_jit_types()
306 get_context_ptr_type(struct draw_llvm_variant *variant) in get_context_ptr_type() argument
308 if (!variant->context_ptr_type) in get_context_ptr_type()
309 create_jit_types(variant); in get_context_ptr_type()
310 return variant->context_ptr_type; in get_context_ptr_type()
315 get_buffer_ptr_type(struct draw_llvm_variant *variant) in get_buffer_ptr_type() argument
[all …]
Ddraw_vs.c182 dvs->variant[i]->destroy( dvs->variant[i] ); in draw_delete_vertex_shader()
236 struct draw_vs_variant *variant; in draw_vs_lookup_variant() local
242 if (draw_vs_variant_key_compare(key, &vs->variant[i]->key) == 0) in draw_vs_lookup_variant()
243 return vs->variant[i]; in draw_vs_lookup_variant()
247 variant = vs->create_variant( vs, key ); in draw_vs_lookup_variant()
248 if (variant == NULL) in draw_vs_lookup_variant()
253 if (vs->nr_variants < Elements(vs->variant)) { in draw_vs_lookup_variant()
254 vs->variant[vs->nr_variants++] = variant; in draw_vs_lookup_variant()
258 vs->last_variant %= Elements(vs->variant); in draw_vs_lookup_variant()
259 vs->variant[vs->last_variant]->destroy(vs->variant[vs->last_variant]); in draw_vs_lookup_variant()
[all …]
/external/autotest/client/deps/ibusclient/src/
Dibusclient.cc74 GVariant* variant = NULL; in SetConfigAndPrintResult() local
79 variant = g_variant_new_boolean(kDummyValueBoolean); in SetConfigAndPrintResult()
82 variant = g_variant_new_int32(kDummyValueInt); in SetConfigAndPrintResult()
85 variant = g_variant_new_double(kDummyValueDouble); in SetConfigAndPrintResult()
88 variant = g_variant_new_string(kDummyValueString); in SetConfigAndPrintResult()
131 variant = g_variant_builder_end(&variant_builder); in SetConfigAndPrintResult()
138 if (!variant) { in SetConfigAndPrintResult()
143 ibus_config, kDummySection, kDummyConfigName, variant)) { in SetConfigAndPrintResult()
154 GVariant* variant = ibus_config_get_value( in GetConfigAndPrintResult() local
156 if (!variant) { in GetConfigAndPrintResult()
[all …]
/external/jemalloc/test/unit/
Dhash.c39 hash_variant_bits(hash_variant_t variant) in hash_variant_bits() argument
42 switch (variant) { in hash_variant_bits()
51 hash_variant_string(hash_variant_t variant) in hash_variant_string() argument
54 switch (variant) { in hash_variant_string()
64 hash_variant_verify_key(hash_variant_t variant, uint8_t *key) in hash_variant_verify_key() argument
66 const int hashbytes = hash_variant_bits(variant) / 8; in hash_variant_verify_key()
83 switch (variant) { in hash_variant_verify_key()
104 switch (variant) { in hash_variant_verify_key()
125 switch (variant) { in hash_variant_verify_key()
140 hash_variant_string(variant), expected, computed); in hash_variant_verify_key()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c763 struct lp_fragment_shader_variant *variant, in generate_fragment() argument
766 struct gallivm_state *gallivm = variant->gallivm; in generate_fragment()
767 const struct lp_fragment_shader_variant_key *key = &variant->key; in generate_fragment()
857 shader->no, variant->no, partial_mask ? "partial" : "whole"); in generate_fragment()
859 arg_types[0] = variant->jit_context_ptr_type; /* context */ in generate_fragment()
877 variant->function[partial_mask] = function; in generate_fragment()
1072 if (partial_mask || !variant->opaque) { in generate_fragment()
1073 lp_build_conv_mask(variant->gallivm, fs_type, blend_type, in generate_fragment()
1077 blend_mask = lp_build_const_int_vec(variant->gallivm, blend_type, ~0); in generate_fragment()
1098 generate_blend(variant->gallivm, in generate_fragment()
[all …]
Dlp_state_setup.c670 struct lp_setup_variant *variant = NULL; in generate_setup_variant() local
684 variant = CALLOC_STRUCT(lp_setup_variant); in generate_setup_variant()
685 if (variant == NULL) in generate_setup_variant()
688 variant->gallivm = gallivm = gallivm_create(); in generate_setup_variant()
689 if (!variant->gallivm) { in generate_setup_variant()
699 memcpy(&variant->key, key, key->size); in generate_setup_variant()
700 variant->list_item_global.base = variant; in generate_setup_variant()
704 variant->no); in generate_setup_variant()
723 variant->function = LLVMAddFunction(gallivm->module, func_name, func_type); in generate_setup_variant()
724 if (!variant->function) in generate_setup_variant()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePatternUtil.java322 for (VariantNode variant : list) { in getVariantsByType()
323 if (variant.isSelectorNumeric()) { in getVariantsByType()
324 numericVariants.add(variant); in getVariantsByType()
325 } else if ("other".equals(variant.getSelector())) { in getVariantsByType()
328 other = variant; in getVariantsByType()
331 keywordVariants.add(variant); in getVariantsByType()
353 private void addVariant(VariantNode variant) { in addVariant() argument
354 list.add(variant); in addVariant()
502 VariantNode variant = new VariantNode(); in buildChoiceStyleNode() local
503 variant.selector = pattern.getSubstring(pattern.getPart(valueIndex + 1)); in buildChoiceStyleNode()
[all …]
DTransliteratorIDParser.java85 public String variant; // may be null field in TransliteratorIDParser.Specs
91 variant = v; in Specs()
469 String variant = ""; in IDtoSTV() local
481 variant = id.substring(var); in IDtoSTV()
489 variant = id.substring(var); in IDtoSTV()
496 variant = id.substring(var, sep++); in IDtoSTV()
500 if (variant.length() > 0) { in IDtoSTV()
501 variant = variant.substring(1); in IDtoSTV()
504 return new String[] { source, target, variant, in IDtoSTV()
515 String variant) { in STVtoID() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePatternUtil.java351 for (VariantNode variant : list) { in getVariantsByType()
352 if (variant.isSelectorNumeric()) { in getVariantsByType()
353 numericVariants.add(variant); in getVariantsByType()
354 } else if ("other".equals(variant.getSelector())) { in getVariantsByType()
357 other = variant; in getVariantsByType()
360 keywordVariants.add(variant); in getVariantsByType()
383 private void addVariant(VariantNode variant) { in addVariant() argument
384 list.add(variant); in addVariant()
538 VariantNode variant = new VariantNode(); in buildChoiceStyleNode() local
539 variant.selector = pattern.getSubstring(pattern.getPart(valueIndex + 1)); in buildChoiceStyleNode()
[all …]
/external/e2fsprogs/lib/uuid/
Dtst_uuid.c80 int type, variant; in main() local
90 type = uuid_type(buf); variant = uuid_variant(buf); in main()
91 printf("UUID type = %d, UUID variant = %d\n", type, variant); in main()
92 if (variant != UUID_VARIANT_DCE) { in main()
107 variant = uuid_variant(buf); in main()
108 printf("UUID type = %d, UUID variant = %d\n", type, variant); in main()
109 if (variant != UUID_VARIANT_DCE) { in main()
130 variant = uuid_variant(buf); in main()
131 printf("UUID type = %d, UUID variant = %d\n", type, variant); in main()
132 if (variant != UUID_VARIANT_DCE) { in main()
Duuid_time.c104 static const char *variant_string(int variant) in variant_string() argument
106 switch (variant) { in variant_string()
125 int type, variant; in main() local
135 variant = uuid_variant(buf); in main()
139 printf("UUID variant is %d (%s)\n", variant, variant_string(variant)); in main()
140 if (variant != UUID_VARIANT_DCE) { in main()
/external/vogar/src/vogar/
DModeId.java87 public boolean supportsVariant(Variant variant) { in supportsVariant() argument
88 return (variant == Variant.X32) in supportsVariant()
89 || ((this == HOST || this == DEVICE) && (variant == Variant.X64)); in supportsVariant()
93 public String defaultVmCommand(Variant variant) { in defaultVmCommand() argument
94 if (!supportsVariant(variant)) { in defaultVmCommand()
95 throw new AssertionError("Unsupported variant: " + variant + " for " + this); in defaultVmCommand()
100 if (variant == Variant.X32) { in defaultVmCommand()
/external/svox/pico/compat/src/com/android/tts/compat/
DCompatTtsService.java94 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() argument
95 if (DBG) Log.d(TAG, "onIsLanguageAvailable(" + lang + "," + country + "," + variant + ")"); in onIsLanguageAvailable()
97 return mNativeSynth.isLanguageAvailable(lang, country, variant); in onIsLanguageAvailable()
101 protected int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage() argument
102 if (DBG) Log.d(TAG, "onLoadLanguage(" + lang + "," + country + "," + variant + ")"); in onLoadLanguage()
103 int result = onIsLanguageAvailable(lang, country, variant); in onLoadLanguage()
105 mNativeSynth.setLanguage(lang, country, variant); in onLoadLanguage()
121 String variant = request.getVariant(); in onSynthesizeText() local
122 if (mNativeSynth.setLanguage(lang, country, variant) != TextToSpeech.SUCCESS) { in onSynthesizeText()
123 Log.e(TAG, "setLanguage(" + lang + "," + country + "," + variant + ") failed"); in onSynthesizeText()
DSynthProxy.java94 public int isLanguageAvailable(String language, String country, String variant) { in isLanguageAvailable() argument
95 return native_isLanguageAvailable(mJniData, language, country, variant); in isLanguageAvailable()
108 public int setLanguage(String language, String country, String variant) { in setLanguage() argument
109 return native_setLanguage(mJniData, language, country, variant); in setLanguage()
115 public int loadLanguage(String language, String country, String variant) { in loadLanguage() argument
116 return native_loadLanguage(mJniData, language, country, variant); in loadLanguage()
171 String country, String variant); in native_isLanguageAvailable() argument
174 String variant); in native_setLanguage() argument
177 String variant); in native_loadLanguage() argument
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dast.ml7 (* variant for numeric literals like "1.0". *)
10 (* variant for referencing a variable, like "a". *)
13 (* variant for a unary operator. *)
16 (* variant for a binary operator. *)
19 (* variant for function calls. *)
22 (* variant for if/then/else. *)
25 (* variant for for/in. *)
28 (* variant for var/in. *)
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliteratorIDParser.java84 public String variant; // may be null field in TransliteratorIDParser.Specs
90 variant = v; in Specs()
468 String variant = ""; in IDtoSTV() local
480 variant = id.substring(var); in IDtoSTV()
488 variant = id.substring(var); in IDtoSTV()
495 variant = id.substring(var, sep++); in IDtoSTV()
499 if (variant.length() > 0) { in IDtoSTV()
500 variant = variant.substring(1); in IDtoSTV()
503 return new String[] { source, target, variant, in IDtoSTV()
514 String variant) { in STVtoID() argument
[all …]
DTransliteratorRegistry.java474 String variant, in registerEntry() argument
481 String ID = TransliteratorIDParser.STVtoID(source, target, variant); in registerEntry()
482 registerEntry(ID, s, target, variant, entry, visible); in registerEntry()
504 String variant, in registerEntry() argument
519 registerSTV(source, target, variant); in registerEntry()
524 removeSTV(source, target, variant); in registerEntry()
537 String variant) { in registerSTV() argument
542 CaseInsensitiveString civar = new CaseInsensitiveString(variant); in registerSTV()
557 if (variant.length() > 0) { in registerSTV()
570 String variant) { in removeSTV() argument
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dmessage_registry.py31 variant=messages.StringField.DEFAULT_VARIANT),
33 variant=messages.IntegerField.DEFAULT_VARIANT),
35 variant=messages.BooleanField.DEFAULT_VARIANT),
37 variant=messages.FloatField.DEFAULT_VARIANT),
39 variant=messages.Variant.MESSAGE),
44 variant=messages.Variant.INT32),
46 variant=messages.Variant.UINT32),
48 variant=messages.Variant.INT64),
50 variant=messages.Variant.UINT64),
52 variant=messages.Variant.DOUBLE),
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/testing/testclient/
Dfusiontables_v1_messages.py49 columnId = _messages.IntegerField(1, variant=_messages.Variant.INT32)
50 tableIndex = _messages.IntegerField(2, variant=_messages.Variant.INT32)
53 columnId = _messages.IntegerField(2, variant=_messages.Variant.INT32)
77 totalItems = _messages.IntegerField(4, variant=_messages.Variant.INT32)
91 maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32)
107 pageSize = _messages.IntegerField(1, variant=_messages.Variant.UINT32)
128 totalItems = _messages.IntegerField(4, variant=_messages.Variant.INT32)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dast.ml7 (* variant for numeric literals like "1.0". *)
10 (* variant for referencing a variable, like "a". *)
13 (* variant for a unary operator. *)
16 (* variant for a binary operator. *)
19 (* variant for function calls. *)
22 (* variant for if/then/else. *)
25 (* variant for for/in. *)
/external/icu/icu4c/source/i18n/
Dtransreg.cpp683 UnicodeString source, target, variant; in remove() local
685 TransliteratorIDParser::IDtoSTV(ID, source, target, variant, sawSource); in remove()
688 TransliteratorIDParser::STVtoID(source, target, variant, id); in remove()
690 removeSTV(source, target, variant); in remove()
867 const UnicodeString& variant, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
875 TransliteratorIDParser::STVtoID(source, target, variant, ID); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
876 registerEntry(ID, s, target, variant, adopted, visible); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
885 UnicodeString source, target, variant; in registerEntry() local
887 TransliteratorIDParser::IDtoSTV(ID, source, target, variant, sawSource); in registerEntry()
890 TransliteratorIDParser::STVtoID(source, target, variant, id); in registerEntry()
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternUtilDemo.java73 for (MessagePatternUtil.VariantNode variant : style.getVariants()) { in printComplexArgStyle()
77 System.out.println(indent + variant.getSelectorValue() + " " + in printComplexArgStyle()
78 variant.getSelector() + ":"); in printComplexArgStyle()
81 value = variant.getSelectorValue(); in printComplexArgStyle()
83 System.out.println(indent + variant.getSelector() + ":"); in printComplexArgStyle()
85 System.out.println(indent + variant.getSelector() + " (" + value + "):"); in printComplexArgStyle()
89 System.out.println(indent + variant.getSelector() + ":"); in printComplexArgStyle()
92 printMessage(variant.getMessage(), depth + 1); in printComplexArgStyle()
229 for (MessagePatternUtil.VariantNode variant : variants) { in genCodeForNumericVariants()
233 varName + " == " + variant.getSelectorValue() + ") {"); in genCodeForNumericVariants()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dgenerate_python_test.py150 field.variant = descriptor.FieldDescriptor.Variant.INT64
162 field.variant = descriptor.FieldDescriptor.Variant.MESSAGE
172 field.variant = descriptor.FieldDescriptor.Variant.MESSAGE
185 field.variant = descriptor.FieldDescriptor.Variant.ENUM
195 field.variant = descriptor.FieldDescriptor.Variant.ENUM
205 field.variant = descriptor.FieldDescriptor.Variant.MESSAGE
215 field.variant = descriptor.FieldDescriptor.Variant.UINT64
224 field.variant = descriptor.FieldDescriptor.Variant.INT64
233 field.variant = descriptor.FieldDescriptor.Variant.INT64
242 field.variant = descriptor.FieldDescriptor.Variant.INT64
[all …]

12345678910>>...34