/external/skia/src/animator/ |
SkDrawPath.cpp | 142 bool SkDrawPath::getProperty(int index, SkScriptValue* value) const { 150 value->fType = SkType_Float; 151 value->fOperand.fScalar = fLength; 154 value->fType = SkType_FillType; 155 value->fOperand.fS32 = (int) fPath.getFillType(); 173 bool SkDrawPath::setProperty(int index, SkScriptValue& value) 177 SkASSERT(value.fType == SkType_FillType); 178 SkASSERT(value.fOperand.fS32 >= SkPath::kWinding_FillType && 179 value.fOperand.fS32 <= SkPath::kEvenOdd_FillType); 180 fPath.setFillType((SkPath::FillType) value.fOperand.fS32) [all...] |
/external/v8/samples/ |
process.cc | 102 static Handle<Value> GetPath(Local<String> name, const AccessorInfo& info); 103 static Handle<Value> GetReferrer(Local<String> name, 105 static Handle<Value> GetHost(Local<String> name, const AccessorInfo& info); 106 static Handle<Value> GetUserAgent(Local<String> name, 110 static Handle<Value> MapGet(Local<String> name, const AccessorInfo& info); 111 static Handle<Value> MapSet(Local<String> name, 112 Local<Value> value, 134 static Handle<Value> LogCallback(const Arguments& args) { 137 Handle<Value> arg = args[0] 353 const string& value = (*iter).second; local 366 string value = ObjectToString(value_obj); local 541 string value = arg.substr(index+1); local [all...] |
/external/v8/src/ |
conversions.cc | 172 static int InternalStringToInt(S* s, int i, int radix, double* value) { 175 // Setup limits for computing the value. 181 // NOTE: The code for computing the value may seem a bit complex at 205 // Update the value of the part as long as the multiplier fits 222 // Update the value and skip the part in the string. 229 // If the resulting value is larger than 2^53 the value does not fit 231 // When the value is larger than 2^53 the rounding depends on the 232 // code generation. If the code generator spills the double value 246 *value = v [all...] |
/external/webkit/JavaScriptCore/runtime/ |
JSActivation.cpp | 94 void JSActivation::put(ExecState*, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 96 ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this)); 98 if (symbolTablePut(propertyName, value)) 105 putDirect(propertyName, value, 0, true, slot); 109 void JSActivation::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue value, unsigned attributes) 111 ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this)); 113 if (symbolTablePutWithAttributes(propertyName, value, attributes)) 121 JSObject::putWithAttributes(exec, propertyName, value, attributes, true, slot) [all...] |
/external/webkit/WebCore/bindings/js/ |
JSElementCustom.cpp | 66 static inline bool allowSettingSrcToJavascriptURL(ExecState* exec, Element* element, const String& name, const String& value) 68 if ((element->hasTagName(iframeTag) || element->hasTagName(frameTag)) && equalIgnoringCase(name, "src") && protocolIsJavaScript(deprecatedParseURL(value))) { 80 AtomicString value = args.at(1).toString(exec); local 83 if (!allowSettingSrcToJavascriptURL(exec, imp, name, value)) 86 imp->setAttribute(name, value, ec); 101 if (!allowSettingSrcToJavascriptURL(exec, imp, newAttr->name(), newAttr->value())) 114 AtomicString value = args.at(2).toString(exec); local 117 if (!allowSettingSrcToJavascriptURL(exec, imp, qualifiedName, value)) 120 imp->setAttributeNS(namespaceURI, qualifiedName, value, ec); 135 if (!allowSettingSrcToJavascriptURL(exec, imp, newAttr->name(), newAttr->value())) [all...] |
SerializedScriptValue.h | 95 explicit SerializedScriptValueData(JSC::JSValue value) 98 ASSERT(!value.isCell()); 99 m_data.m_immediate = JSC::JSValue::encode(value); 102 SerializedScriptValueData(SerializedType type, double value) 105 m_data.m_double = value; 179 static PassRefPtr<SerializedScriptValue> create(JSC::ExecState* exec, JSC::JSValue value) 181 return adoptRef(new SerializedScriptValue(SerializedScriptValueData::serialize(exec, value))); 184 static PassRefPtr<SerializedScriptValue> create(JSContextRef, JSValueRef value, JSValueRef* exception); 222 SerializedScriptValue(SerializedScriptValueData value) 223 : m_value(value) [all...] |
/external/webkit/WebCore/bindings/v8/custom/ |
V8WorkerContextCustom.cpp | 49 v8::Handle<v8::Value> SetTimeoutOrInterval(const v8::Arguments& args, bool singleShot) 57 v8::Handle<v8::Value> function = args[0]; 67 v8::Local<v8::Value>* params = 0; 69 params = new v8::Local<v8::Value>[paramCount]; 83 v8::Handle<v8::Value> V8WorkerContext::importScriptsCallback(const v8::Arguments& args) 117 v8::Handle<v8::Value> V8WorkerContext::setTimeoutCallback(const v8::Arguments& args) 123 v8::Handle<v8::Value> V8WorkerContext::setIntervalCallback(const v8::Arguments& args) 129 v8::Handle<v8::Value> V8WorkerContext::addEventListenerCallback(const v8::Arguments& args) 145 v8::Handle<v8::Value> V8WorkerContext::removeEventListenerCallback(const v8::Arguments& args) 161 v8::Handle<v8::Value> toV8(WorkerContext* impl [all...] |
/external/webkit/WebCore/html/ |
HTMLEmbedElement.cpp | 88 const AtomicString& value = attr->value(); local 91 m_serviceType = value.string().lower(); 98 m_url = deprecatedParseURL(value.string()); 100 m_url = deprecatedParseURL(value.string()); 107 if (equalIgnoringCase(value.string(), "yes") || equalIgnoringCase(value.string(), "true")) { 117 document->addNamedItem(value); 119 m_name = value; 224 static_cast<HTMLObjectElement*>(n)->setAttribute(attr->name(), attr->value()); [all...] |
HTMLPlugInElement.cpp | 96 void HTMLPlugInElement::setHeight(const String& value) 98 setAttribute(heightAttr, value); 106 void HTMLPlugInElement::setWidth(const String& value) 108 setAttribute(widthAttr, value); 132 addCSSLength(attr, CSSPropertyWidth, attr->value()); 134 addCSSLength(attr, CSSPropertyHeight, attr->value()); 136 addCSSLength(attr, CSSPropertyMarginTop, attr->value()); 137 addCSSLength(attr, CSSPropertyMarginBottom, attr->value()); 139 addCSSLength(attr, CSSPropertyMarginLeft, attr->value()); 140 addCSSLength(attr, CSSPropertyMarginRight, attr->value()); [all...] |
HTMLScriptElement.cpp | 71 handleSourceAttribute(m_data, attr->value()); 103 void HTMLScriptElement::setText(const String &value) 109 static_cast<Text*>(firstChild())->setData(value, ec); 116 appendChild(document()->createTextNode(value.impl()), ec); 146 void HTMLScriptElement::setCharset(const String &value) 148 setAttribute(charsetAttr, value); 166 void HTMLScriptElement::setSrc(const String &value) 168 setAttribute(srcAttr, value); 176 void HTMLScriptElement::setType(const String &value) 178 setAttribute(typeAttr, value); [all...] |
HTMLTableRowElement.cpp | 184 void HTMLTableRowElement::setAlign(const String &value) 186 setAttribute(alignAttr, value); 194 void HTMLTableRowElement::setBgColor(const String &value) 196 setAttribute(bgcolorAttr, value); 204 void HTMLTableRowElement::setCh(const String &value) 206 setAttribute(charAttr, value); 214 void HTMLTableRowElement::setChOff(const String &value) 216 setAttribute(charoffAttr, value); 224 void HTMLTableRowElement::setVAlign(const String &value) 226 setAttribute(valignAttr, value); [all...] |
/external/webkit/WebCore/platform/graphics/chromium/ |
VDMXParser.cpp | 59 bool readU8(uint8_t* value) 63 *value = m_buffer[m_offset]; 68 bool readU16(uint16_t* value) 72 memcpy(value, m_buffer + m_offset, sizeof(uint16_t)); 73 *value = ntohs(*value); 78 bool readS16(int16_t* value) 80 return readU16(reinterpret_cast<uint16_t*>(value)); 110 // yMax: (output) the ascender value from the table 111 // yMin: (output) the descender value from the table (negative! [all...] |
/external/webkit/WebKit/gtk/webkit/ |
webkithittestresult.cpp | 71 static void webkit_hit_test_result_get_property(GObject* object, guint propertyID, GValue* value, GParamSpec* pspec) 78 g_value_set_flags(value, priv->context); 81 g_value_set_string(value, priv->linkURI); 84 g_value_set_string(value, priv->imageURI); 87 g_value_set_string(value, priv->mediaURI); 94 static void webkit_hit_test_result_set_property(GObject* object, guint propertyID, const GValue* value, GParamSpec* pspec) 101 priv->context = g_value_get_flags(value); 105 priv->linkURI = g_value_dup_string(value); 109 priv->imageURI = g_value_dup_string(value); 113 priv->mediaURI = g_value_dup_string(value); [all...] |
/frameworks/base/awt/java/beans/ |
FeatureDescriptor.java | 52 * Sets the value for the named attribute. 56 * The name of the attribute to set a value with. 57 * @param value 58 * The value to set. 60 public void setValue(String attributeName, Object value) { 61 if (attributeName == null || value == null) { 64 values.put(attributeName, value); 69 * Gets the value associated with the named attribute. 73 * The name of the attribute to get a value for. 74 * @return The attribute's value [all...] |
/frameworks/base/awt/org/apache/harmony/awt/wtk/ |
NativeWindow.java | 61 * property will have the desired value. The value change 94 * @param value - if enabled 96 void setEnabled(boolean value); 100 * @param value - if true makes window focusable 102 void setFocusable(boolean value); 150 * @param value - if resizable 152 void setResizable(boolean value); 185 * Makes window top-most if value is true, 188 void setAlwaysOnTop(boolean value); [all...] |
/frameworks/base/core/java/android/util/ |
MathUtils.java | 123 public static float acos(float value) { 124 return (float) Math.acos(value); 127 public static float asin(float value) { 128 return (float) Math.asin(value); 131 public static float atan(float value) { 132 return (float) Math.atan(value); 147 public static float norm(float start, float stop, float value) { 148 return (value - start) / (stop - start); 151 public static float map(float minStart, float minStop, float maxStart, float maxStop, float value) { 152 return maxStart + (maxStart - maxStop) * ((value - minStart) / (minStop - minStart)) [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
SettingsProviderTest.java | 34 Settings.Secure.putString(r, "test_service", "Value"); 35 assertEquals("Value", Settings.Secure.getString(r, "test_service")); 37 // Make sure the value can be overwritten. 46 Settings.System.putString(r, "test_setting", "Value"); 47 assertEquals("Value", Settings.System.getString(r, "test_setting")); 70 v.put(Settings.System.VALUE, "Test"); 79 assertEquals("Test", c.getString(c.getColumnIndex(Settings.System.VALUE))); 98 assertEquals("Test", c.getString(c.getColumnIndex(Settings.System.VALUE))); 105 v.put(Settings.System.VALUE, "Toast"); 112 assertEquals("Toast", c.getString(c.getColumnIndex(Settings.System.VALUE))); [all...] |
/frameworks/base/location/tests/locationtests/src/android/location/ |
LocationTest.java | 36 message = "degreesToDoubleTest: Double should be -80.075, actual value is " + 47 message = "minutesToDoubleTest: Double should be -80.085, actual value is " + 58 message = "secondsToDoubleTest: Double should be -80.0675, actual value is " + 69 message = "secondsToDouble2Test: Double should be -80.0675, actual value is " + 136 message = "bearingToTest: Bearing should be 0, actual value is " + String.valueOf(bearing); 140 message = "bearingToTest: Bearing should be 180, actual value is " + 147 message = "bearingToTest: Bearing should be -90, actual value is " + 151 //TODO: Test a Random Middle Value 167 message = "distanceToTest: Distance should be 0, actual value is " + 172 message = "distanceToTest: Distance should be 8885140, actual value is " [all...] |
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
pvamrwbdecoder_basic_op_cequivalent.h | 73 16 bit short signed integer (int16) whose value falls in the 77 16 bit short signed integer (int16) whose value falls in the 83 Return Value : 84 16 bit short signed integer (int16) whose value falls in the 112 16 bit short signed integer (int16) whose value falls in the 116 16 bit short signed integer (int16) whose value falls in the 122 Return Value : 123 16 bit short signed integer (int16) whose value falls in the 151 16 bit short signed integer (int16) whose value falls in the 155 16 bit short signed integer (int16) whose value falls in th [all...] |
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
PowerMgr_API.h | 95 * Return Value: TI_HANDLE - handle to the PowerMgr object.\n 107 * Return Value: TI_STATUS - TI_OK on success else TI_NOK.\n 118 * Return Value: void \n 132 * Return Value: TI_STATUS - TI_OK on success else TI_NOK.\n 147 * Return Value: TI_STATUS - TI_OK on success else TI_NOK.\n 161 * Return Value: TI_BOOL - TI_TRUE if enable else TI_FALSE.\n 176 * Return Value: TI_STATUS - TI_OK on success else TI_NOK.\n 191 * Return Value: PowerMgr_PowerMode_e .\n 209 * Return Value: void.\n 220 * Return Value: void.\ [all...] |
/sdk/files/ |
ant_rules_r1.xml | 34 <property name="adb.device.arg" value="" /> 42 <property name="source.dir" value="src" /> 44 <property name="gen.dir" value="gen" /> 46 <property name="resource.dir" value="res" /> 48 <property name="asset.dir" value="assets" /> 52 <property name="external.libs.dir" value="libs" /> 56 <property name="native.libs.dir" value="libs" /> 60 <property name="out.dir" value="bin" /> 62 <property name="out.classes.dir" value="${out.absolute.dir}/classes" /> 66 <property name="dex.file.name" value="classes.dex" / [all...] |
/system/wlan/ti/wilink_6_1/stad/src/Sta_Management/ |
PowerMgr_API.h | 95 * Return Value: TI_HANDLE - handle to the PowerMgr object.\n 107 * Return Value: TI_STATUS - TI_OK on success else TI_NOK.\n 118 * Return Value: void \n 132 * Return Value: TI_STATUS - TI_OK on success else TI_NOK.\n 147 * Return Value: TI_STATUS - TI_OK on success else TI_NOK.\n 161 * Return Value: TI_BOOL - TI_TRUE if enable else TI_FALSE.\n 176 * Return Value: TI_STATUS - TI_OK on success else TI_NOK.\n 191 * Return Value: PowerMgr_PowerMode_e .\n 209 * Return Value: void.\n 220 * Return Value: void.\ [all...] |
/external/bluetooth/glib/gobject/ |
gtype.h | 34 * @type: A #GType value. 55 * An invalid #GType used as error return value in some functions which return 191 * Shift value used in converting numbers to type IDs. 244 * @type: A #GType value. 253 * @type: A #GType value. 264 * @type: A #GType value. 279 * @type: A #GType value. 288 * @type: A #GType value. 298 * @type: A #GType value. 308 * @type: A #GType value [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/ |
DatatypeConstants.java | 42 * Value for first month of year. 47 * Value for second month of year. 52 * Value for third month of year. 57 * Value for fourth month of year. 62 * Value for fifth month of year. 67 * Value for sixth month of year. 72 * Value for seventh month of year. 77 * Value for eighth month of year. 82 * Value for ninth month of year. 87 * Value for tenth month of year [all...] |
/external/icu4c/common/ |
usc_impl.c | 56 static int8_t highBit(int32_t value); 120 highBit(int32_t value) 124 if (value <= 0) { 128 if (value >= 1 << 16) { 129 value >>= 16; 133 if (value >= 1 << 8) { 134 value >>= 8; 138 if (value >= 1 << 4) { 139 value >>= 4; 143 if (value >= 1 << 2) [all...] |