Searched defs:literal (Results 1 - 25 of 61) sorted by relevance

123

/external/v8/test/mjsunit/regress/
H A Dregress-117409.js32 // 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);
H A Dregress-128018.js31 var literal = [1.2]; variable
32 literal.length = 0;
33 literal.push('0' && 0 );
34 KeyedStoreIC(literal);
/external/v8/test/mjsunit/third_party/
H A Dobject-keys.js62 var literal = {a: 1, b: 2, c: 3};
63 var keysBefore = Object.keys(literal);
66 var keysAfter = Object.keys(literal);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DPerl5Target.java45 final String literal) {
48 final int c = Grammar.getCharValueFromGrammarCharLiteral(literal);
44 getTargetCharLiteralFromANTLRCharLiteral(final CodeGenerator generator, final String literal) argument
H A DPythonTarget.java56 // If name is a literal, return the token type instead
66 String literal) {
67 int c = Grammar.getCharValueFromGrammarCharLiteral(literal);
64 getTargetCharLiteralFromANTLRCharLiteral( CodeGenerator generator, String literal) argument
H A DCPPTarget.java69 /** 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) { argument
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
120 getTargetStringLiteralFromANTLRStringLiteral( CodeGenerator codegen, String literal) argument
[all...]
H A DDelphiTarget.java71 String literal)
74 int c = Grammar.getCharValueFromGrammarCharLiteral(literal);
118 String literal)
120 literal = Utils.replace(literal,"\\\'","''"); // \' to ' to normalize
121 literal = Utils.replace(literal,"\\r\\n","'#13#10'");
122 literal = Utils.replace(literal,"\\r","'#13'");
123 literal
69 getTargetCharLiteralFromANTLRCharLiteral( CodeGenerator generator, String literal) argument
116 getTargetStringLiteralFromANTLRStringLiteral( CodeGenerator generator, String literal) argument
[all...]
H A DObjCTarget.java50 String literal)
52 if (literal.startsWith("'\\u") ) {
53 literal = "0x" +literal.substring(3, 7);
55 int c = literal.charAt(1); // TJP
57 literal = "0x" + Integer.toHexString(c);
61 return literal;
64 /** Convert from an ANTLR string literal found in a grammar file to
65 * an equivalent string literal in the target language. For Java, this
67 * around the incoming literal
49 getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator generator, String literal) argument
70 getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator generator, String literal) argument
[all...]
H A DActionScriptTarget.java38 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);
36 getTargetCharLiteralFromANTLRCharLiteral( CodeGenerator generator, String literal) argument
H A DCTarget.java168 String literal) {
170 if (literal.startsWith("'\\u")) {
171 literal = "0x" + literal.substring(3, 7);
173 int c = literal.charAt(1);
176 literal = "0x" + Integer.toHexString(c);
180 return literal;
183 /** Convert from an ANTLR string literal found in a grammar file to
184 * an equivalent string literal in the C target.
194 String literal) {
166 getTargetCharLiteralFromANTLRCharLiteral( CodeGenerator generator, String literal) argument
192 getTargetStringLiteralFromANTLRStringLiteral( CodeGenerator generator, String literal) argument
[all...]
H A DTarget.java63 * 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 foun
161 getTargetCharLiteralFromANTLRCharLiteral( CodeGenerator generator, String literal) argument
207 getTargetStringLiteralFromANTLRStringLiteral( CodeGenerator generator, String literal) argument
[all...]
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
H A DZeroRegisterDecodedInstruction.java29 int index, IndexType indexType, int target, long literal) {
30 super(format, opcode, index, indexType, target, literal);
28 ZeroRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal) argument
H A DOneRegisterDecodedInstruction.java32 int index, IndexType indexType, int target, long literal,
34 super(format, opcode, index, indexType, target, literal);
31 OneRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a) argument
H A DRegisterRangeDecodedInstruction.java36 int index, IndexType indexType, int target, long literal,
38 super(format, opcode, index, indexType, target, literal);
35 RegisterRangeDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int registerCount) argument
H A DTwoRegisterDecodedInstruction.java35 int index, IndexType indexType, int target, long literal,
37 super(format, opcode, index, indexType, target, literal);
34 TwoRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b) argument
H A DFiveRegisterDecodedInstruction.java44 int index, IndexType indexType, int target, long literal,
46 super(format, opcode, index, indexType, target, literal);
43 FiveRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c, int d, int e) argument
H A DFourRegisterDecodedInstruction.java41 int index, IndexType indexType, int target, long literal,
43 super(format, opcode, index, indexType, target, literal);
40 FourRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c, int d) argument
H A DThreeRegisterDecodedInstruction.java38 int index, IndexType indexType, int target, long literal,
40 super(format, opcode, index, indexType, target, literal);
37 ThreeRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c) argument
H A DDecodedInstruction.java60 * literal value argument; also used for special verification error
64 private final long literal; field in class:DecodedInstruction
102 int index, IndexType indexType, int target, long literal) {
116 this.literal = literal;
196 return literal;
200 * Gets the literal value, masked to be an int in size. This will
204 if (literal != (int) literal) {
205 throw new DexException("Literal out of range: " + Hex.u8(literal));
101 DecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal) argument
[all...]
/external/dbus/tools/
H A Ddbus-print-message.c146 print_iter (DBusMessageIter *iter, dbus_bool_t literal, int depth) argument
163 if (!literal)
166 if (!literal)
175 if (!literal)
178 if (!literal)
187 if (!literal)
190 if (!literal)
282 print_iter (&subiter, literal, depth+1);
303 print_iter (&subiter, literal, depth+1);
322 print_iter (&subiter, literal, dept
358 print_message(DBusMessage *message, dbus_bool_t literal) argument
[all...]
/external/astl/tests/
H A Dtest_string.cpp57 const char literal[] = "scott mills cracks me up"; local
58 string str1(literal);
59 EXPECT_TRUE(strcmp(literal, str1.c_str()) == 0);
61 string str2(literal, 11);
64 string str3(literal, sizeof(literal));
65 EXPECT_TRUE(strcmp(literal, str3.c_str()) == 0);
68 string str4(literal, sizeof(literal) + 1);
69 EXPECT_TRUE(str4.size() == sizeof(literal)
[all...]
/external/srec/srec/Recognizer/src/
H A DRecognizerResultImpl.c243 LCHAR literal[256]; local
248 len = sizeof(literal) / sizeof(LCHAR);
249 CHKLOG(rc, semanticResult->getValue(semanticResult, "literal", (LCHAR*) &literal, &len));
/external/srec/srec/crec/
H A Dtext_parser.c123 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);
122 FST_CheckPath_Complex(srec_context* context, const char* transcription, char* literal, size_t max_literal_len) argument
192 FST_CheckPath(srec_context* context, const char* transcription, char* literal, size_t max_literal_len) argument
/external/chromium/chrome/browser/history/
H A Dquery_parser.cc77 void set_literal(bool literal) { literal_ = literal; } argument
118 // Use prefix search if we're not literal and long enough.
/external/grub/stage2/
H A Dstage2.c767 int pos = 0, literal = 0, comment = 0; local
792 if (literal)
804 literal = 0;
808 if (c == '\\' && ! literal)
809 literal = 1;

Completed in 594 milliseconds

123