/external/apache-http/src/org/apache/http/message/ |
HeaderValueParser.java | 55 * Parses a header value into elements. 64 * element = name [ "=" [ value ] ] *( ";" [ param ] ) 65 * param = name [ "=" [ value ] ] 68 * value = ( token | quoted-string ) 78 * header, element or param and is ignored. A missing value in any 83 * @param buffer buffer holding the header value to parse 87 * @return an array holding all elements of the header value 98 * of name=value definitions. 113 * Parses a list of name-value pairs. 152 * a parameter value (as defined in section 3.6) [all...] |
/external/apache-http/src/org/apache/http/params/ |
HttpConnectionParams.java | 57 * timeout for waiting for data. A timeout value of zero is interpreted as an infinite 58 * timeout. This value is used when no socket timeout is set in the 72 * timeout for waiting for data. A timeout value of zero is interpreted as an infinite 73 * timeout. This value is used when no socket timeout is set in the 107 * @param value <tt>true</tt> if the Nagle's algorithm is to NOT be used 110 public static void setTcpNoDelay(final HttpParams params, boolean value) { 114 params.setBooleanParameter(CoreConnectionPNames.TCP_NODELAY, value); 133 * Returns linger-on-close timeout. Value <tt>0</tt> implies that the option is 134 * disabled. Value <tt>-1</tt> implies that the JRE default is used. 150 * closed gracefully. Value <tt>0</tt> implies that the option is [all...] |
/external/skia/src/views/ |
SkMetaData.cpp | 59 void SkMetaData::setS32(const char name[], int32_t value) 61 (void)this->set(name, &value, sizeof(int32_t), kS32_Type, 1); 64 void SkMetaData::setScalar(const char name[], SkScalar value) 66 (void)this->set(name, &value, sizeof(SkScalar), kScalar_Type, 1); 77 void SkMetaData::setString(const char name[], const char value[]) 79 (void)this->set(name, value, sizeof(char), kString_Type, strlen(value) + 1); 87 void SkMetaData::setBool(const char name[], bool value) 89 (void)this->set(name, &value, sizeof(bool), kBool_Type, 1); 143 bool SkMetaData::findS32(const char name[], int32_t* value) cons [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/resources/descriptors/ |
ResourcesDescriptors.java | 74 "A @color@ value specifies an RGB value with an alpha channel, which can be used in various places such as specifying a solid color for a Drawable or the color to use for text. It always begins with a # character and then is followed by the alpha-red-green-blue information in one of the following formats: #RGB, #ARGB, #RRGGBB or #AARRGGBB.", 82 "Value*", 83 "A mandatory color value.") 99 "Value*", 100 "A mandatory string value.") 136 "Value", 137 "A standard string, hex color value, or reference to any other resource type.") 145 "A @drawable@ defines a rectangle of color. Android accepts color values written in various web-style formats -- a hexadecimal constant in any of the following forms: #RGB, #ARGB, #RRGGBB, #AARRGGBB. Zero in the alpha channel means transparent. The default value is opaque.", 153 "Value*", [all...] |
/external/stlport/src/ |
num_get_float.cpp | 337 uint64 &value = drep.ival; /* Value develops as follows: local 355 value = 0; 358 value *= 10; 359 value += *buffer++; 363 if (value == 0) { 367 /* Normalize value */ 370 /* Count number of non-zeroes in value */ 372 if ((value >> 32) != 0) { nzero = 32; } //*TY 03/25/2000 - added explicit comparison to zero to avoid uint64 to bool conversion operator 373 if ((value >> (16 + nzero)) != 0) { nzero += 16; [all...] |
/frameworks/base/core/java/android/provider/ |
Settings.java | 533 * Common base for tables of name/value settings. 537 public static final String VALUE = "value"; 540 String name, String value) { 545 values.put(VALUE, value); 565 new String[] { Settings.NameValueTable.VALUE }; 620 String value = b.getPairValue(); local 622 mValues.put(name, value); 624 return value; 643 String value = c.moveToNext() ? c.getString(0) : null; local 844 long value; local 2107 long value; local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
XmlUtils.java | 51 convertValueToList(CharSequence value, String[] options, int defaultValue) 53 if (null != value) { 55 if (value.equals(options[i])) 64 convertValueToBoolean(CharSequence value, boolean defaultValue) 68 if (null == value) 71 if (value.equals("1") 72 || value.equals("true") 73 || value.equals("TRUE")) 90 int value; local 126 convertValueToUnsignedInt(String value, int defaultValue 137 String value = charSeq.toString(); local 695 String value = ""; local [all...] |
/external/elfcopy/ |
fixdwarf.c | 19 /* When this macro is set to a nonzero value, we maintain a BST where we store each address once 20 we update the value at that address, and check to make sure that the address has not been 108 a negative value after this loop. 261 static shdr_info_t *find_section(int value) 268 IN_RANGE((unsigned)value, 279 IN_RANGE((unsigned) value, 423 INFO("DWARF: adjusting %d-byte value at %p: 0x%x -> 0x%x (delta %d per section %s)\n", 472 INFO("DWARF: adjusting %d-byte value at %p: 0x%x -> 0x%x (delta %d per section %s)\n", 486 int value) 488 INFO("DWARF frame info: initial PC value: %8x (width %d), %ssigned\n" [all...] |
/external/webkit/WebCore/bindings/v8/custom/ |
V8CanvasRenderingContext2DCustom.cpp | 52 static v8::Handle<v8::Value> toV8Object(CanvasStyle* style) 63 static PassRefPtr<CanvasStyle> toCanvasStyle(v8::Handle<v8::Value> value) 65 if (value->IsString()) 66 return CanvasStyle::create(toWebCoreString(value)); 68 if (V8CanvasGradient::HasInstance(value)) 69 return CanvasStyle::create(V8CanvasGradient::toNative(v8::Handle<v8::Object>::Cast(value))); 71 if (V8CanvasPattern::HasInstance(value)) 72 return CanvasStyle::create(V8CanvasPattern::toNative(v8::Handle<v8::Object>::Cast(value))); 77 v8::Handle<v8::Value> V8CanvasRenderingContext2D::strokeStyleAccessorGetter(v8::Local<v8::String> name, const v8::Acces (…) [all...] |
/frameworks/base/awt/java/awt/image/renderable/ |
ParameterBlock.java | 99 * Sets the parameter value object at the specified index. 102 * the parameter value to place at the desired index. 267 * Wraps the short value in a Short and places it in the parameter block at 271 * the short value of the parameter. 281 * Wraps the short value in a Short and adds it to the parameter block. 284 * the short value of the parameter. 292 * Wraps the long value in a Long and places it in the parameter block at 296 * the long value of the parameter. 306 * Wraps the long value in a Long and adds it to the parameter block. 309 * the long value of the parameter [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
MathTest.java | 59 assertTrue("Incorrect double abs value", 61 assertTrue("Incorrect double abs value", 71 assertTrue("Incorrect float abs value", 73 assertTrue("Incorrect float abs value", 83 assertTrue("Incorrect int abs value", (Math.abs(-1908897) == 1908897)); 84 assertTrue("Incorrect int abs value", (Math.abs(1908897) == 1908897)); 93 assertTrue("Incorrect long abs value", 95 assertTrue("Incorrect long abs value", 416 assertEquals("Incorrect double max value", 1908897.6000089, Math.max(-1908897.6000089, 418 assertEquals("Incorrect double max value", [all...] |
StrictMathTest.java | 42 assertTrue("Incorrect double abs value", 44 assertTrue("Incorrect double abs value", 54 assertTrue("Incorrect float abs value", 56 assertTrue("Incorrect float abs value", 66 assertTrue("Incorrect int abs value", 68 assertTrue("Incorrect int abs value", 78 assertTrue("Incorrect long abs value", (StrictMath 80 assertTrue("Incorrect long abs value", 431 assertEquals("Incorrect double max value", 1908897.6000089, StrictMath.max( 433 assertEquals("Incorrect double max value", 1908897.6000089, StrictMath.max(2.0 [all...] |
/external/icu4c/common/ |
utrie2.h | 47 * - For the last single-value code point range (ending with U+10ffff), 48 * the starting code point ("highStart") and the value are stored. 66 * Selectors for the width of a UTrie2 data value. 69 /** 16 bits per UTrie2 data value. */ 71 /** 32 bits per UTrie2 data value. */ 115 * @param initialValue the initial value that is set for all code points 116 * @param errorValue the value for out-of-range code points and illegal UTF-8 129 * Get a value from a code point as stored in the trie. 136 * @return the value 144 * Callback from utrie2_enum(), extracts a uint32_t value from [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
CharInfo.java | 99 * the value is true if the character in an attribute value 106 * the value is true if the character in a text node 129 * calculate the value of the bit within a given word, 202 String value = entities.getString(name); local 203 int code = Integer.parseInt(value); 282 String value = line.substring(index); local 283 index = value.indexOf(' '); 286 value = value.substring(0, index) [all...] |
/external/webkit/WebKit/win/ |
WebPreferences.cpp | 70 static NumberType numberValueForPreferencesValue(CFPropertyListRef value) 72 if (!value) 75 CFTypeID cfType = CFGetTypeID(value); 77 return static_cast<NumberType>(CFStringGetIntValue(static_cast<CFStringRef>(value))); 79 Boolean boolVal = CFBooleanGetValue(static_cast<CFBooleanRef>(value)); 83 CFNumberGetValue(static_cast<CFNumberRef>(value), CFNumberTraits<NumberType>::Type, &val); 91 static RetainPtr<CFNumberRef> cfNumber(NumberType value) 93 return RetainPtr<CFNumberRef>(AdoptCF, CFNumberCreate(0, CFNumberTraits<NumberType>::Type, &value)); 96 static bool booleanValueForPreferencesValue(CFPropertyListRef value) 98 return numberValueForPreferencesValue<int>(value); 265 RetainPtr<CFPropertyListRef> value = CFDictionaryGetValue(m_privatePrefs.get(), key); local 287 RetainPtr<CFPropertyListRef> value = valueForKey(key); local 1078 WebKitEditableLinkBehavior value = (WebKitEditableLinkBehavior) integerValueForKey(CFSTR(WebKitEditableLinkBehaviorPreferenceKey)); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/testdata/ |
mock_attrs.xml | 51 <enum name="horizontal" value="0" /> 53 <enum name="vertical" value="1" /> 60 <flag name="top" value="0x30" /> 62 <flag name="bottom" value="0x50" /> 64 <flag name="left" value="0x03" /> 66 <flag name="right" value="0x05" /> 68 <flag name="center_vertical" value="0x10" /> 70 <flag name="fill_vertical" value="0x70" /> 72 <flag name="center_horizontal" value="0x01" /> 74 <flag name="fill_horizontal" value="0x07" / [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 105 public T with(String key, String value) { 106 mValues.put(key, value); 111 public T with(String key, long value) { 112 mValues.put(key, value); 117 public T with(String key, byte[] value) { 118 mValues.put(key, value); 173 Object value = entry.getValue(); local 180 if (value == null) { 184 selectionArgs.add(value.toString()); 201 public void assertColumn(String columnName, long value) { [all...] |
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
AtomicIntegerArrayTest.java | 83 * get returns the last value set at index 98 * compareAndSet succeeds in changing value if equal to expected else fails 115 * compareAndSet in one thread enables another waiting for value 138 * repeated weakCompareAndSet succeeds in changing value when equal 154 * getAndSet returns previous value and sets to given value at given index 167 * getAndAdd returns previous value and adds given value 181 * getAndDecrement returns previous value and decrements 194 * getAndIncrement returns previous value and increment [all...] |
AtomicLongArrayTest.java | 81 * get returns the last value set at index 96 * compareAndSet succeeds in changing value if equal to expected else fails 113 * compareAndSet in one thread enables another waiting for value 136 * repeated weakCompareAndSet succeeds in changing value when equal 152 * getAndSet returns previous value and sets to given value at given index 165 * getAndAdd returns previous value and adds given value 179 * getAndDecrement returns previous value and decrements 192 * getAndIncrement returns previous value and increment [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
AbstractMapTest.java | 69 public Object put(Object key, Object value) { 121 Object value = new Object(); local 124 map1.put("key", value); 125 assertSame("HashMap(0)", map1.remove("key"), value); 128 map4.put(key, value); 129 assertSame("IdentityHashMap", map4.remove(key), value); 132 map5.put(key, value); 133 assertSame("LinkedHashMap", map5.remove(key), value); 141 map6.put(key, value); 142 assertSame("TreeMap", map6.remove(key), value); [all...] |
/dalvik/libcore/text/src/main/java/java/text/ |
StringCharacterIterator.java | 34 * @param value 37 public StringCharacterIterator(String value) { 38 string = value; 45 * with the current index set to the specified value. The begin index is set 49 * @param value 57 public StringCharacterIterator(String value, int location) { 58 string = value; 71 * @param value 82 * than the length of {@code value}. 84 public StringCharacterIterator(String value, int start, int end [all...] |
/external/libxml2/ |
hash.c | 65 unsigned long value = 0L; local 69 value += 30 * (*name); 71 value = value ^ ((value << 5) + (value >> 3) + (unsigned long)ch); 76 value = value ^ ((value << 5) + (value >> 3) + (unsigned long)ch) 92 unsigned long value = 0L; local [all...] |
/external/proguard/src/proguard/evaluation/value/ |
DoubleValue.java | 21 package proguard.evaluation.value; 26 * This class represents a partially evaluated double value. 33 * Returns the specific double value, if applicable. 35 public double value() method in class:DoubleValue 44 * Returns the negated value of this DoubleValue. 114 * Returns an IntegerValue with value -1, 0, or 1, if this DoubleValue is 123 * Returns an IntegerValue with value 1, 0, or -1, if this DoubleValue is 212 * Returns an IntegerValue with value -1, 0, or 1, if this DoubleValue is 225 * Returns an IntegerValue with value 1, 0, or -1, if this DoubleValue is 315 * Returns an IntegerValue with value -1, 0, or 1, if this DoubleValue i [all...] |
/external/quake/quake/src/QW/client/ |
view.c | 86 float value; local 93 value = cl_rollangle.value; 95 if (side < cl_rollspeed.value) 96 side = side * value / cl_rollspeed.value; 98 side = value; 121 return bob; // just use old value 124 cycle = bobtime - (int)(bobtime/cl_bobcycle.value)*cl_bobcycle.value; [all...] |
/external/webkit/WebKit/gtk/webkit/ |
webkitwebresource.cpp | 60 static void webkit_web_resource_get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec); 61 static void webkit_web_resource_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec); 180 static void webkit_web_resource_get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec) 186 g_value_set_string(value, webkit_web_resource_get_uri(webResource)); 189 g_value_set_string(value, webkit_web_resource_get_mime_type(webResource)); 192 g_value_set_string(value, webkit_web_resource_get_encoding(webResource)); 195 g_value_set_string(value, webkit_web_resource_get_frame_name(webResource)); 203 static void webkit_web_resource_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec) 210 webResource->priv->uri = g_value_dup_string(value); 258 * Return value: a new #WebKitWebResourc [all...] |