/external/webkit/JavaScriptCore/wtf/ |
HashTraits.h | 43 // Default integer traits disallow both 0 and -1 as keys (max value instead of -1 for unsigned). 48 static bool isDeletedValue(T value) { return value == static_cast<T>(-1); } 51 template<typename T> struct GenericHashTraits : GenericHashTraitsBase<IsInteger<T>::value, T> { 62 static bool isDeletedValue(T value) { return value == -std::numeric_limits<T>::infinity(); } 74 static bool isDeletedValue(T value) { return value == std::numeric_limits<T>::max() - 1; } 81 static bool isDeletedValue(P* value) { return value == reinterpret_cast<P*>(-1); [all...] |
TypeTraits.h | 35 // IsInteger<T>::value 36 // IsPod<T>::value, see the definition for a note about its limitations 37 // IsConvertibleToInteger<T>::value 39 // IsSameType<T, U>::value 48 template<typename T> struct IsInteger { static const bool value = false; }; member in struct:WTF::IsInteger 49 template<> struct IsInteger<bool> { static const bool value = true; }; member in struct:WTF::IsInteger 50 template<> struct IsInteger<char> { static const bool value = true; }; member in struct:WTF::IsInteger 51 template<> struct IsInteger<signed char> { static const bool value = true; }; member in struct:WTF::IsInteger 52 template<> struct IsInteger<unsigned char> { static const bool value = true; }; member in struct:WTF::IsInteger 53 template<> struct IsInteger<short> { static const bool value = true; } member in struct:WTF::IsInteger 54 template<> struct IsInteger<unsigned short> { static const bool value = true; }; member in struct:WTF::IsInteger 55 template<> struct IsInteger<int> { static const bool value = true; }; member in struct:WTF::IsInteger 56 template<> struct IsInteger<unsigned int> { static const bool value = true; }; member in struct:WTF::IsInteger 57 template<> struct IsInteger<long> { static const bool value = true; }; member in struct:WTF::IsInteger 58 template<> struct IsInteger<unsigned long> { static const bool value = true; }; member in struct:WTF::IsInteger 59 template<> struct IsInteger<long long> { static const bool value = true; }; member in struct:WTF::IsInteger 60 template<> struct IsInteger<unsigned long long> { static const bool value = true; }; member in struct:WTF::IsInteger 62 template<> struct IsInteger<wchar_t> { static const bool value = true; }; member in struct:WTF::IsInteger 67 template <typename T> struct IsPod { static const bool value = IsInteger<T>::value; }; member in struct:WTF::IsPod 68 template <> struct IsPod<float> { static const bool value = true; }; member in struct:WTF::IsPod 69 template <> struct IsPod<double> { static const bool value = true; }; member in struct:WTF::IsPod 70 template <> struct IsPod<long double> { static const bool value = true; }; member in struct:WTF::IsPod 71 template <typename P> struct IsPod<P*> { static const bool value = true; }; member in struct:WTF::IsPod 79 static const bool value = false; member in class:WTF::IsConvertibleToInteger::IsConvertibleToDouble 92 static const bool value = sizeof(floatCheck(t)) == sizeof(YesType); member in class:WTF::IsConvertibleToInteger::IsConvertibleToDouble 96 static const bool value = IsInteger<T>::value || IsConvertibleToDouble<!IsInteger<T>::value, T>::value; member in class:WTF::IsConvertibleToInteger 100 static const bool value = false; member in struct:WTF::IsSameType 104 static const bool value = true; member in struct:WTF::IsSameType 117 static const bool value = sizeof(subclassCheck(t)) == sizeof(YesType); member in class:WTF::IsSubclass 130 static const bool value = sizeof(subclassCheck(t)) == sizeof(YesType); member in class:WTF::IsSubclassOfTemplate 184 static const T value = v; member in struct:WTF::IntegralConstant [all...] |
/external/webkit/WebCore/css/ |
CSSStyleDeclaration.cpp | 83 void CSSStyleDeclaration::setProperty(const String& propertyName, const String& value, ExceptionCode& ec) 85 int important = value.find("!important", 0, false); 87 setProperty(propertyName, value, "", ec); 89 setProperty(propertyName, value.left(important - 1), "important", ec); 92 void CSSStyleDeclaration::setProperty(const String& propertyName, const String& value, const String& priority, ExceptionCode& ec) 100 setProperty(propID, value, important, ec); 123 RefPtr<CSSValue> value = getPropertyCSSValue(property->id()); local 124 return value && value->cssText() == property->value()->cssText() 153 RefPtr<CSSValue> value = getPropertyCSSValue(set[i]); local [all...] |
/external/webkit/WebCore/html/ |
ValidityState.cpp | 74 String value = input->value(); local 76 if (value.isEmpty()) 81 return !isValidColorString(value); 83 return !HTMLInputElement::formStringToDouble(value, 0); 85 return !KURL(KURL(), value).isValid(); 88 return !isValidEmailAddress(value); 90 value.split(',', addresses); 103 return !HTMLInputElement::formStringToDateComponents(input->inputType(), value, 0); 153 bool ValidityState::isValidColorString(const String& value) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/mac/ |
AccessibilityUIElementMac.mm | 122 NSValue* value = (NSValue*)valueObject; 124 return [NSString stringWithFormat:@"NSRect: %@", NSStringFromRect([value rectValue])]; 126 return [NSString stringWithFormat:@"NSPoint: %@", NSStringFromPoint([value pointValue])]; 128 return [NSString stringWithFormat:@"NSSize: %@", NSStringFromSize([value sizeValue])]; 130 return [NSString stringWithFormat:@"NSRange: %@", NSStringFromRange([value rangeValue])]; 168 NSString* value = descriptionOfValue(valueObject, accessibilityObject); 169 [attributesString appendFormat:@"%@: %@\n", attribute, value]; 176 static JSStringRef concatenateAttributeAndValue(NSString* attribute, NSString* value) 183 Vector<UniChar> valueBuffer([value length]); 184 [value getCharacters:valueBuffer.data()] [all...] |
/external/wpa_supplicant/ |
config_winreg.c | 549 char *value = wpa_config_get(ssid, field); local 550 if (value == NULL) 552 wpa_config_write_reg_string(hk, field, value); 553 os_free(value); 557 static void write_int(HKEY hk, const char *field, int value, int def) 560 if (value == def) 562 os_snprintf(val, sizeof(val), "%d", value); 569 char *value = wpa_config_get(ssid, "bssid"); local 570 if (value == NULL) 572 wpa_config_write_reg_string(hk, "bssid", value); 579 char *value = wpa_config_get(ssid, "psk"); local 589 char *value; local 605 char *value; local 621 char *value; local 637 char *value; local 653 char *value; local 670 char *value; local 685 char field[20], *value; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
config_winreg.c | 637 char *value = wpa_config_get(ssid, field); local 638 if (value == NULL) 640 wpa_config_write_reg_string(hk, field, value); 641 os_free(value); 645 static void write_int(HKEY hk, const char *field, int value, int def) 648 if (value == def) 650 os_snprintf(val, sizeof(val), "%d", value); 657 char *value = wpa_config_get(ssid, "bssid"); local 658 if (value == NULL) 660 wpa_config_write_reg_string(hk, "bssid", value); 667 char *value = wpa_config_get(ssid, "psk"); local 677 char *value; local 693 char *value; local 709 char *value; local 725 char *value; local 741 char *value; local 758 char *value; local 773 char field[20], *value; local [all...] |
/frameworks/base/core/java/android/database/ |
CursorWrapper.java | 242 public boolean updateDouble(int columnIndex, double value) { 243 return mCursor.updateDouble(columnIndex, value); 250 public boolean updateFloat(int columnIndex, float value) { 251 return mCursor.updateFloat(columnIndex, value); 258 public boolean updateInt(int columnIndex, int value) { 259 return mCursor.updateInt(columnIndex, value); 266 public boolean updateLong(int columnIndex, long value) { 267 return mCursor.updateLong(columnIndex, value); 274 public boolean updateShort(int columnIndex, short value) { 275 return mCursor.updateShort(columnIndex, value); [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 62 * @param value the string value of the setting 63 * @return whether to continue with writing the value to the database. In 65 * and in some cases the property value needs to be modified before setting. 67 public boolean restoreValue(String name, String value) { 69 setBrightness(Integer.parseInt(value)); 71 setSoundEffects(Integer.parseInt(value) == 1); 73 setGpsLocation(value); 76 setAutoRestore(Integer.parseInt(value) == 1); 91 private void setGpsLocation(String value) { [all...] |
/packages/apps/Email/src/org/apache/commons/io/ |
HexDump.java | 121 * Dump a long value into a StringBuffer.
123 * @param _lbuffer the StringBuffer to dump the value in
124 * @param value the long value to be dumped
125 * @return StringBuffer containing the dumped value.
127 private static StringBuffer dump(StringBuffer _lbuffer, long value) {
130 .append(_hexcodes[((int) (value >> _shifts[j])) & 15]);
136 * Dump a byte value into a StringBuffer.
138 * @param _cbuffer the StringBuffer to dump the value in
139 * @param value the byte value to be dumped [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
Header.java | 45 * The key/value pair of the header may be inserted for later use. The key 66 List<String> value = next.getValue(); local 68 for (String element : value) { 96 * Add a field with the specified value. 99 * @param value 101 public void add(String key, String value) { 113 list.add(value); 115 props.add(value); 119 * Set a field with the specified value. If the field is not found, it is 120 * added. If the field is found, the existing value(s) are overwritten [all...] |
/external/astl/include/ |
limits | 49 // e.g digits10<int,64,true>::value == 19 51 static const int value = 0; 56 template<> struct digits10<int, 8, false> { static const int value = 3; }; 57 template<> struct digits10<int, 8, true> { static const int value = 3; }; 58 template<> struct digits10<int, 16, false> { static const int value = 5; }; 59 template<> struct digits10<int, 16, true> { static const int value = 5; }; 60 template<> struct digits10<int, 32, false> { static const int value = 10; }; 61 template<> struct digits10<int, 32, true> { static const int value = 10; }; 62 template<> struct digits10<int, 64, false> { static const int value = 20; }; 63 template<> struct digits10<int, 64, true> { static const int value = 19; } [all...] |
/external/e2fsprogs/util/ |
subst.c | 29 char *value; member in struct:subst_entry 35 static int add_subst(char *name, char *value) 47 ent->value = (char *) malloc(strlen(value)+1); 48 if (!ent->value) 51 strcpy(ent->value, value); 59 if (ent->value) 60 free(ent->value); 164 replace_name, ent->value); [all...] |
/external/guava/src/com/google/common/base/ |
Functions.java | 125 * Returns a function which performs a map lookup with a default value. The 130 * @param defaultValue the value to return for inputs that aren't map keys 252 * Creates a function that returns {@code value} for any input. 254 * @param value the constant value for the function to return 255 * @return a function that always returns {@code value} 257 public static <E> Function<Object, E> constant(@Nullable E value) { 258 return new ConstantFunction<E>(value); 263 private final E value; field in class:Functions.ConstantFunction 265 public ConstantFunction(@Nullable E value) { [all...] |
/external/icu4c/common/ |
utrie.h | 41 * From such a folded value, an offset needs to be extracted to supply 45 * to get that offset from the folded value for a lead surrogate unit. 108 * (Number of Unicode code points + one all-initial-value block + 135 * @param data data value for a surrogate from the trie, including the folding offset 159 * the lead surrogate's value itself - which is the inverse of the default 285 * Get a 16-bit trie value from a BMP code point (UChar, <=U+ffff). 286 * c16 may be a lead surrogate, which may have a value including a folding offset. 295 * Get a 32-bit trie value from a BMP code point (UChar, <=U+ffff). 296 * c16 may be a lead surrogate, which may have a value including a folding offset. 305 * Get a 16-bit trie value from a BMP code point (UChar, <=U+ffff) [all...] |
/external/kernel-headers/original/asm-x86/ |
cmpxchg_32.h | 28 * the reader side to see the coherent 64bit value. 47 unsigned long long value) 49 __set_64bit(ptr,(unsigned int)(value), (unsigned int)((value)>>32ULL)); 55 unsigned long long value) 57 __set_64bit(ptr,ll_low(value), ll_high(value)); 60 #define set_64bit(ptr,value) \ 61 (__builtin_constant_p(value) ? \ 62 __set_64bit_constant(ptr, value) : [all...] |
/external/webkit/WebCore/bindings/v8/custom/ |
V8XMLHttpRequestCustom.cpp | 47 v8::Handle<v8::Value> V8XMLHttpRequest::responseTextAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) 54 v8::Handle<v8::Value> V8XMLHttpRequest::addEventListenerCallback(const v8::Arguments& args) 70 v8::Handle<v8::Value> V8XMLHttpRequest::removeEventListenerCallback(const v8::Arguments& args) 87 v8::Handle<v8::Value> V8XMLHttpRequest::openCallback(const v8::Arguments& args) 130 static bool IsDocumentType(v8::Handle<v8::Value> value) 133 return V8Document::HasInstance(value) || V8HTMLDocument::HasInstance(value); 136 v8::Handle<v8::Value> V8XMLHttpRequest::sendCallback(const v8::Arguments& args) 145 v8::Handle<v8::Value> arg = args[0] 175 String value = toWebCoreString(args[1]); local 204 String value = toWebCoreString(args[0]); local [all...] |
/external/webkit/WebKit/gtk/webkit/ |
webkitwebnavigationaction.cpp | 66 static void webkit_web_navigation_action_get_property(GObject* object, guint propertyId, GValue* value, GParamSpec* pspec) 72 g_value_set_enum(value, webkit_web_navigation_action_get_reason(navigationAction)); 75 g_value_set_string(value, webkit_web_navigation_action_get_original_uri(navigationAction)); 78 g_value_set_int(value, webkit_web_navigation_action_get_button(navigationAction)); 81 g_value_set_int(value, webkit_web_navigation_action_get_modifier_state(navigationAction)); 84 g_value_set_string(value, webkit_web_navigation_action_get_target_frame(navigationAction)); 92 static void webkit_web_navigation_action_set_property(GObject* object, guint propertyId, const GValue* value, GParamSpec* pspec) 99 webkit_web_navigation_action_set_reason(navigationAction, (WebKitWebNavigationReason)g_value_get_enum(value)); 102 webkit_web_navigation_action_set_original_uri(navigationAction, g_value_get_string(value)); 105 priv->button = g_value_get_int(value); [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
SettingsController.java | 56 * Returns the value of the {@link ISettingsPage#KEY_FORCE_HTTP} setting.
64 * Returns the value of the {@link ISettingsPage#KEY_ASK_ADB_RESTART} setting.
68 String value = mProperties.getProperty(ISettingsPage.KEY_ASK_ADB_RESTART);
local 69 if (value == null) {
72 return Boolean.parseBoolean(value);
76 * Returns the value of the {@link ISettingsPage#KEY_SHOW_UPDATE_ONLY} setting.
80 String value = mProperties.getProperty(ISettingsPage.KEY_SHOW_UPDATE_ONLY);
local 81 if (value == null) {
84 return Boolean.parseBoolean(value);
88 * Sets the value of the {@link ISettingsPage#KEY_SHOW_UPDATE_ONLY} setting. 101 String value = mProperties.getProperty(ISettingsPage.KEY_MONITOR_DENSITY, null); local [all...] |
/dalvik/libcore/text/src/main/java/java/text/ |
AttributedString.java | 48 Object value; field in class:AttributedString.Range 53 value = v; 157 if (!(range.value instanceof Annotation)) { 169 return !(range.value instanceof Annotation) 172 return !(range.value instanceof Annotation) 213 return inRange(range) ? range.value : null; 242 Object value = currentValue(entry.getValue()); local 243 if (value != null) { 244 result.put(entry.getKey(), value); local 416 Object value = iterator.getAttribute(attribute) local 451 Object value = iterator.getAttribute(attribute); local [all...] |
/bootable/recovery/edify/ |
expr.c | 36 Value* v = expr->fn(expr->name, state, expr->argc, expr->argv); 39 ErrorAbort(state, "expecting string, got value type %d", v->type); 48 Value* EvaluateValue(State* state, Expr* expr) { 52 Value* StringValue(char* str) { 54 Value* v = malloc(sizeof(Value)); 61 void FreeValue(Value* v) { 67 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]) { 102 Value* IfElseFn(const char* name, State* state, int argc, Expr* argv[]) { 126 Value* AbortFn(const char* name, State* state, int argc, Expr* argv[]) [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
AnnotationParser.java | 98 * Parses an annotation value ({@code element_value}) attribute. 100 * @return {@code non-null;} the parsed constant value 291 parsed(0, "value: "); 295 Constant value = parseValue(); local 301 return new NameValuePair(elementName, value); 305 * Parses an annotation value. 307 * @return {@code non-null;} the parsed value 319 CstInteger value = (CstInteger) parseConstant(); local 320 return CstByte.make(value.getValue()); 323 CstInteger value = (CstInteger) parseConstant() local 328 CstDouble value = (CstDouble) parseConstant(); local 332 CstFloat value = (CstFloat) parseConstant(); local 336 CstInteger value = (CstInteger) parseConstant(); local 340 CstLong value = (CstLong) parseConstant(); local 344 CstInteger value = (CstInteger) parseConstant(); local 348 CstInteger value = (CstInteger) parseConstant(); local 353 CstUtf8 value = (CstUtf8) pool.get(classInfoIndex); local 363 CstString value = new CstString((CstUtf8) parseConstant()); local 428 Constant value = (Constant) pool.get(constValueIndex); local [all...] |
/external/proguard/src/proguard/preverify/ |
CodePreverifier.java | 32 import proguard.evaluation.value.*; 262 Value value = variables.getValue(index); local 267 if (value != null && 274 if (value.isCategory2()) 290 Value value = variables.getValue(index); local 291 Value producerValue = variables.getProducerValue(index); 296 if (value != null && 305 value, 344 Value value = stack.getTop(index); local 363 Value value = stack.getTop(index); local [all...] |
/external/srec/srec/Nametag/src/ |
NametagsImpl.c | 56 impl->value = NULL; 59 CHKLOG(rc, HashMapCreate(&impl->value)); 80 LCHAR* value; local 83 HashMap* nametags = impl->value; 141 for (value = id + 1; *value != L('\0') && !LISSPACE(*value); ++value); 142 if (*value == L('\0')) 149 *value = L('\0') [all...] |
/external/webkit/WebCore/dom/ |
StyledElement.cpp | 44 StringImpl* value; member in struct:WebCore::MappedAttributeKey 46 : type(t), name(n), value(v) { } 50 { return a.type == b.type && a.name == b.name && a.value == b.value; } 56 static bool isDeletedValue(const MappedAttributeKey& value) { return value.type == eLastEntry; } 73 return mappedAttributeDecls->get(MappedAttributeKey(entryType, attr->name().localName().impl(), attr->value().impl())); 76 CSSMappedAttributeDeclaration* StyledElement::getMappedAttributeDecl(MappedAttributeEntry type, const QualifiedName& name, const AtomicString& value) 80 return mappedAttributeDecls->get(MappedAttributeKey(type, name.localName().impl(), value.impl())); 87 mappedAttributeDecls->set(MappedAttributeKey(entryType, attr->name().localName().impl(), attr->value().impl()), decl) [all...] |