Home
last modified time | relevance | path

Searched refs:lengthValue (Results 1 – 10 of 10) sorted by relevance

/external/webkit/Source/WebCore/bindings/js/
DJSHTMLOptionsCollectionCustom.cpp49 double lengthValue = value.toNumber(exec); in setLength() local
50 if (!isnan(lengthValue) && !isinf(lengthValue)) { in setLength()
51 if (lengthValue < 0.0) in setLength()
53 else if (lengthValue > static_cast<double>(UINT_MAX)) in setLength()
56 newLength = static_cast<unsigned>(lengthValue); in setLength()
DJSSQLTransactionSyncCustom.cpp64 JSValue lengthValue = object->get(exec, exec->propertyNames().length); in executeSql() local
67 unsigned length = lengthValue.toUInt32(exec); in executeSql()
DJSSQLTransactionCustom.cpp65 JSValue lengthValue = object->get(exec, exec->propertyNames().length); in executeSql() local
68 unsigned length = lengthValue.toUInt32(exec); in executeSql()
DJSDOMBinding.cpp449 JSValue lengthValue = object->get(exec, exec->propertyNames().length); in toJSSequence() local
453 if (lengthValue.isUndefinedOrNull()) { in toJSSequence()
458 length = lengthValue.toUInt32(exec); in toJSSequence()
/external/webkit/Tools/DumpRenderTree/chromium/
DCppVariant.cpp263 NPVariant lengthValue; in toStringVector() local
264 if (!WebBindings::getProperty(0, npValue, lengthId, &lengthValue)) in toStringVector()
269 if (NPVARIANT_IS_DOUBLE(lengthValue)) in toStringVector()
270 length = static_cast<int>(NPVARIANT_TO_DOUBLE(lengthValue)); in toStringVector()
271 else if (NPVARIANT_IS_INT32(lengthValue)) in toStringVector()
272 length = NPVARIANT_TO_INT32(lengthValue); in toStringVector()
273 WebBindings::releaseVariantValue(&lengthValue); in toStringVector()
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
DEventSendingController.cpp61 JSValueRef lengthValue = JSObjectGetProperty(context, array, lengthString.get(), 0); in arrayLength() local
62 if (!lengthValue) in arrayLength()
64 return static_cast<unsigned>(JSValueToNumber(context, lengthValue, 0)); in arrayLength()
DLayoutTestController.cpp263 … JSValueRef lengthValue = JSObjectGetProperty(context, optionsArray, lengthPropertyName.get(), 0); in findString() local
264 if (!JSValueIsNumber(context, lengthValue)) in findString()
267 size_t length = static_cast<size_t>(JSValueToNumber(context, lengthValue, 0)); in findString()
/external/webkit/Tools/DumpRenderTree/gtk/
DLayoutTestControllerGtk.cpp574 … JSValueRef lengthValue = JSObjectGetProperty(context, optionsArray, lengthPropertyName.get(), 0); in findString() local
575 if (!JSValueIsNumber(context, lengthValue)) in findString()
580 size_t length = static_cast<size_t>(JSValueToNumber(context, lengthValue, 0)); in findString()
/external/webkit/Tools/DumpRenderTree/mac/
DLayoutTestControllerMac.mm674 … JSValueRef lengthValue = JSObjectGetProperty(context, optionsArray, lengthPropertyName.get(), 0);
675 if (!JSValueIsNumber(context, lengthValue))
680 size_t length = static_cast<size_t>(JSValueToNumber(context, lengthValue, 0));
DAccessibilityUIElementMac.mm1282 …NSNumber* lengthValue = [m_element accessibilityAttributeValue:@"AXLengthForTextMarkerRange" forPa…
1283 return [lengthValue intValue];