HomeSort by relevance Sort by last modified time
    Searched refs:literal (Results 26 - 50 of 193) sorted by null

12 3 4 5 6 7 8

  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
CPPTarget.java 69 /** Converts a String into a representation that can be use as a literal
74 * @param s The String to be changed into a literal
96 /** Convert from an ANTLR char literal found in a grammar file to
97 * an equivalent char literal in the target language. For Java, this
100 * around the incoming literal.
103 public String getTargetCharLiteralFromANTLRCharLiteral( CodeGenerator codegen, String literal) {
104 int c = Grammar.getCharValueFromGrammarCharLiteral(literal);
113 /** Convert from an ANTLR string literal found in a grammar file to
114 * an equivalent string literal in the target language. For Java, this
117 * around the incoming literal
    [all...]
Perl5Target.java 45 final String literal) {
48 final int c = Grammar.getCharValueFromGrammarCharLiteral(literal);
ActionScriptTarget.java 38 String literal) {
40 int c = Grammar.getCharValueFromGrammarCharLiteral(literal);
54 // If name is a literal, return the token type instead
66 * if the int is below 255, we encode as hex literal
67 * If the int is between 255 and 0x7fff we use a single unicode literal with the value
68 * If the int is above 0x7fff, we use a unicode literal of 0x80hh, where hh is the high-order
87 System.err.println("Warning: character literal out of range for ActionScript target " + v);
RubyTarget.java 369 String literal
373 literal = literal.substring( 1, literal.length() - 1 );
375 if ( literal.charAt( 0 ) == '\\' ) {
376 switch ( literal.charAt( 1 ) ) {
380 code_point = literal.codePointAt( 1 );
398 code_point = Integer.parseInt( literal.substring( 2 ), 16 );
401 System.out.println( "1: hey you didn't account for this: \"" + literal + "\"" );
404 } else if ( literal.length() == 1 )
    [all...]
Target.java 63 * it in the target language as a literal. Useful for dumping
145 // If name is a literal, return the token type instead
152 /** Convert from an ANTLR char literal found in a grammar file to
153 * an equivalent char literal in the target language. For most
156 * the compiler. Convert the literal to the char value and then
157 * to an appropriate target char literal.
159 * Expect single quotes around the incoming literal.
163 String literal)
167 int c = Grammar.getCharValueFromGrammarCharLiteral(literal);
196 /** Convert from an ANTLR string literal found in a grammar file t
    [all...]
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
PhoneTypeChoiceRecognizerEngine.java 60 String literal = mSrec.getResult(result, Recognizer.KEY_LITERAL); local
62 String msg = "conf=" + conf + " lit=" + literal + " sem=" + semantic;
70 String literal = mSrec.getResult(0, Recognizer.KEY_LITERAL); local
72 String msg = "conf=" + conf + " lit=" + literal + " sem=" + semantic;
84 intent.putExtra(RecognizerEngine.SENTENCE_EXTRA, literal);
CommandRecognizerEngine.java 341 // for literal and semantic.
959 String literal = mSrec.getResult(result, Recognizer.KEY_LITERAL); local
    [all...]
  /external/v8/test/mjsunit/
large-object-literal.js 31 // Build object-literal string.
32 var literal = "var o = { ";
35 if (i > 0) literal += ",";
36 literal += ("a" + i + ":" + i);
38 literal += "}";
40 // Create the object literal.
41 eval(literal);
big-object-literal.js 36 // Build object-literal string.
37 var literal = "function f() { return ";
40 literal += "{a:";
43 literal += array_in_middle ? " [42.2]" : "{a:42.2}";
46 literal += "}";
48 literal += ", b:42, c:/asd/, x:'foo', y:[], z:new Object()";
52 literal += "; }";
54 // Create the object literal.
55 eval(literal);
big-array-literal.js 36 // Build object-literal string.
37 var literal = "function f() { return ";
40 literal += "[";
43 literal += array_in_middle ? " [42.2]" : "{a:42.2}";
46 literal += "]";
49 literal += "; }";
51 // Create the object literal.
52 eval(literal);
  /external/v8/test/mjsunit/regress/
regress-117409.js 32 // Create literal with a fast double elements backing store
33 var literal = [1.2]; variable
36 KeyedStoreIC(literal);
37 KeyedStoreIC(literal);
41 literal.length = 0;
46 literal.push(Math.E, Math.E);
49 KeyedStoreIC(literal);
regress-128018.js 31 var literal = [1.2]; variable
32 literal.length = 0;
33 literal.push('0' && 0 );
34 KeyedStoreIC(literal);
regress-1423.js 34 return f1('literal', true);
42 // undefined, 'literal', and false. Bug 1423 would cause environment
49 if (f3(x, 'other-literal')) {
  /external/dexmaker/src/dx/java/com/android/dx/io/instructions/
InstructionCodec.java 49 int literal = byte1(opcodeUnit); // should be zero local
52 0, literal);
84 int literal = (nibble3(opcodeUnit) << 28) >> 28; // sign-extend local
87 0, literal,
136 int literal = byte1(opcodeUnit); // should be zero local
140 baseAddress + target, literal);
152 // Note: We use the literal field to hold the decoded AA value.
154 int literal = byte1(opcodeUnit); local
158 0, literal);
211 int literal = (short) in.read(); // sign-exten local
230 long literal = (short) in.read(); \/\/ sign-extend local
249 short literal = (short) (insn.getLiteral() >> shift); local
251 out.write(codeUnit(opcode, insn.getA()), literal); local
303 int literal = (byte) byte1(bc); \/\/ sign-extend local
347 int literal = (short) in.read(); \/\/ sign-extend local
410 int literal = byte1(opcodeUnit); \/\/ should be zero local
428 int literal = byte1(opcodeUnit); \/\/ should be zero local
447 int literal = in.readInt(); local
455 int literal = insn.getLiteralInt(); local
590 long literal = in.readLong(); local
598 long literal = insn.getLiteral(); local
635 int literal = (short) in.read(); \/\/ sign-extend local
655 int literal = in.read(); local
    [all...]
  /external/bison/lib/
isnan.c 49 # define L_(literal) literal##L
61 # define L_(literal) literal
73 # define L_(literal) literal##f
printf-frexp.c 50 # define L_(literal) literal##L
63 # define L_(literal) literal
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
AssignTokenTypesBehavior.java 93 // otherwise add literal to token types if referenced from parser rule
138 // look for "<TOKEN> : <literal> ;" pattern
164 String literal = s.getText(); local
165 String prevAliasLiteralID = aliasesReverseIndex.get(literal);
166 if ( prevAliasLiteralID!=null ) { // we've seen this literal before
181 tokenID+"="+literal,
186 int existingLiteralType = grammar.getTokenType(literal);
197 tokenID+"="+literal,
201 aliases.put(tokenID, literal);
202 aliasesReverseIndex.put(literal, tokenID)
275 String literal = (String)aliases.get(tokenID); local
    [all...]
  /dalvik/dx/src/com/android/dx/io/instructions/
InstructionCodec.java 49 int literal = byte1(opcodeUnit); // should be zero local
52 0, literal);
84 int literal = (nibble3(opcodeUnit) << 28) >> 28; // sign-extend local
87 0, literal,
136 int literal = byte1(opcodeUnit); // should be zero local
140 baseAddress + target, literal);
152 // Note: We use the literal field to hold the decoded AA value.
154 int literal = byte1(opcodeUnit); local
158 0, literal);
211 int literal = (short) in.read(); // sign-exten local
230 long literal = (short) in.read(); \/\/ sign-extend local
249 short literal = (short) (insn.getLiteral() >> shift); local
251 out.write(codeUnit(opcode, insn.getA()), literal); local
303 int literal = (byte) byte1(bc); \/\/ sign-extend local
347 int literal = (short) in.read(); \/\/ sign-extend local
410 int literal = byte1(opcodeUnit); \/\/ should be zero local
428 int literal = byte1(opcodeUnit); \/\/ should be zero local
447 int literal = in.readInt(); local
455 int literal = insn.getLiteralInt(); local
590 long literal = in.readLong(); local
598 long literal = insn.getLiteral(); local
    [all...]
  /dalvik/vm/
Intern.cpp 80 * Check the literal table for a match.
82 StringObject* literal = lookupString(gDvm.literalStrings, key, strObj); local
83 if (literal != NULL) {
85 * A match was found in the literal table, the easy case.
87 found = literal;
90 * There is no match in the literal table, check the
97 * matching string to the literal table.
104 * No match in the literal table or the interned
105 * table. Insert into the literal table.
113 * Check the literal table for a match
    [all...]
  /frameworks/base/libs/androidfw/
Keyboard.cpp 171 static int lookupValueByLabel(const char* literal, const KeycodeLabel *list) {
172 while (list->literal) {
173 if (strcmp(literal, list->literal) == 0) {
182 while (list->literal) {
184 return list->literal;
  /external/v8/test/mjsunit/compiler/
literals-optimized.js 40 // Test shallow array literal.
56 // Test nested array literal.
76 // Test shallow object literal.
90 // Test nested object literal.
106 // Test mixed array and object literal.
short-circuit.js 50 // An object literal in value context.
53 // An object literal in value/test context.
56 // An object literal in test/value context.
59 // An array literal in value/test context.
62 // An array literal in test/value context.
  /external/srec/srec/crec/
text_parser.c 123 char* literal, size_t max_literal_len)
151 strcpy(literal, copy_of_transcription);
181 strcpy(literal, copy_of_transcription);
193 char* literal, size_t max_literal_len)
202 return FST_CheckPath_Complex(context, mytranscription, literal, max_literal_len);
  /external/icu4c/common/
uniset_props.cpp 483 UBool literal = FALSE; local
505 c = chars.next(opts, literal, ec);
508 if (c == 0x5B /*'['*/ && !literal) {
517 c = chars.next(opts, literal, ec);
519 if (c == 0x5E /*'^'*/ && !literal) {
523 c = chars.next(opts, literal, ec);
529 literal = TRUE;
530 // Fall through to handle literal '-' below
633 if (!literal) {
640 // Treat final trailing '-' as a literal
1163 UBool result = FALSE, literal; local
    [all...]
  /external/llvm/test/MC/ARM/
arm-memory-instructions.s 27 @ FIXME: LDR (literal)
320 @ FIXME: STR (literal)
361 @ FIXME: STRB (literal)

Completed in 1206 milliseconds

12 3 4 5 6 7 8