Searched defs:expression (Results 1 - 25 of 85) sorted by relevance

1234

/external/chromium/third_party/libjingle/source/talk/base/
H A Dcommon.cc65 const char * expression) {
68 << expression << " @ " << function;
64 LogAssert(const char * function, const char * file, int line, const char * expression) argument
H A Dcommon.h82 const char * expression);
85 int line, const char * expression) {
87 LogAssert(function, file, line, expression);
84 Assert(bool result, const char * function, const char * file, int line, const char * expression) argument
/external/jsilver/src/com/google/streamhtmlparser/impl/
H A DStateTableTransition.java25 * <li>An expression which consists of one or more characters and/or
37 private final String expression; field in class:StateTableTransition
51 expression, from, to);
54 StateTableTransition(String expression, InternalState from, argument
57 Preconditions.checkNotNull(expression);
60 this.expression = expression;
66 return expression;
/external/mesa3d/src/glsl/glcpp/
H A Dglcpp-parse.y169 %type <ival> expression INTEGER operator SPACE integer_constant
207 IF_EXPANDED expression NEWLINE {
210 | ELIF_EXPANDED expression NEWLINE {
234 /* Be careful to only evaluate the 'if' expression if
253 /* #if without an expression is only an error if we
258 glcpp_error(& @1, parser, "#if with no expression");
273 /* Be careful to only evaluate the 'elif' expression
292 /* #elif without an expression is an error unless we
297 glcpp_error(& @1, parser, "#elif with no expression");
303 glcpp_warning(& @1, parser, "ignoring illegal #elif without expression");
350 expression: label
[all...]
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8JavaScriptCallFrameCustom.cpp45 String expression = toWebCoreStringWithNullOrUndefinedCheck(args[0]); local
46 return impl->evaluate(expression);
H A DV8DocumentCustom.cpp74 String expression = toWebCoreString(args[0]); local
89 RefPtr<XPathResult> result = document->evaluate(expression, contextNode.get(), resolver.get(), type, inResult.get(), ec);
/external/webkit/Source/WebCore/xml/
H A DXPathEvaluator.cpp43 PassRefPtr<XPathExpression> XPathEvaluator::createExpression(const String& expression, argument
47 return XPathExpression::createExpression(expression, resolver, ec);
55 PassRefPtr<XPathResult> XPathEvaluator::evaluate(const String& expression, argument
68 RefPtr<XPathExpression> expr = createExpression(expression, resolver, ec);
H A DXPathExpression.cpp45 PassRefPtr<XPathExpression> XPathExpression::createExpression(const String& expression, XPathNSResolver* resolver, ExceptionCode& ec) argument
50 expr->m_topExpression = parser.parseStatement(expression, resolver, ec);
78 // It is not specified what to do if type conversion fails while evaluating an expression, and INVALID_EXPRESSION_ERR is not exactly right
79 // when the failure happens in an otherwise valid expression because of a variable. But XPathEvaluator does not support variables, so it's close enough.
/external/webkit/Source/WebCore/inspector/
H A DInspectorRuntimeAgent.cpp52 void InspectorRuntimeAgent::evaluate(ErrorString* errorString, const String& expression, const String* const objectGroup, const bool* const includeCommandLineAPI, RefPtr<InspectorObject>* result) argument
56 injectedScript.evaluate(errorString, expression, objectGroup ? *objectGroup : "", includeCommandLineAPI ? *includeCommandLineAPI : false, result);
59 void InspectorRuntimeAgent::evaluateOn(ErrorString* errorString, const String& objectId, const String& expression, RefPtr<InspectorObject>* result) argument
63 injectedScript.evaluateOn(errorString, objectId, expression, result);
73 void InspectorRuntimeAgent::setPropertyValue(ErrorString* errorString, const String& objectId, const String& propertyName, const String& expression) argument
77 injectedScript.setPropertyValue(errorString, objectId, propertyName, expression);
H A DInjectedScript.cpp57 void InjectedScript::evaluate(ErrorString* errorString, const String& expression, const String& objectGroup, bool includeCommandLineAPI, RefPtr<InspectorObject>* result) argument
60 function.appendArgument(expression);
66 void InjectedScript::evaluateOn(ErrorString* errorString, const String& objectId, const String& expression, RefPtr<InspectorObject>* result) argument
70 function.appendArgument(expression);
74 void InjectedScript::evaluateOnCallFrame(ErrorString* errorString, const String& callFrameId, const String& expression, const String& objectGroup, bool includeCommandLineAPI, RefPtr<InspectorObject>* result) argument
78 function.appendArgument(expression);
114 void InjectedScript::setPropertyValue(ErrorString* errorString, const String& objectId, const String& propertyName, const String& expression) argument
119 function.appendArgument(expression);
/external/apache-xml/src/main/java/org/apache/xpath/
H A DArg.java29 * XObject or a String containing an expression.
104 /** Field m_expression: Stored expression value of this argument.
111 * Get the value expression for this argument.
113 * @return String containing the expression previously stored into this
123 * Set the value expression for this argument.
125 * @param expr String containing the expression to be stored as this
176 * value (either expression string or value XObject). isVisible
191 * Construct a parameter argument that contains an expression.
194 * @param expression String to be stored as this argument's value expression
197 Arg(QName qname, String expression, boolean isFromWithParam) argument
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/
H A DAssert.java45 * @param expression
46 * the boolean expression of the check
51 public static boolean isLegal(boolean expression) { argument
52 return isLegal(expression, ""); //$NON-NLS-1$
60 * @param expression
61 * the boolean expression of the check
68 public static boolean isLegal(boolean expression, String message) { argument
69 if (!expression) {
72 return expression;
243 * @param expression
247 isTrue(boolean expression) argument
262 isTrue(boolean expression, String message) argument
284 isTrue(boolean expression, String errorFormat, Object... args) argument
302 isTrue2(boolean expression, String errorFormat, Object... args) argument
[all...]
/external/guava/guava/src/com/google/common/base/
H A DPreconditions.java38 * Note that the sense of the expression is inverted; with {@code Preconditions}
64 * Ensures the truth of an expression involving one or more parameters to the
67 * @param expression a boolean expression
68 * @throws IllegalArgumentException if {@code expression} is false
70 public static void checkArgument(boolean expression) { argument
71 if (!expression) {
77 * Ensures the truth of an expression involving one or more parameters to the
80 * @param expression a boolean expression
85 checkArgument( boolean expression, @Nullable Object errorMessage) argument
111 checkArgument(boolean expression, @Nullable String errorMessageTemplate, @Nullable Object... errorMessageArgs) argument
127 checkState(boolean expression) argument
142 checkState( boolean expression, @Nullable Object errorMessage) argument
168 checkState(boolean expression, @Nullable String errorMessageTemplate, @Nullable Object... errorMessageArgs) argument
[all...]
/external/webkit/Source/WebCore/bindings/v8/
H A DJavaScriptCallFrame.cpp121 v8::Handle<v8::Value> JavaScriptCallFrame::evaluate(const String& expression) argument
124 v8::Handle<v8::Value> argv[] = { v8String(expression) };
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
H A DXPathImpl.java51 * of an XPath expression.
193 private XObject eval(String expression, Object contextItem) argument
195 org.apache.xpath.XPath xpath = new org.apache.xpath.XPath( expression,
226 * <p>Evaluate an <code>XPath</code> expression in the specified context and return the result as the specified type.</p>
243 * If <code>expression</code> or <code>returnType</code> is <code>null</code>, then a
246 * @param expression The XPath expression.
250 * @return Result of evaluating an XPath expression as an <code>Object</code> of <code>returnType</code>.
252 * @throws XPathExpressionException If <code>expression</code> cannot be evaluated.
254 * @throws NullPointerException If <code>expression</cod
256 evaluate(String expression, Object item, QName returnType) argument
369 evaluate(String expression, Object item) argument
391 compile(String expression) argument
441 evaluate(String expression, InputSource source, QName returnType) argument
519 evaluate(String expression, InputSource source) argument
[all...]
/external/chromium/chrome/browser/sync/glue/
H A Dpreference_model_associator_unittest.cc22 const std::string& expression,
27 patterns_dict->GetDictionaryWithoutPathExpansion(expression,
31 patterns_dict->SetWithoutPathExpansion(expression, expression_dict);
21 SetContentPattern(DictionaryValue* patterns_dict, const std::string& expression, const std::string& content_type, int setting) argument
/external/e2fsprogs/intl/
H A Dplural-exp.h34 struct expression struct
64 struct expression *args[3]; /* Up to three arguments. */
73 struct expression *res;
82 binary incompatible changes in 'struct expression'. Furthermore,
104 extern void FREE_EXPRESSION (struct expression *exp)
107 extern struct expression GERMANIC_PLURAL attribute_hidden;
109 struct expression **pluralp,
114 extern unsigned long int plural_eval (struct expression *pexp,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.metadata_2.0.0.v20100601.jar ... org.eclipse.equinox.p2.metadata.expression.IMemberProvider { private static final String SEPARATOR public static final ...
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
H A DVarOptimizer.java157 * Optimizes a complex var command by recursively expanding its expression into a sequence of
162 PExpression expression = varCommand.getExpression();
167 if (expression instanceof AAddExpression) {
170 AAddExpression addExpression = (AAddExpression) expression;
179 if (expression instanceof AFunctionExpression) {
182 AFunctionExpression functionExpression = (AFunctionExpression) expression;
196 * Create a var command from the given expression and recursively optimize it, returning the
199 private PCommand optimizedVarCommandOf(PPosition position, PExpression expression) { argument
200 return optimizeVarCommands(new AVarCommand(cloneOf(position), cloneOf(expression)));
243 * Returns a quoted string expression o
[all...]
/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLSquareRoot.cpp64 RenderMathMLSquareRoot::RenderMathMLSquareRoot(Node *expression) argument
65 : RenderMathMLBlock(expression)
H A DRenderMathMLUnderOver.cpp41 RenderMathMLUnderOver::RenderMathMLUnderOver(Node* expression) argument
42 : RenderMathMLBlock(expression)
44 Element* element = static_cast<Element*>(expression);
45 // Determine what kind of under/over expression we have by element name
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
H A DEscapingEvaluator.java55 * Generates a JavaExpression to determine whether a given CS expression should be escaped before
57 * is the output of an escaping function. If not, any expression that contains an escaping function
74 * @param expression variable expression to be evaluated.
77 * @return Returns a {@code JavaExpression} representing a boolean expression that evaluates to
78 * {@code true} if {@code expression} should be exempted from escaping and {@code false}
81 public JavaExpression computeIfExemptFromEscaping(PExpression expression, argument
84 return computeForPropagateStatus(expression);
86 return computeEscaping(expression, propagateEscapeStatus);
89 private JavaExpression computeForPropagateStatus(PExpression expression) { argument
113 computeEscaping(PExpression expression, boolean propagateEscapeStatus) argument
[all...]
H A DJavaExpression.java25 * Represents a node of a Java expression.
39 protected JavaExpression cast(JavaExpression expression) {
40 if (expression.getType() == VAR_NAME) {
41 expression = expression.cast(DATA);
43 return call(Type.STRING, "asString", expression);
48 protected JavaExpression cast(JavaExpression expression) {
49 if (expression.getType() == VAR_NAME) {
50 expression = expression
140 cast(JavaExpression expression) argument
425 prefix(Type type, final String operator, final JavaExpression expression) argument
489 callFindVariable(JavaExpression expression, boolean create) argument
[all...]
H A DJavaSourceWriter.java198 public void startIfBlock(JavaExpression expression) { argument
201 writeExpression(expression);
227 public void startIterableForLoop(String type, String name, JavaExpression expression) { argument
234 writeExpression(expression);
256 public void writeStatement(JavaExpression expression) { argument
258 writeExpression(expression);
263 public void writeExpression(JavaExpression expression) { argument
264 expression.write(out);
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
H A DExpressionEvaluator.java57 * Walks the tree of a PExpression node and evaluates the expression.
79 * Evaluate an expression into a single value.
81 public Value evaluate(PExpression expression) { argument
84 expression.apply(this);
88 assert result != null : "No result set from " + expression.getClass();
103 // The expression was a constant string literal. Does not
240 * Sets a result from inside an expression.

Completed in 2398 milliseconds

1234