/external/webkit/Source/WebKit/win/ |
COMVariantSetter.h | 48 static void setVariant(VARIANT* variant, const WTF::String& value) 50 ASSERT(V_VT(variant) == VT_EMPTY); 52 V_VT(variant) = VariantType; 53 V_BSTR(variant) = WebCore::BString(value).release(); 61 static void setVariant(VARIANT* variant, bool value) 63 ASSERT(V_VT(variant) == VT_EMPTY); 65 V_VT(variant) = VariantType; 66 V_BOOL(variant) = value [all...] |
/external/webkit/Source/WebCore/bridge/ |
npruntime.cpp | 84 void NPN_InitializeVariantWithStringCopy(NPVariant* variant, const NPString* value) 86 variant->type = NPVariantType_String; 87 variant->value.stringValue.UTF8Length = value->UTF8Length; 88 variant->value.stringValue.UTF8Characters = (NPUTF8 *)malloc(sizeof(NPUTF8) * value->UTF8Length); 89 if (!variant->value.stringValue.UTF8Characters) 91 memcpy((void*)variant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * value->UTF8Length); 94 void _NPN_ReleaseVariantValue(NPVariant* variant) 96 ASSERT(variant); 98 if (variant->type == NPVariantType_Object) { 99 _NPN_ReleaseObject(variant->value.objectValue) [all...] |
testbindings.cpp | 141 void setDoubleValue (MyObject *obj, const NPVariant *variant) 143 if (!NPN_VariantToDouble (variant, &obj->doubleValue)) { 152 void setIntValue (MyObject *obj, const NPVariant *variant) 154 if (!NPN_VariantToInt32 (variant, &obj->intValue)) { 163 void setStringValue (MyObject *obj, const NPVariant *variant) 166 NPN_InitializeVariantWithVariant (&obj->stringValue, variant); 169 void setBooleanValue (MyObject *obj, const NPVariant *variant) 171 if (!NPN_VariantToBool (variant, (NPBool *)&obj->boolValue)) { 180 void getDoubleValue (MyObject *obj, NPVariant *variant) 182 NPN_InitializeVariantWithDouble (variant, obj->doubleValue) [all...] |
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NPRuntimeUtilities.cpp | 108 void releaseNPVariantValue(NPVariant* variant) 110 ASSERT(variant); 112 switch (variant->type) { 122 npnMemFree(const_cast<NPUTF8*>(variant->value.stringValue.UTF8Characters)); 123 variant->value.stringValue.UTF8Characters = 0; 124 variant->value.stringValue.UTF8Length = 0; 127 releaseNPObject(variant->value.objectValue); 128 variant->value.objectValue = 0; 132 variant->type = NPVariantType_Void;
|
NPRuntimeObjectMap.cpp | 114 JSValue NPRuntimeObjectMap::convertNPVariantToJSValue(JSC::ExecState* exec, JSC::JSGlobalObject* globalObject, const NPVariant& variant) 116 switch (variant.type) { 124 return jsBoolean(variant.value.boolValue); 127 return jsNumber(variant.value.intValue); 130 return jsNumber(variant.value.doubleValue); 133 return jsString(exec, String::fromUTF8WithLatin1Fallback(variant.value.stringValue.UTF8Characters, 134 variant.value.stringValue.UTF8Length)); 136 return getOrCreateJSObject(globalObject, variant.value.objectValue); 143 void NPRuntimeObjectMap::convertJSValueToNPVariant(ExecState* exec, JSValue value, NPVariant& variant) 147 VOID_TO_NPVARIANT(variant); [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
ast.ml | 7 (* 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/e2fsprogs/lib/uuid/ |
tst_uuid.c | 79 int type, variant; local 89 type = uuid_type(buf); variant = uuid_variant(buf); 90 printf("UUID type = %d, UUID variant = %d\n", type, variant); 91 if (variant != UUID_VARIANT_DCE) { 92 printf("Incorrect UUID Variant; was expecting DCE!\n"); 105 type = uuid_type(buf); variant = uuid_variant(buf); 106 printf("UUID type = %d, UUID variant = %d\n", type, variant); 107 if (variant != UUID_VARIANT_DCE) [all...] |
uuid_time.c | 104 static const char *variant_string(int variant) 106 switch (variant) { 125 int type, variant; local 135 variant = uuid_variant(buf); 139 printf("UUID variant is %d (%s)\n", variant, variant_string(variant)); 140 if (variant != UUID_VARIANT_DCE) {
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
ast.ml | 7 (* 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/svox/pico/compat/src/com/android/tts/compat/ |
SynthProxy.java | 94 public int isLanguageAvailable(String language, String country, String variant) { 95 return native_isLanguageAvailable(mJniData, language, country, variant); 108 public int setLanguage(String language, String country, String variant) { 109 return native_setLanguage(mJniData, language, country, variant); 115 public int loadLanguage(String language, String country, String variant) { 116 return native_loadLanguage(mJniData, language, country, variant); 134 * Returns the currently set language, country and variant information. 171 String country, String variant); 174 String variant); 177 String variant); [all...] |
CompatTtsService.java | 94 protected int onIsLanguageAvailable(String lang, String country, String variant) { 95 if (DBG) Log.d(TAG, "onIsLanguageAvailable(" + lang + "," + country + "," + variant + ")"); 97 return mNativeSynth.isLanguageAvailable(lang, country, variant); 101 protected int onLoadLanguage(String lang, String country, String variant) { 102 if (DBG) Log.d(TAG, "onLoadLanguage(" + lang + "," + country + "," + variant + ")"); 103 int result = onIsLanguageAvailable(lang, country, variant); 118 String variant = request.getVariant(); local 119 if (mNativeSynth.setLanguage(lang, country, variant) != TextToSpeech.SUCCESS) { 120 Log.e(TAG, "setLanguage(" + lang + "," + country + "," + variant + ") failed");
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
ast.ml | 7 (* 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/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
ast.ml | 7 (* 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. *)
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
ast.ml | 7 (* 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. *)
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
ast.ml | 7 (* 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. *)
|
/external/webkit/Source/WebCore/css/ |
FontValue.cpp | 31 // font variant weight size / line-height family 37 if (variant) { 40 result += variant->cssText();
|
FontValue.h | 43 RefPtr<CSSPrimitiveValue> variant; member in class:WebCore::FontValue
|
/external/svox/pico/compat/include/ |
TtsEngine.h | 114 // Returns the level of support for the language, country and variant. 115 // @return TTS_LANG_COUNTRY_VAR_AVAILABLE if the language, country and variant are supported, 119 // the specified variant 122 // the specified country and variant 127 const char *variant); 133 // instance. The variant value is encoded as the variant string retrieved from a 134 // java.util.Locale instance built with that variant data. 137 // @param variant pointer to the variant cod [all...] |
/external/svox/pico/compat/jni/ |
tts.h | 159 // Returns the level of support for the language, country and variant. 160 // @return TTS_LANG_COUNTRY_VAR_AVAILABLE if the language, country and variant are supported, 164 // the specified variant 167 // the specified country and variant 175 const char *variant); 181 // instance. The variant value is encoded as the variant string retrieved from a 182 // java.util.Locale instance built with that variant data. 185 // @param variant pointer to the variant cod [all...] |
/external/webkit/Source/WebCore/bridge/c/ |
c_runtime.cpp | 70 NPVariant variant; local 71 convertValueToNPVariant(exec, aValue, &variant); 75 obj->_class->setProperty(obj, _fieldIdentifier, &variant); 79 _NPN_ReleaseVariantValue(&variant);
|
/libcore/luni/src/main/java/java/util/ |
Currency.java | 73 String variant = locale.getVariant(); local 74 if (!variant.isEmpty() && (variant.equals("EURO") || variant.equals("HK") || 75 variant.equals("PREEURO"))) { 76 country = country + "_" + variant;
|
/cts/tests/src/android/speech/tts/cts/ |
StubTextToSpeechService.java | 36 protected int onIsLanguageAvailable(String lang, String country, String variant) { 41 protected int onLoadLanguage(String lang, String country, String variant) {
|
/external/icu4c/i18n/ |
transreg.h | 325 * Return the number of registered variant specifiers for a given 326 * source-target pair. There is always at least one variant: If 327 * just source-target is registered, then the single variant 328 * NO_VARIANT is returned. If source-target/variant is registered 329 * then that variant is returned. 332 * @return the number of registered variant specifiers for a given 339 * Return a registered variant specifier for a given source-target 346 * @param result fill-in paramter to receive the variant 366 UnicodeString& variant); 370 const UnicodeString& variant) const [all...] |
/frameworks/base/core/java/android/speech/tts/ |
SynthesisRequest.java | 24 * <li>The synthesis locale, represented as a language, country and a variant. 26 * ISO 3166 alpha 3 code. The variant is not specified.</li> 73 * Gets the language variant to use. 103 void setLanguage(String language, String country, String variant) { 106 mVariant = variant;
|
/external/webkit/Tools/Scripts/ |
check-for-exit-time-destructors | 45 my $variant = $ENV{'CURRENT_VARIANT'}; 50 $variant = "normal" if !$variant; # for Xcode 2.1, which does not have CURRENT_VARIANT 58 my $list = $ENV{"LINK_FILE_LIST_${variant}_${arch}"};
|