Searched refs:thisType (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/v8/test/webkit/
H A Dprimitive-method-this.js31 String.prototype.thisType = function() { return typeof this; };
32 Number.prototype.thisType = function() { return typeof this; };
33 Boolean.prototype.thisType = function() { return typeof this; };
35 shouldBe("(1).thisType()", "'object'");
36 shouldBe("(2.3).thisType()", "'object'");
37 shouldBe("'xxx'.thisType()", "'object'");
38 shouldBe("(false).thisType()", "'object'");
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
H A DKeyAlgorithm.h63 #define DEFINE_KEY_ALGORITHM_TYPE_CASTS(thisType) \
64 DEFINE_TYPE_CASTS(thisType, KeyAlgorithm, value, value->is##thisType(), value.is##thisType())
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLElement.h167 #define DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \
168 inline bool is##thisType(const thisType* element); \
169 inline bool is##thisType(const thisType& element); \
170 inline bool is##thisType(const HTMLElement* element) { return element && is##thisType(*element); } \
171 inline bool is##thisType(const Node& node) { return node.isHTMLElement() ? is##thisType(toHTMLElement(node)) : false; } \
172 inline bool is##thisType(cons
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontData.h66 #define DEFINE_FONT_DATA_TYPE_CASTS(thisType, predicate) \
67 template<typename T> inline thisType* to##thisType(const RefPtr<T>& fontData) { return to##thisType(fontData.get()); } \
68 DEFINE_TYPE_CASTS(thisType, FontData, fontData, fontData->isSegmented() == predicate, fontData.isSegmented() == predicate)
H A DCustomFontData.h59 #define DEFINE_CUSTOM_FONT_DATA_TYPE_CASTS(thisType, predicate) \
60 template<typename T> inline thisType* to##thisType(const RefPtr<T>& customFontData) { return to##thisType(customFontData.get()); } \
61 DEFINE_TYPE_CASTS(thisType, CustomFontData, customFontData, customFontData->predicate, customFontData.predicate)
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DAssertions.h379 #define DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(thisType) \
380 inline bool operator==(const thisType& a, const thisType& b) { return &a == &b; } \
381 inline bool operator==(const thisType& a, const thisType* b) { return &a == b; } \
382 inline bool operator==(const thisType* a, const thisType& b) { return a == &b; } \
383 inline bool operator!=(const thisType& a, const thisType& b) { return !(a == b); } \
384 inline bool operator!=(const thisType
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DStyleImage.h90 #define DEFINE_STYLE_IMAGE_TYPE_CASTS(thisType, function) \
91 DEFINE_TYPE_CASTS(thisType, StyleImage, styleImage, styleImage->function, styleImage.function); \
92 inline thisType* to##thisType(const RefPtr<StyleImage>& styleImage) { return to##thisType(styleImage.get()); } \
H A DBasicShapes.h75 #define DEFINE_BASICSHAPE_TYPE_CASTS(thisType) \
76 DEFINE_TYPE_CASTS(thisType, BasicShape, value, value->type() == BasicShape::thisType##Type, value.type() == BasicShape::thisType##Type)
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGElement.h280 #define DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \
281 inline bool is##thisType(const thisType* element); \
282 inline bool is##thisType(const thisType& element); \
283 inline bool is##thisType(const SVGElement* element) { return element && is##thisType(*element); } \
284 inline bool is##thisType(const Node& node) { return node.isSVGElement() ? is##thisType(toSVGElement(node)) : false; } \
285 inline bool is##thisType(cons
[all...]
/external/proguard/src/proguard/evaluation/value/
H A DReferenceValue.java95 String thisType = this.type;
98 if (thisType == null)
104 int thisDimensionCount = ClassUtil.internalArrayTypeDimensionCount(thisType);
109 thisType = thisType.substring(commonDimensionCount);
114 (ClassUtil.isInternalPrimitiveType(thisType.charAt(0)) ||
117 return !thisType.equals(otherType) ? NEVER :
125 thisType = ClassUtil.internalClassNameFromClassType(thisType);
147 !ClassUtil.isInternalArrayInterfaceName(thisType))
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DOffsettedItem.java97 ItemType thisType = itemType();
100 if (thisType != otherType) {
119 ItemType thisType = itemType();
122 if (thisType != otherType) {
123 return thisType.compareTo(otherType);
/external/chromium_org/third_party/skia/gm/
H A Dgm_error.h69 ErrorType thisType = static_cast<ErrorType>(typeInt); local
70 const char *thisTypeName = getErrorTypeName(thisType);
72 *type = thisType;
/external/skia/gm/
H A Dgm_error.h69 ErrorType thisType = static_cast<ErrorType>(typeInt); local
70 const char *thisTypeName = getErrorTypeName(thisType);
72 *type = thisType;
/external/proguard/src/proguard/classfile/attribute/preverification/
H A DFullFrame.java138 VerificationType thisType = this.variables[index];
141 if (!thisType.equals(otherType))
149 VerificationType thisType = this.stack[index];
152 if (!thisType.equals(otherType))
H A DMoreZeroFrame.java120 VerificationType thisType = this.additionalVariables[index];
123 if (!thisType.equals(otherType))
/external/chromium_org/third_party/WebKit/Source/core/html/track/
H A DTrackBase.h81 #define DEFINE_TRACK_TYPE_CASTS(thisType, predicate) \
82 DEFINE_TYPE_CASTS(thisType, TrackBase, track, track->type() == predicate, track.type() == predicate)
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGResource.h80 #define DEFINE_RENDER_SVG_RESOURCE_TYPE_CASTS(thisType, typeName) \
81 DEFINE_TYPE_CASTS(thisType, RenderSVGResource, resource, resource->resourceType() == typeName, resource.resourceType() == typeName)
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstBaseMethodRef.java80 Type thisType = getDefiningClass().getClassType();
81 instancePrototype = prototype.withFirstParameter(thisType);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DElementData.h114 #define DEFINE_ELEMENT_DATA_TYPE_CASTS(thisType, pointerPredicate, referencePredicate) \
115 template<typename T> inline thisType* to##thisType(const RefPtr<T>& data) { return to##thisType(data.get()); } \
116 DEFINE_TYPE_CASTS(thisType, ElementData, data, pointerPredicate, referencePredicate)
H A DNode.h870 #define DEFINE_NODE_TYPE_CASTS(thisType, predicate) \
871 template<typename T> inline thisType* to##thisType(const RefPtr<T>& node) { return to##thisType(node.get()); } \
872 DEFINE_TYPE_CASTS(thisType, Node, node, node->predicate, node.predicate)
875 #define DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) \
876 template<typename T> inline thisType* to##thisType(const RefPtr<T>& node) { return to##thisType(node.get()); } \
877 DEFINE_TYPE_CASTS(thisType, Nod
[all...]
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
H A DAnimatableValue.h134 #define DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(thisType, predicate) \
135 DEFINE_TYPE_CASTS(thisType, AnimatableValue, value, value->predicate, value.predicate)
/external/smack/src/org/jivesoftware/smackx/packet/
H A DDiscoverInfo.java398 String thisType = type == null ? "" : type;
399 if (!otherType.equals(thisType))
434 String thisType = type == null ? "" : type;
437 if (thisType.equals(otherType)) {
446 return thisType.compareTo(otherType);
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DRegisterSpec.java455 Type thisType = getType();
459 if (thisType != otherType) {
464 type.equals(other.getTypeBearer()) ? type : thisType;
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSValue.h255 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \
256 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predicate)
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFilterOperation.h109 #define DEFINE_FILTER_OPERATION_TYPE_CASTS(thisType, operationType) \
110 DEFINE_TYPE_CASTS(thisType, FilterOperation, op, op->type() == FilterOperation::operationType, op.type() == FilterOperation::operationType);

Completed in 2913 milliseconds

12