HomeSort by relevance Sort by last modified time
    Searched full:expression (Results 326 - 350 of 3197) sorted by null

<<11121314151617181920>>

  /external/clang/test/SemaCXX/
lambda-expressions.cpp 54 []() { return [&]() { return a; }; }; // expected-error {{variable 'a' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{lambda expression begins here}}
55 []() { return ^{ return a; }; };// expected-error {{variable 'a' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{lambda expression begins here}}
56 []() { return [&a] { return a; }; }; // expected-error 2 {{variable 'a' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note 2 {{lambda expression begins here}}
67 [=]() { return c; }; // expected-error {{unnamed variable cannot be implicitly captured in a lambda expression}}
70 [&]() { return e; }; // expected-error {{__block variable 'e' cannot be captured in a lambda expression}}
71 [&e]() { return e; }; // expected-error 2 {{__block variable 'e' cannot be captured in a lambda expression}}
76 // expected-note{{lambda expression begins here}}
87 []() { return h; }; // expected-error {{variable 'h' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{lambda expression begins here}}
94 [] { return ref_i; }; // expected-error {{variable 'ref_i' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{lambda expression begins here}}
  /external/clang/test/SemaObjC/
arc-invalid.m 12 takeBlock(^{ [p foo] + p; }); // expected-error {{invalid operands to binary expression}}
  /external/clang/test/SemaObjCXX/
instantiate-stmt.mm 41 // expected-error{{collection expression type 'vector' is not a valid object}}
47 // expected-error{{collection expression type 'vector' is not a valid object}}
50 for (NSString *str in collection) // expected-error{{collection expression type 'vector' is not a valid object}}
54 for (str in collection) // expected-error{{collection expression type 'vector' is not a valid object}}
  /external/clang/test/SemaOpenCL/
vector_conv_invalid.cl 10 int4 i = u; // expected-error{{initializing 'int4' with an expression of incompatible type 'uint4'}}
vector_literals_invalid.cl 12 int8 d = (int8)(a,(float4)(1)); // expected-error{{initializing 'int' with an expression of incompatible type 'float4'}}
  /external/clang/test/SemaTemplate/
