Home
last modified time | relevance | path

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

12345678910>>...25

/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTestUtil.java24 String variant = locale.getVariant(); in toICUExtendedLocale() local
25 variant = variant.length() == 0 ? ICU_VARIANT : variant + ICU_VARIANT_SUFFIX; in toICUExtendedLocale()
33 return new Locale(locale.getLanguage(), locale.getCountry(), variant); in toICUExtendedLocale()
42 locBld.setVariant(variant); in toICUExtendedLocale()
52 String variant = locale.getVariant(); in isICUExtendedLocale() local
53 if (variant.equals(ICU_VARIANT) || variant.endsWith(ICU_VARIANT_SUFFIX)) { in isICUExtendedLocale()
121 String variant = loc.getVariant(); in isProblematicIBMLocale() local
122 if (variant.startsWith("EURO") || variant.startsWith("PREEURO") in isProblematicIBMLocale()
123 || 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/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/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()
63 hash_variant_verify(hash_variant_t variant) in hash_variant_verify() argument
65 const size_t hashbytes = hash_variant_bits(variant) / 8; in hash_variant_verify()
82 switch (variant) { in hash_variant_verify()
103 switch (variant) { in hash_variant_verify()
124 switch (variant) { in hash_variant_verify()
139 hash_variant_string(variant), expected, computed); in hash_variant_verify()
/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 …]
DQuantityFormatter.java59 public Builder add(String variant, String template) { in add() argument
61 Integer idx = INDEX_MAP.get(variant); in add()
63 throw new IllegalArgumentException(variant); in add()
121 String variant = computeVariant(quantity, numberFormat, pluralRules); in format() local
122 return getByVariant(variant).format(formatStr); in format()
130 public SimplePatternFormatter getByVariant(String variant) { in getByVariant() argument
131 Integer idxObj = INDEX_MAP.get(variant); in getByVariant()
/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/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/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 …]
Dtransreg.h366 UnicodeString& variant);
370 const UnicodeString& variant) const;
374 const UnicodeString& variant);
378 const UnicodeString& variant,
383 const UnicodeString& variant,
394 const UnicodeString& variant,
400 const UnicodeString& variant);
404 const UnicodeString& variant);
/external/vogar/src/vogar/
DModeId.java97 public boolean supportsVariant(Variant variant) { in supportsVariant() argument
98 return (variant == Variant.X32) in supportsVariant()
99 || ((this == HOST || this == DEVICE) && (variant == Variant.X64)); in supportsVariant()
103 public String defaultVmCommand(Variant variant) { in defaultVmCommand() argument
104 if (!supportsVariant(variant)) { in defaultVmCommand()
105 throw new AssertionError("Unsupported variant: " + variant + " for " + this); in defaultVmCommand()
110 if (variant == Variant.X32) { in defaultVmCommand()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dast.ml7 (* variant for numeric literals like "1.0". *)
10 (* variant for referencing a variable, like "a". *)
13 (* variant for a binary operator. *)
16 (* variant for function calls. *)
19 (* variant for if/then/else. *)
22 (* variant for for/in. *)
/external/vogar/src/vogar/android/
DHostRuntime.java43 private final Variant variant; field in HostRuntime
45 public HostRuntime(Run run, ModeId modeId, Variant variant) { in HostRuntime() argument
46 if (!modeId.isHost() || !modeId.supportsVariant(variant)) { in HostRuntime()
48 " or variant: " + variant); in HostRuntime()
52 this.variant = variant; in HostRuntime()
93 if (variant == Variant.X32) { in newVmCommandBuilder()
95 } else if (variant == Variant.X64) { in newVmCommandBuilder()
98 throw new AssertionError("Unsupported variant:" + variant); in newVmCommandBuilder()
/external/llvm/test/MC/ARM/
Dsymbol-variants-errors.s3 @ check for invalid variant
6 @CHECK: error: invalid variant 'blargh'
13 @CHECK: error: unexpected token in variant, expected ')'
17 @ check for invalid symbol before variant end
21 @CHECK: error: unexpected token in variant, expected ')'
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DInternalLocaleBuilder.java70 public InternalLocaleBuilder setVariant(String variant) throws LocaleSyntaxException { in setVariant() argument
71 if (variant == null || variant.length() == 0) { in setVariant()
75 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant()
78 throw new LocaleSyntaxException("Ill-formed variant: " + variant, errIdx); in setVariant()
345 String variant = base.getVariant(); in setLocale() local
351 if (language.equals("ja") && region.equals("JP") && variant.equals("JP")) { in setLocale()
355 variant = ""; in setLocale()
358 else if (language.equals("th") && region.equals("TH") && variant.equals("TH")) { in setLocale()
362 variant = ""; in setLocale()
365 else if (language.equals("no") && region.equals("NO") && variant.equals("NY")) { in setLocale()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodFormatterFactory.java134 public PeriodFormatterFactory setSeparatorVariant(int variant) { in setSeparatorVariant() argument
135 updateCustomizations().separatorVariant = (byte) variant; in setSeparatorVariant()
154 public PeriodFormatterFactory setUnitVariant(int variant) { in setUnitVariant() argument
155 updateCustomizations().unitVariant = (byte) variant; in setUnitVariant()
174 public PeriodFormatterFactory setCountVariant(int variant) { in setCountVariant() argument
175 updateCustomizations().countVariant = (byte) variant; in setCountVariant()

12345678910>>...25