/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
D | DecodedInstruction.java | 64 private final long literal; field in DecodedInstruction 102 int index, IndexType indexType, int target, long literal) { in DecodedInstruction() argument 116 this.literal = literal; in DecodedInstruction() 196 return literal; in getLiteral() 204 if (literal != (int) literal) { in getLiteralInt() 205 throw new DexException("Literal out of range: " + Hex.u8(literal)); in getLiteralInt() 208 return (int) literal; in getLiteralInt() 216 if (literal != (short) literal) { in getLiteralUnit() 217 throw new DexException("Literal out of range: " + Hex.u8(literal)); in getLiteralUnit() 220 return (short) literal; in getLiteralUnit() [all …]
|
D | InstructionCodec.java | 49 int literal = byte1(opcodeUnit); // should be zero in FORMAT_10X() local 52 0, literal); in FORMAT_10X() 84 int literal = (nibble3(opcodeUnit) << 28) >> 28; // sign-extend in FORMAT_11N() local 87 0, literal, in FORMAT_11N() 136 int literal = byte1(opcodeUnit); // should be zero in FORMAT_20T() local 140 baseAddress + target, literal); in FORMAT_20T() 154 int literal = byte1(opcodeUnit); in FORMAT_20BC() local 158 0, literal); in FORMAT_20BC() 211 int literal = (short) in.read(); // sign-extend in FORMAT_21S() local 214 0, literal, in FORMAT_21S() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | ObjCTarget.java | 50 String literal) in getTargetCharLiteralFromANTLRCharLiteral() argument 52 if (literal.startsWith("'\\u") ) { in getTargetCharLiteralFromANTLRCharLiteral() 53 literal = "0x" +literal.substring(3, 7); in getTargetCharLiteralFromANTLRCharLiteral() 55 int c = literal.charAt(1); // TJP in getTargetCharLiteralFromANTLRCharLiteral() 57 literal = "0x" + Integer.toHexString(c); in getTargetCharLiteralFromANTLRCharLiteral() 61 return literal; in getTargetCharLiteralFromANTLRCharLiteral() 71 String literal) in getTargetStringLiteralFromANTLRStringLiteral() argument 73 literal = Utils.replace(literal,"\"","\\\""); in getTargetStringLiteralFromANTLRStringLiteral() 74 StringBuffer buf = new StringBuffer(literal); in getTargetStringLiteralFromANTLRStringLiteral() 76 buf.setCharAt(literal.length()-1,'"'); in getTargetStringLiteralFromANTLRStringLiteral()
|
D | DelphiTarget.java | 71 String literal) in getTargetCharLiteralFromANTLRCharLiteral() argument 74 int c = Grammar.getCharValueFromGrammarCharLiteral(literal); in getTargetCharLiteralFromANTLRCharLiteral() 118 String literal) in getTargetStringLiteralFromANTLRStringLiteral() argument 120 literal = Utils.replace(literal,"\\\'","''"); // \' to ' to normalize in getTargetStringLiteralFromANTLRStringLiteral() 121 literal = Utils.replace(literal,"\\r\\n","'#13#10'"); in getTargetStringLiteralFromANTLRStringLiteral() 122 literal = Utils.replace(literal,"\\r","'#13'"); in getTargetStringLiteralFromANTLRStringLiteral() 123 literal = Utils.replace(literal,"\\n","'#10'"); in getTargetStringLiteralFromANTLRStringLiteral() 124 StringBuffer buf = new StringBuffer(literal); in getTargetStringLiteralFromANTLRStringLiteral() 126 buf.setCharAt(literal.length()-1,'\''); in getTargetStringLiteralFromANTLRStringLiteral()
|
D | CTarget.java | 168 String literal) { in getTargetCharLiteralFromANTLRCharLiteral() argument 170 if (literal.startsWith("'\\u")) { in getTargetCharLiteralFromANTLRCharLiteral() 171 literal = "0x" + literal.substring(3, 7); in getTargetCharLiteralFromANTLRCharLiteral() 173 int c = literal.charAt(1); in getTargetCharLiteralFromANTLRCharLiteral() 176 literal = "0x" + Integer.toHexString(c); in getTargetCharLiteralFromANTLRCharLiteral() 180 return literal; in getTargetCharLiteralFromANTLRCharLiteral() 194 String literal) { in getTargetStringLiteralFromANTLRStringLiteral() argument 205 for (int i = 1; i < literal.length() - 1; i++) { in getTargetStringLiteralFromANTLRStringLiteral() 208 if (literal.charAt(i) == '\\') { in getTargetStringLiteralFromANTLRStringLiteral() 211 switch (literal.charAt(i)) { in getTargetStringLiteralFromANTLRStringLiteral() [all …]
|
D | RubyTarget.java | 369 String literal in getTargetCharLiteralFromANTLRCharLiteral() argument 373 literal = literal.substring( 1, literal.length() - 1 ); in getTargetCharLiteralFromANTLRCharLiteral() 375 if ( literal.charAt( 0 ) == '\\' ) { in getTargetCharLiteralFromANTLRCharLiteral() 376 switch ( literal.charAt( 1 ) ) { in getTargetCharLiteralFromANTLRCharLiteral() 380 code_point = literal.codePointAt( 1 ); in getTargetCharLiteralFromANTLRCharLiteral() 398 code_point = Integer.parseInt( literal.substring( 2 ), 16 ); in getTargetCharLiteralFromANTLRCharLiteral() 401 System.out.println( "1: hey you didn't account for this: \"" + literal + "\"" ); in getTargetCharLiteralFromANTLRCharLiteral() 404 } else if ( literal.length() == 1 ) { in getTargetCharLiteralFromANTLRCharLiteral() 405 code_point = literal.codePointAt( 0 ); in getTargetCharLiteralFromANTLRCharLiteral() 407 System.out.println( "2: hey you didn't account for this: \"" + literal + "\"" ); in getTargetCharLiteralFromANTLRCharLiteral()
|
D | CPPTarget.java | 103 public String getTargetCharLiteralFromANTLRCharLiteral( CodeGenerator codegen, String literal) { in getTargetCharLiteralFromANTLRCharLiteral() argument 104 int c = Grammar.getCharValueFromGrammarCharLiteral(literal); in getTargetCharLiteralFromANTLRCharLiteral() 120 …public String getTargetStringLiteralFromANTLRStringLiteral( CodeGenerator codegen, String literal)… in getTargetStringLiteralFromANTLRStringLiteral() argument 121 StringBuffer buf = Grammar.getUnescapedStringFromGrammarStringLiteral(literal); in getTargetStringLiteralFromANTLRStringLiteral()
|
/external/clang/test/SemaObjC/ |
D | objc-literal-comparison.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wno-everything -Wobjc-literal-compare "-Dnil=((id)0)" -verify %s 2 // RUN: %clang_cc1 -fsyntax-only -Wno-everything -Wobjc-literal-compare "-Dnil=(id)0" -verify %s 3 // RUN: %clang_cc1 -fsyntax-only -Wno-everything -Wobjc-literal-compare "-Dnil=0" -verify %s 5 // RUN: %clang_cc1 -fsyntax-only -Wno-everything -Wobjc-literal-compare -fobjc-arc "-Dnil=((id)0)" … 6 // RUN: %clang_cc1 -fsyntax-only -Wno-everything -Wobjc-literal-compare -fobjc-arc "-Dnil=(id)0" -v… 7 // RUN: %clang_cc1 -fsyntax-only -Wno-everything -Wobjc-literal-compare -fobjc-arc "-Dnil=0" -verif… 39 …if (obj == @"") return; // expected-warning{{direct comparison of a string literal has undefined b… 40 …if (obj != @"") return; // expected-warning{{direct comparison of a string literal has undefined b… 41 …if (@"" == obj) return; // expected-warning{{direct comparison of a string literal has undefined b… 42 …if (@"" == @"") return; // expected-warning{{direct comparison of a string literal has undefined b… [all …]
|
D | objc-literal-sig.m | 43 …(void)@__objc_yes; // expected-error{{literal construction method 'numberWithBool:' has incompatib… 44 …(void)@__objc_yes; // expected-error{{literal construction method 'numberWithBool:' has incompatib… 45 …id array = @[ @17 ]; // expected-error{{literal construction method 'arrayWithObjects:count:' has … 46 …id array2 = @[ @17 ]; // expected-error{{literal construction method 'arrayWithObjects:count:' has… 47 …id dict = @{ @"hello" : @17 }; // expected-error{{literal construction method 'dictionaryWithObjec… 48 …id dict2 = @{ @"hello" : @17 }; // expected-error{{literal construction method 'dictionaryWithObje… 49 …id str = @("hello"); // expected-error{{literal construction method 'stringWithUTF8String:' has in… 50 …id str2 = @("hello"); // expected-error{{literal construction method 'stringWithUTF8String:' has i…
|
/external/v8/test/mjsunit/regress/ |
D | regress-117409.js | 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);
|
D | regress-128018.js | 31 var literal = [1.2]; variable 32 literal.length = 0; 33 literal.push('0' && 0 ); 34 KeyedStoreIC(literal);
|
/external/llvm/test/CodeGen/R600/ |
D | literals.ll | 3 ; Test using an integer literal constant. 5 ; ADD_INT REG literal.x, 5 7 ; ADD_INT literal.x REG, 5 10 ; CHECK: ADD_INT {{[A-Z0-9,. ]*}}literal.x,{{[A-Z0-9,. ]*}} 5 18 ; Test using a float literal constant. 20 ; ADD REG literal.x, 5.0 22 ; ADD literal.x REG, 5.0 25 ; CHECK: ADD {{[A-Z0-9,. ]*}}literal.x,{{[A-Z0-9,. ]*}} {{[0-9]+}}(5.0
|
D | set-dx10.ll | 8 ; CHECK: SETNE_DX10 T{{[0-9]+\.[XYZW]}}, T{{[0-9]+\.[XYZW]}}, literal.x, 1084227584(5.000000e+00) 20 ; CHECK: SETNE_DX10 T{{[0-9]+\.[XYZW]}}, T{{[0-9]+\.[XYZW]}}, literal.x, 1084227584(5.000000e+00) 30 ; CHECK: SETE_DX10 T{{[0-9]+\.[XYZW]}}, T{{[0-9]+\.[XYZW]}}, literal.x, 1084227584(5.000000e+00) 42 ; CHECK: SETE_DX10 T{{[0-9]+\.[XYZW]}}, T{{[0-9]+\.[XYZW]}}, literal.x, 1084227584(5.000000e+00) 52 ; CHECK: SETGT_DX10 T{{[0-9]+\.[XYZW]}}, T{{[0-9]+\.[XYZW]}}, literal.x, 1084227584(5.000000e+00) 64 ; CHECK: SETGT_DX10 T{{[0-9]+\.[XYZW]}}, T{{[0-9]+\.[XYZW]}}, literal.x, 1084227584(5.000000e+00) 74 ; CHECK: SETGE_DX10 T{{[0-9]+\.[XYZW]}}, T{{[0-9]+\.[XYZW]}}, literal.x, 1084227584(5.000000e+00) 86 ; CHECK: SETGE_DX10 T{{[0-9]+\.[XYZW]}}, T{{[0-9]+\.[XYZW]}}, literal.x, 1084227584(5.000000e+00) 96 ; CHECK: SETGE_DX10 T{{[0-9]+\.[XYZW]}}, literal.x, T{{[0-9]+\.[XYZW]}}, 1084227584(5.000000e+00) 108 ; CHECK: SETGE_DX10 T{{[0-9]+\.[XYZW]}}, literal.x, T{{[0-9]+\.[XYZW]}}, 1084227584(5.000000e+00) [all …]
|
D | unsupported-cc.ll | 6 ; CHECK: SETGT_INT T{{[0-9]+\.[XYZW]}}, literal.x, {{T[0-9]+\.[XYZW]}}, 5(7.006492e-45) 16 ; CHECK: SETGT_UINT T{{[0-9]+\.[XYZW]}}, literal.x, {{T[0-9]+\.[XYZW]}}, 5(7.006492e-45) 26 ; CHECK: SETGT T{{[0-9]+\.[XYZW]}}, literal.x, {{T[0-9]+\.[XYZW]}}, 1084227584(5.000000e+00) 36 ; CHECK: SETGT T{{[0-9]+\.[XYZW]}}, literal.x, {{T[0-9]+\.[XYZW]}}, 1084227584(5.000000e+00) 46 ; CHECK: SETGT_INT T{{[0-9]+\.[XYZW]}}, literal.x, {{T[0-9]+\.[XYZW]}}, 6(8.407791e-45) 56 ; CHECK: SETGT_UINT T{{[0-9]+\.[XYZW]}}, literal.x, {{T[0-9]+\.[XYZW]}}, 6(8.407791e-45) 66 ; CHECK: SETGE T{{[0-9]+\.[XYZW]}}, literal.x, {{T[0-9]+\.[XYZW]}}, 1084227584(5.000000e+00) 76 ; CHECK: SETGE T{{[0-9]+\.[XYZW]}}, literal.x, {{T[0-9]+\.[XYZW]}}, 1084227584(5.000000e+00)
|
/external/v8/test/mjsunit/ |
D | big-object-literal.js | 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 += "; }"; 55 eval(literal);
|
D | big-array-literal.js | 37 var literal = "function f() { return "; 40 literal += "["; 43 literal += array_in_middle ? " [42.2]" : "{a:42.2}"; 46 literal += "]"; 49 literal += "; }"; 52 eval(literal);
|
D | large-object-literal.js | 32 var literal = "var o = { "; 35 if (i > 0) literal += ","; 36 literal += ("a" + i + ":" + i); 38 literal += "}"; 41 eval(literal);
|
D | object-literal-gc.js | 36 var literal = "var o = { "; 39 if (i > 0) literal += ","; 40 literal += ("a" + i + ":" + i); 42 literal += "}"; 45 eval(literal);
|
/external/v8/src/ |
D | preparse-data.h | 55 virtual void LogAsciiSymbol(int start, Vector<const char> literal) { } in LogAsciiSymbol() argument 56 virtual void LogUtf16Symbol(int start, Vector<const uc16> literal) { } in LogUtf16Symbol() argument 151 virtual void LogAsciiSymbol(int start, Vector<const char> literal) { } in LogAsciiSymbol() argument 152 virtual void LogUtf16Symbol(int start, Vector<const uc16> literal) { } in LogUtf16Symbol() argument 168 virtual void LogAsciiSymbol(int start, Vector<const char> literal) { in LogAsciiSymbol() argument 170 int hash = vector_hash(literal); in LogAsciiSymbol() 171 LogSymbol(start, hash, true, Vector<const byte>::cast(literal)); in LogAsciiSymbol() 174 virtual void LogUtf16Symbol(int start, Vector<const uc16> literal) { in LogUtf16Symbol() argument 176 int hash = vector_hash(literal); in LogUtf16Symbol() 177 LogSymbol(start, hash, false, Vector<const byte>::cast(literal)); in LogUtf16Symbol() [all …]
|
/external/webkit/Source/WebKit2/WebProcess/ |
D | com.apple.WebProcess.sb | 27 (literal "/Library/Preferences/.GlobalPreferences.plist") 28 (literal "/Library/Preferences/com.apple.crypto.plist") 29 (literal "/Library/Preferences/com.apple.security.plist") 30 (literal "/Library/Preferences/com.apple.security.common.plist") 31 (literal "/Library/Preferences/com.apple.security.revocation.plist") 32 (literal (string-append (param "HOME_DIR") "/Library/Preferences/.GlobalPreferences.plist")) 34 (literal (string-append (param "HOME_DIR") "/Library/Preferences/com.apple.ATS.plist")) 35 (literal (string-append (param "HOME_DIR") "/Library/Preferences/com.apple.HIToolbox.plist")) 36 … (literal (string-append (param "HOME_DIR") "/Library/Preferences/com.apple.LaunchServices.plist")) 37 … (literal (string-append (param "HOME_DIR") "/Library/Preferences/com.apple.WebFoundation.plist")) [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | AssignTokenTypesBehavior.java | 164 String literal = s.getText(); in alias() local 165 String prevAliasLiteralID = aliasesReverseIndex.get(literal); in alias() 181 tokenID+"="+literal, in alias() 186 int existingLiteralType = grammar.getTokenType(literal); in alias() 197 tokenID+"="+literal, in alias() 201 aliases.put(tokenID, literal); in alias() 202 aliasesReverseIndex.put(literal, tokenID); in alias() 275 String literal = (String)aliases.get(tokenID); in aliasTokenIDsAndLiterals() local 276 if ( literal.charAt(0)=='\'' && stringLiterals.get(literal)!=null ) { in aliasTokenIDsAndLiterals() 277 stringLiterals.put(literal, tokens.get(tokenID)); in aliasTokenIDsAndLiterals() [all …]
|
/external/bison/lib/ |
D | isnan.c | 49 # define L_(literal) literal##L argument 61 # define L_(literal) literal argument 73 # define L_(literal) literal##f argument
|
D | frexp.c | 46 # define L_(literal) literal##L argument 54 # define L_(literal) literal argument
|
/external/clang/test/Parser/ |
D | cxx0x-literal-operators.cpp | 5 expected-error {{string literal after 'operator' must be '""'}} \ 6 expected-warning{{user-defined literal suffixes not starting with '_' are reserved}} 8 expected-warning{{user-defined literal suffixes not starting with '_' are reserved}}
|
/external/openssh/ |
D | mdoc2man.awk | 36 literal=0 62 if(literal) 92 if(match(words[w+1],"-literal")) {
|