member-access-ambig.cpp 34 // expected-error{{expected expression}}
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/
TypeResolver.java 43 * There are three types of expression we need to process; addition, equality and inequality. By
45 * case the original expression is replaced with its numeric equivalent. This behavior seems to
51 * expressions. Consider the expression:
59 * When we process the left-hand-side sub-expression {@code #a + b} it is turned into a numeric
60 * addition (due to the forced numeric value on the left). Then when we process the main expression
108 * Determines whether the given (sub)expression is numeric, which in turn means that its parent
109 * expression should be treated as numeric if possible.
120 || node instanceof ANegativeExpression // negative expression (-a)
125 * Determine if the given expression represents a numeric function.
  /external/llvm/test/Transforms/IndVarSimplify/
2003-04-16-ExprAnalysis.ll 1 ; This is a test case for the expression analysis code, not really indvars.
  /external/proguard/src/proguard/classfile/visitor/
ClassNameFilter.java 31 * matches a given regular expression.
43 * @param regularExpression the regular expression against which class names
58 * @param regularExpression the regular expression against which class names
73 * @param regularExpressionMatcher the regular expression against which
  /external/webkit/Source/ThirdParty/ANGLE/src/common/
debug.h 35 #define ASSERT(expression) do { \
36 if(!(expression)) \
37 ERR("\t! Assert failed in %s(%d): "#expression"\n", __FUNCTION__, __LINE__); \
38 assert(expression); \
  /external/webkit/Source/WebCore/xml/
XPathEvaluator.cpp 43 PassRefPtr<XPathExpression> XPathEvaluator::createExpression(const String& expression,
47 return XPathExpression::createExpression(expression, resolver, ec);
55 PassRefPtr<XPathResult> XPathEvaluator::evaluate(const String& expression,
68 RefPtr<XPathExpression> expr = createExpression(expression, resolver, ec);
  /libcore/luni/src/main/java/javax/xml/xpath/
package.html 44 stand-alone language, as a single XPath expression can be used to
50 <p>An XPath <em>expression</em> is composed of a <em>location
55 <p>The following is an example of a simple XPath expression:</p>
70 <p>The expression <code>/foo/bar</code> is an example of a location
73 <em>all</em> nodes that match the expression. Thus, all three
75 selected by the <code>/foo/bar</code> expression:</p>
143 <code>[<em>expression</em>]</code>. The following example selects all
152 expression, such as:</p>
166 String expression = "/widgets/widget";
168 NodeSet nodes = (NodeSet) xpath.evaluate(expression, inputSource, XPathConstants.NODESET)
    [all...]
  /sdk/anttasks/src/com/android/ant/
XPathTask.java 34 * The goal is to get the result of an XPath expression on Android XML files. The android namespace
52 public void setExpression(String expression) {
53 mExpression = expression;
72 throw new BuildException("expression attribute is missing!");
  /external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
t033backtracking.g 282 // ( '[' expression ']'
305 // | '(' expression ')'
319 // expression
351 // : logical_or_expression ('?' expression ':' conditional_expression)?
416 // | expression ';'
420 // : 'if' '(' expression ')' statement (options {k=1; backtrack=false;}:'else' statement)?
421 // | 'switch' '(' expression ')' statement
425 // : 'while' '(' expression ')' statement
426 // | 'do' statement 'while' '(' expression ')' ';'
427 // | 'for' '(' expression_statement expression_statement expression? ')' statemen
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/tests/
t033backtracking.g 297 // ( '[' expression ']'
320 // | '(' expression ')'
334 // expression
366 // : logical_or_expression ('?' expression ':' conditional_expression)?
431 // | expression ';'
435 // : 'if' '(' expression ')' statement (options {k=1; backtrack=false;}:'else' statement)?
436 // | 'switch' '(' expression ')' statement
440 // : 'while' '(' expression ')' statement
441 // | 'do' statement 'while' '(' expression ')' ';'
442 // | 'for' '(' expression_statement expression_statement expression? ')' statemen
    [all...]
  /external/clang/docs/
ObjectiveCLiterals.html 78 The definition of <code>INT_MIN</code> is not a simple literal, but a parenthesized expression. Parenthesized
79 expressions are supported using the <a href="#objc_boxed_expressions">boxed expression</a> syntax, which is described in the next section.<p>
106 <code>@( <em>expression</em> )</code>
129 Cocoa frameworks frequently define constant values using <em>enums.</em> Although enum values are integral, they may not be used directly as boxed literals (this avoids conflicts with future <code>'@'</code>-prefixed Objective-C keywords). Instead, an enum value must be placed inside a boxed expression. The following example demonstrates configuring an <code>AVAudioRecorder</code> using a dictionary that contains a boxed enumeration value:
148 The expression <code>@(AVAudioQualityMax)</code> converts <code>AVAudioQualityMax</code> to an integer type, and boxes the value accordingly. If the enum has a <a href="http://clang.llvm.org/docs/LanguageExtensions.html#objc_fixed_enum">fixed underlying type</a> as in:
163 A C string literal prefixed by the <code>'@'</code> token denotes an <code>NSString</code> literal in the same way a numeric literal prefixed by the <code>'@'</code> token denotes an <code>NSNumber</code> literal. When the type of the parenthesized expression is <code>(char *)</code> or <code>(const char *)</code>, the result of the boxed expression is a pointer to an <code>NSString</code> object containing equivalent character data. The following example converts C-style command line arguments into <code>NSString</code> objects.
190 Objective-C now supports a new expression syntax for creating immutable array and dictionary container objects.
194 Immutable array expression:<p>
202 This creates an <code>NSArray</code> with 3 elements. The comma-separated sub-expressions of an array literal can be any Objective-C object pointer typed expression.<p
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/
XPath.java 41 * The XPath class wraps an expression object and provides general services
42 * for execution of that expression.
49 /** The top of the expression tree.
51 private Expression m_mainExp;
66 * Get the raw Expression object that this class wraps.
69 * @return the raw Expression object, which should not normally be null.
71 public Expression getExpression()
92 * Set the raw expression object for this object.
95 * @param exp the raw Expression object, which should not normally be null.
97 public void setExpression(Expression exp
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/axes/
OneStepIteratorForward.java 25 import org.apache.xpath.Expression;
48 * location path expression for this itterator.
82 * Initialize the context values for this expression
96 // * Return the first node out of the nodeset, if this expression is
97 // * a nodeset expression. This is the default implementation for
158 * @see Expression#deepEquals(Expression)
160 public boolean deepEquals(Expression expr)
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
Function.java 24 import org.apache.xpath.Expression;
41 public abstract class Function extends Expression
46 * Set an argument expression for a function. This method is called by the
49 * @param arg non-null expression that represents the argument.
55 public void setArg(Expression arg, int argNum)
126 * @see Expression#deepEquals(Expression)
128 public boolean deepEquals(Expression expr)
  /external/apache-xml/src/main/java/org/apache/xpath/patterns/
FunctionPattern.java 25 import org.apache.xpath.Expression;
42 * {@link org.apache.xpath.functions.Function expression}.
46 public FunctionPattern(Expression expr, int axis, int predaxis)
67 * Should be a {@link org.apache.xpath.functions.Function expression}.
70 Expression m_functionExpr;
223 public Expression getExpression()
230 * @see ExpressionOwner#setExpression(Expression)
232 public void setExpression(Expression exp)
  /external/clang/include/clang/Basic/
ExpressionTraits.h 1 //===- ExpressionTraits.h - C++ Expression Traits Support Enums -*- C++ -*-===//
10 // This file defines enumerations for expression traits intrinsics.
  /external/clang/test/CXX/basic/basic.def.odr/
p2-typeid.cpp 4 // An expression is potentially evaluated unless it [...] is the
5 // operand of the typeid operator and the expression does not
  /external/clang/test/CXX/except/except.spec/
p1.cpp 58 void g2(bool b) noexcept(b); // expected-error {{argument to noexcept specifier must be a constant expression}}
77 static int f() noexcept(1/X) { return 10; } // expected-error{{argument to noexcept specifier must be a constant expression}} expected-note{{division by zero}}
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p4.cpp 41 return x; // expected-error{{return type 'const X' must match previous return type 'X' when lambda expression has unspecified explicit return type}}
47 auto l1 = [] () -> Incomplete { }; // expected-error{{incomplete result type 'Incomplete' in lambda expression}}
  /external/clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/
p2-0x.cpp 13 // - a constant with literal type and is initialized with an expression
22 // - a reference and is initialized with an expression that is

Completed in 1321 milliseconds

<<11121314151617181920>>