/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
CodeGenTreeWalker.g | 13 1. Redistributions of source code must retain the above copyright 33 /** Walk a grammar and generate code by gradually building up 375 if ( $rST.code != null ) 377 recognizerST.add("rules", $rST.code); 378 outputFileST.add("rules", $rST.code); 379 headerFileST.add("rules", $rST.code); 396 rule returns [ST code=null] 409 // For syn preds, we don't want any AST code etc... in there. 435 $b.code.add("description", description); 461 $code = templates.getInstanceOf(stName) [all...] |
/external/kernel-headers/original/linux/ |
filter.h | 17 * Current version of the filter code architecture. 24 * the BPF code definitions which need to match so you can share filters 28 __u16 code; /* Actual filter code */ member in struct:sock_filter 43 #define BPF_CLASS(code) ((code) & 0x07) 54 #define BPF_SIZE(code) ((code) & 0x18) 58 #define BPF_MODE(code) ((code) & 0xe0 [all...] |
/external/libpcap/ |
pcap-bpf.h | 5 * This code is derived from the Stanford/CMU enet packet filter, 6 * (net/enet.c) distributed as part of 4.3BSD, and code contributed 13 * 1. Redistributions of source code must retain the above copyright 45 * the stuff needed for the code generator and the userland BPF 103 * It has nothing to do with the source code version. 749 #define BPF_CLASS(code) ((code) & 0x07) 760 #define BPF_SIZE(code) ((code) & 0x18) 764 #define BPF_MODE(code) ((code) & 0xe0 805 u_short code; member in struct:bpf_insn [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowUriMatcher.java | 17 public int code = UriMatcher.NO_MATCH; field in class:ShadowUriMatcher.MatchNode 22 public MatchNode(int code) { 23 this.code = code; 29 public void __constructor__(int code) { 30 rootNode = new MatchNode(code); 34 public void addURI(String authority, String path, int code) { 37 authNode = new MatchNode(rootNode.code); 42 addNodes(authNode, Arrays.asList(segments), code); 51 return rootNode.code; [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
vlc_encode.cpp | 151 uint code, len; local 163 code = ((TotalCoeff - 1) << 2) | (TrailingOnes); 167 code = 3; 169 status = BitstreamWriteBits(stream, 6, code); 187 code = totCoeffTrailOne[vlcnum][TrailingOnes][TotalCoeff][1]; 188 status = BitstreamWriteBits(stream, len, code); 205 uint code, len; local 208 code = totCoeffTrailOneChrom[TrailingOnes][TotalCoeff][1]; 209 status = BitstreamWriteBits(stream, len, code); 254 int len, code; local 282 int len, code; local 318 int len, code; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
bitstream.h | 39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code); 45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code); 46 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code); 47 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code); 51 __inline PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) 62 *code = stream->curr_word >> (32 - nbits); 69 __inline PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) 78 *code = stream->curr_word >> 17; 83 __inline PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) 92 *code = stream->curr_word >> 19 97 uint code; local 112 uint code; local [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
generate.sh | 61 * Static utility methods pertaining to {@code primtyp} primitives, that are not 72 * The number of bytes required to represent a primitive {@code primtyp} 78 * Returns a hash code for {@code value}; equal to the result of invoking 79 * {@code ((WrapperCl) value).hashCode()}. 81 * @param value a primitive {@code primtyp} value 82 * @return a hash code for the value 89 * Returns the {@code primtyp} value that is equal to {@code value}, if 92 * @param value any value in the range of the {@code primtyp} typ [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
HelloWorldMaker.java | 20 import com.google.dexmaker.Code; 45 // Execute our newly-generated code in-process. 68 // Declare that method on the dexMaker. Use the returned Code instance 70 Code code = dexMaker.declare(hello, Modifier.STATIC | Modifier.PUBLIC); local 73 Local<Integer> a = code.newLocal(TypeId.INT); 74 Local<Integer> b = code.newLocal(TypeId.INT); 75 Local<Integer> c = code.newLocal(TypeId.INT); 76 Local<String> s = code.newLocal(TypeId.STRING); 77 Local<PrintStream> localSystemOut = code.newLocal(printStreamType) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
cbsearch.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 67 code[] -- array of type Word16 -- Innovative codebook, Q13 101 PSEUDO-CODE 107 When the code is written for a specific target processor the 181 ; FUNCTION CODE 192 Word16 code[], /* o : Innovative codebook, Q13 */ 219 code, 234 code, 249 code, 264 code, [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.badexp/ |
regex_error.pass.cpp | 18 // regex_constants::error_type code() const; 28 assert(e.code() == std::regex_constants::error_collate); 33 assert(e.code() == std::regex_constants::error_ctype); 38 assert(e.code() == std::regex_constants::error_escape); 44 assert(e.code() == std::regex_constants::error_backref); 49 assert(e.code() == std::regex_constants::error_brack); 54 assert(e.code() == std::regex_constants::error_paren); 59 assert(e.code() == std::regex_constants::error_brace); 64 assert(e.code() == std::regex_constants::error_badbrace); 69 assert(e.code() == std::regex_constants::error_range) [all...] |
/external/chromium_org/v8/test/webkit/ |
dfg-dead-variable-on-exit.js | 7 // 1. Redistributions of source code must retain the above copyright 31 var code = ""; 32 code += "(function("; 35 code += ", "; 36 code += "arg" + j; 38 code += ") {\n"; 39 code += " return "; 43 code += " + "; 44 code += "arg" + j; 47 code += "void 0" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
copy_reg.py | 57 # Python code for object.__reduce_ex__ for protocols 0 and 1 145 # if it is a registered extension code for it. Extension codes are 151 _extension_registry = {} # key -> code 152 _inverted_registry = {} # code -> key 153 _extension_cache = {} # code -> object 157 def add_extension(module, name, code): 158 """Register an extension code.""" 159 code = int(code) 160 if not 1 <= code <= 0x7fffffff [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
copy_reg.py | 57 # Python code for object.__reduce_ex__ for protocols 0 and 1 145 # if it is a registered extension code for it. Extension codes are 151 _extension_registry = {} # key -> code 152 _inverted_registry = {} # code -> key 153 _extension_cache = {} # code -> object 157 def add_extension(module, name, code): 158 """Register an extension code.""" 159 code = int(code) 160 if not 1 <= code <= 0x7fffffff [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
signed_settings_helper.h | 2 // Use of this source code is governed by a BSD-style license that can be 30 SignedSettings::ReturnCode code, 35 SignedSettings::ReturnCode code, const std::string& email) {} 39 SignedSettings::ReturnCode code, const std::string& email) {} 43 SignedSettings::ReturnCode code, 49 SignedSettings::ReturnCode code, 55 SignedSettings::ReturnCode code) {} 59 SignedSettings::ReturnCode code,
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/ |
GoogleServiceAuthError.java | 2 // Use of this source code is governed by a BSD-style license that can be 60 State(int code, int message) { 61 mCode = code; 65 public static State fromCode(int code) { 67 if (state.mCode == code) { 71 throw new IllegalArgumentException("No state for code: " + code); 81 GoogleServiceAuthError(int code) { 82 mState = State.fromCode(code);
|
/external/chromium_org/chrome/common/translate/ |
language_detection_util.cc | 2 // Use of this source code is governed by a BSD-style license that can be 19 // Similar language code list. Some languages are very similar and difficult 22 const char* const code; member in struct:__anon9193::SimilarLanguageCode 33 // Checks |kSimilarLanguageCodes| and returns group code. 36 if (language.find(kSimilarLanguageCodes[i].code) != 0) 51 // Applies a series of language code modification in proper order. 52 void ApplyLanguageCodeCorrection(std::string* code) { 54 LanguageDetectionUtil::CorrectLanguageCodeTypo(code); 56 if (!LanguageDetectionUtil::IsValidLanguageCode(*code)) { 57 *code = std::string() [all...] |
/external/llvm/lib/Support/ |
regerror.c | 2 * This code is derived from OpenBSD's libc/regex, original license follows: 8 * This code is derived from software contributed to Berkeley by 14 * 1. Redistributions of source code must retain the above copyright 55 int code; member in struct:rerr 75 { 0, "", "*** unknown regexp error code ***" } 95 for (r = rerrs; r->code != 0; r++) 96 if (r->code == target) 100 if (r->code != 0) { 127 for (r = rerrs; r->code != 0; r++) 130 if (r->code == 0 [all...] |
/external/strace/linux/ |
ioctlsort.c | 16 unsigned long code; member in struct:ioctlent 27 unsigned long code1 = ((struct ioctlent *) a)->code; 28 unsigned long code2 = ((struct ioctlent *) b)->code; 40 ioctls[i].code &= (_IOC_NRMASK << _IOC_NRSHIFT) | 46 if (i == 0 || ioctls[i].code != ioctls[i-1].code || 49 ioctls[i].header, ioctls[i].name, ioctls[i].code);
|
/ndk/sources/host-tools/ndk-stack/regex/ |
regerror.c | 7 * This code is derived from software contributed to Berkeley by 13 * 1. Redistributions of source code must retain the above copyright 50 int code; member in struct:rerr 70 { 0, "", "*** unknown regexp error code ***" } 90 for (r = rerrs; r->code != 0; r++) 91 if (r->code == target) 95 if (r->code != 0) { 122 for (r = rerrs; r->code != 0; r++) 125 if (r->code == 0) 128 (void)snprintf(localbuf, localbufsize, "%d", r->code); [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/ |
DexMakerTest.java | 81 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 82 Local<Long> localA = code.getParameter(0, TypeId.LONG); 83 Local<Boolean> localB = code.getParameter(1, TypeId.BOOLEAN); 86 Local<Constructable> localResult = code.newLocal(constructable); 87 code.newInstance(localResult, constructor, localA, localB); 88 code.returnValue(localResult); 110 Code code = dexMaker.declare(methodId, PUBLIC); local 111 code.returnVoid() 129 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 148 Code code = dexMaker.declare(methodId, PUBLIC); local 174 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 212 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 267 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 291 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 310 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 330 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 348 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 424 Code code = dexMaker.declare(constructor, PUBLIC); local 460 Code code = dexMaker.declare(GENERATED.getMethod(returnType, "call"), PUBLIC | STATIC); local 519 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 654 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 684 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 725 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 881 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 965 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1048 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1064 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1089 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1115 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1160 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1205 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1248 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1293 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1369 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1415 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1436 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1494 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1511 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1561 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1603 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1650 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1669 Code code = dexMaker.declare(methodId, PUBLIC | SYNCHRONIZED); local 1700 Code code = dexMaker.declare(methodId, PUBLIC); local 1727 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local 1798 Code code = dexMaker.declare(GENERATED.getConstructor(), PUBLIC); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
SimpleInsn.java | 17 package com.android.dexgen.dex.code; 19 import com.android.dexgen.rop.code.RegisterSpecList; 20 import com.android.dexgen.rop.code.SourcePosition; 29 * unknown ({@code -1}). 32 * @param position {@code non-null;} source position 33 * @param registers {@code non-null;} register list, including a
|
VariableSizeInsn.java | 17 package com.android.dexgen.dex.code; 19 import com.android.dexgen.rop.code.RegisterSpecList; 20 import com.android.dexgen.rop.code.SourcePosition; 28 * unknown ({@code -1}). 30 * @param position {@code non-null;} source position 31 * @param registers {@code non-null;} source registers
|
ZeroSizeInsn.java | 17 package com.android.dexgen.dex.code; 19 import com.android.dexgen.rop.code.RegisterSpecList; 20 import com.android.dexgen.rop.code.SourcePosition; 24 * Pseudo-instruction base class for zero-size (no code emitted) 26 * about the code they are adjacent to. 31 * unknown ({@code -1}). 33 * @param position {@code non-null;} source position
|
/dalvik/dx/src/com/android/dx/dex/code/ |
CodeAddress.java | 17 package com.android.dx.dex.code; 19 import com.android.dx.rop.code.RegisterSpecList; 20 import com.android.dx.rop.code.SourcePosition; 23 * Pseudo-instruction which is used to track an address within a code 25 * exception handler ranges. Its code size is zero, and so instances 35 * unknown ({@code -1}). 37 * @param position {@code non-null;} source position 45 * unknown ({@code -1}). 47 * @param position {@code non-null;} source position 71 return "code-address" [all...] |
SimpleInsn.java | 17 package com.android.dx.dex.code; 19 import com.android.dx.rop.code.RegisterSpecList; 20 import com.android.dx.rop.code.SourcePosition; 29 * unknown ({@code -1}). 32 * @param position {@code non-null;} source position 33 * @param registers {@code non-null;} register list, including a
|