Home
last modified time | relevance | path

Searched refs:asString (Results 1 – 25 of 55) sorted by relevance

123

/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DJoin.java10 String asString = obj == null ? null : obj.toString(); in join() local
11 if (obj != null && asString.length() > 0) { in join()
23 String asString = obj == null ? null : obj.toString(); in join() local
24 if (asString != null && asString.length() > 0) { in join()
25 sb.append(del).append(asString); in join()
/external/webkit/Source/JavaScriptCore/runtime/
DOperations.h156 fiberCount += asString(v)->fiberCount(); in jsString()
175 ropeBuilder.append(asString(v)); in jsString()
195 fiberCount += asString(thisValue)->fiberCount(); in jsString()
201 fiberCount += asString(v)->fiberCount(); in jsString()
211 ropeBuilder.append(asString(thisValue)); in jsString()
221 ropeBuilder.append(asString(v)); in jsString()
256 return asString(v1)->value(exec) == asString(v2)->value(exec); in equalSlowCaseInline()
318 return asString(v1)->value(exec) == asString(v2)->value(exec); in strictEqualSlowCaseInline()
349 return asString(v1)->value(callFrame) < asString(v2)->value(callFrame); in jsLess()
359 return asString(p1)->value(callFrame) < asString(p2)->value(callFrame); in jsLess()
[all …]
DOperations.cpp52 ? jsString(callFrame, asString(p1), asString(p2)) in jsAddSlowCase()
53 : jsString(callFrame, asString(p1), p2.toString(callFrame)); in jsAddSlowCase()
56 return jsString(callFrame, p1.toString(callFrame), asString(p2)); in jsAddSlowCase()
DInternalFunction.cpp53 …return asString(getDirect(exec->globalData(), exec->globalData().propertyNames->name))->tryGetValu… in name()
61 return asString(displayName)->tryGetValue(); in displayName()
DStringObject.h46 JSString* internalValue() const { return asString(JSWrapperObject::internalValue());} in internalValue()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DBaseCompiledTemplate.java152 public static String asString(String value) { in asString() method in BaseCompiledTemplate
156 public static String asString(int value) { in asString() method in BaseCompiledTemplate
160 public static String asString(boolean value) { in asString() method in BaseCompiledTemplate
164 public static String asString(Value value) { in asString() method in BaseCompiledTemplate
165 return value.asString(); in asString()
168 public static String asString(Data data) { in asString() method in BaseCompiledTemplate
169 return TypeConverter.asString(data); in asString()
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DTemplateInterpreter.java123 context.writeUnescaped(value.asString()); in caseAUvarCommand()
150 templateLoader.createTemp(stackTraceDescription, value.asString(), context in evaluateVariable()
211 variable.setValue(value.asString()); in caseASetCommand()
260 String escapeStrategy = value.asString(); in caseAEscapeCommand()
277 String escapeStrategy = value.asString(); in caseAAutoescapeCommand()
405 context.writeUnescaped(value.asString()); in writeVariable()
407 context.writeEscaped(value.asString()); in writeVariable()
413 context.writeUnescaped(value.asString()); in autoEscapeAndWriteVariable()
415 context.writeEscaped(value.asString()); in autoEscapeAndWriteVariable()
568 String templateName = path.asString(); in include()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
DFindFunction.java36 return literalConstant(fullStringValue.asString().indexOf(subStringValue.asString()), in execute()
DLengthFunction.java34 return literalConstant(value.asString().length(), value); in execute()
DCrcFunction.java37 String string = args[0].asString(); in execute()
DSliceFunction.java41 String string = stringValue.asString(); in execute()
/external/jsilver/src/com/google/clearsilver/jsilver/values/
DValue.java96 public abstract String asString(); in asString() method in Value
233 && (asString().equals(otherValue.asString()) || (isEmpty() && otherValue.isEmpty())); in equals()
243 return asString(); in toString()
DVariantValue.java44 public String asString() { in asString() method in VariantValue
57 return asString().isEmpty(); in isEmpty()
DNumberValue.java41 public String asString() { in asString() method in NumberValue
/external/jsilver/src/com/google/clearsilver/jsilver/functions/operators/
DAddFunction.java33 return literalValue(left.asString() + right.asString(), mode, left.isPartiallyEscaped() in execute()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8HTMLCollectionCustom.cpp62 v8::Local<v8::String> asString = argument->ToString(); in getItem() local
63 if (asString.IsEmpty()) in getItem()
65 v8::Handle<v8::Value> result = getNamedItems(collection, toWebCoreString(asString)); in getItem()
/external/webkit/Source/WebCore/bindings/js/
DJSCanvasRenderingContext2DCustom.cpp76 context->setStrokeColor(ustringToString(asString(value)->value(exec))); in setStrokeStyle()
92 context->setFillColor(ustringToString(asString(value)->value(exec))); in setFillStyle()
111 context->setFillColor(ustringToString(asString(exec->argument(0))->value(exec))); in setFillColor()
117 …context->setFillColor(ustringToString(asString(exec->argument(0))->value(exec)), exec->argument(1)… in setFillColor()
148 context->setStrokeColor(ustringToString(asString(exec->argument(0))->value(exec))); in setStrokeColor()
154 …context->setStrokeColor(ustringToString(asString(exec->argument(0))->value(exec)), exec->argument(… in setStrokeColor()
311 … exec->argument(2).toFloat(exec), ustringToString(asString(exec->argument(3))->value(exec))); in setShadow()
319 … exec->argument(2).toFloat(exec), ustringToString(asString(exec->argument(3))->value(exec)), in setShadow()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp706 qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))), in TEST()
987 memberCallExpr(on(hasType(asString("class Y *")))))); in TEST()
989 methodDecl(hasParameter(0, hasType(asString("int")))))); in TEST()
991 fieldDecl(hasType(asString("ns::A"))))); in TEST()
993 fieldDecl(hasType(asString("struct <anonymous>::A"))))); in TEST()
1157 hasArgumentOfType(asString("int"))))); in TEST()
1159 hasArgumentOfType(asString("float"))))); in TEST()
1393 functionDecl(returns(asString("int"))))); in TEST()
1395 functionDecl(returns(asString("float"))))); in TEST()
1441 asString("int")))))); in TEST()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingTestCase.java69 called(asString(method)); in createProxyInstance()
88 private String asString(Method method) { in asString() method in ForwardingTestCase
/external/webkit/Source/JavaScriptCore/dfg/
DDFGOperations.cpp82 if (isJSString(globalData, base) && asString(base)->canGetIndex(i)) in operationGetByVal()
83 return JSValue::encode(asString(base)->getIndex(exec, i)); in operationGetByVal()
93 Identifier propertyName(exec, asString(property)->value(exec)); in operationGetByVal()
/external/hamcrest/src/org/hamcrest/
DStringDescription.java34 public static String asString(SelfDescribing selfDescribing) { in asString() method in StringDescription
/external/junit/src/org/junit/internal/
DAssumptionViolatedException.java27 return StringDescription.asString(this); in getMessage()
/external/webkit/Source/WebCore/inspector/
DInjectedScript.cpp122 result->asString(errorString); in setPropertyValue()
212 result->asString(errorString); in makeObjectCall()
DInspectorState.cpp91 it->second->asString(&value); in getString()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DTypeConverter.java40 public static String asString(Data data) { in asString() method in TypeConverter

123