/external/zlib/examples/ |
enough.c | 1 /* enough.c -- determine the maximum size of inflate's Huffman code tables over 21 maximum code length in bits to determine the maximum table size for zilb's 26 in the same code for the counting, as do permutations of the assignments of 29 We build a code from shorter to longer lengths, determining how many symbols 31 be coded, what the last code length used was, and how many bit patterns of 32 that length remain unused. Then we add one to the code length and double the 33 number of unused patterns to graduate to the next code length. We then 34 assign all portions of the remaining symbols to that code length that 35 preserve the properties of a correct and eventually complete code. Those 45 entry is pointed to regardless of the bits that follow the short code. I 171 local int *code; \/* number of symbols assigned to each bit length *\/ variable [all...] |
/frameworks/base/cmds/service/ |
service.cpp | 120 int32_t code = atoi(argv[optind++]); local 237 service->transact(code, data, &reply); 248 aerr << "service: No code specified for call" << endl; 264 " service call SERVICE CODE [i32 INT | s16 STR] ...\n"
|
/frameworks/base/cmds/servicemanager/ |
binder.h | 24 uint32_t code; member in struct:binder_txn 79 void *target, uint32_t code);
|
/frameworks/base/core/java/android/text/method/ |
ArrowKeyMovementMethod.java | 175 int code = event.getKeyCode(); local 176 if (code != KeyEvent.KEYCODE_UNKNOWN && event.getAction() == KeyEvent.ACTION_MULTIPLE) { 180 handled |= executeDown(view, text, code);
|
ScrollingMovementMethod.java | 179 int code = event.getKeyCode(); local 180 if (code != KeyEvent.KEYCODE_UNKNOWN 186 if (first && executeDown(view, text, code)) {
|
/frameworks/base/core/jni/ |
android_util_XmlBlock.cpp | 112 jint code = (jint)st->next(); local 113 switch (code) {
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
dec_amr.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 154 PSEUDO-CODE 208 When the code is written for a specific target processor the 307 PSEUDO-CODE 375 When the code is written for a specific target processor the 533 PSEUDO-CODE 562 Word16 code[L_SUBFR]; 709 * - decode algebraic code * 837 decode_2i40_9bits (subfrNr, i, index, code); 846 decode_2i40_11bits (i, index, code); 1360 Word16 code[L_SUBFR]; local [all...] |
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
residual.cpp | 33 uint code; local 54 code = *((uint*)pSrc); 56 *((uint*)pDst) = code; 58 status = BitstreamWriteBits(stream, 32, code); 63 code = *((uint*)pSrc); 65 *((uint*)pDst) = code; 67 status = BitstreamWriteBits(stream, 16, code); 87 code = *((uint*)pSrc); 89 *((uint*)pDst) = code; 91 status = BitstreamWriteBits(stream, 32, code); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
SuppServiceNotification.java | 30 public int code; field in class:SuppServiceNotification 64 + " code: " + code
|
/frameworks/base/test-runner/src/android/test/ |
TestRecorder.java | 55 int code = FileUtils.setPermissions(file.getPath(), local 60 if (code != 0) { 62 "Set permissions for " + file.getPath() + " returned = " + code);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutReloadMonitor.java | 60 public boolean code = false; field in class:LayoutReloadMonitor.ChangeFlags 68 return code && resources && rClass && localeList; 86 * @param libraryModified <code>true</code> if the changeFlags are not for the project 178 // here we only care about code change (so change for .class files). 190 // this is a code change! 196 changeFlags.code = true;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/configurations/ |
CountryCodeQualifier.java | 27 * Resource Qualifier for Mobile Country Code. 37 public static final String NAME = "Mobile Country Code"; 41 * <code>null</code> is returned. 43 * @return a new {@link CountryCodeQualifier} object or <code>null</code> 50 int code = -1; local 52 code = Integer.parseInt(v); 58 CountryCodeQualifier qualifier = new CountryCodeQualifier(code); 68 * @param code the value of the qualifier, as returned by {@link #getCode()} [all...] |
NetworkCodeQualifier.java | 27 * Resource Qualifier for Mobile Network Code Pixel Density. 37 public final static String NAME = "Mobile Network Code"; 41 * <code>null</code> is returned. 43 * @return a new {@link CountryCodeQualifier} object or <code>null</code> 50 int code = -1; local 52 code = Integer.parseInt(v); 58 NetworkCodeQualifier qualifier = new NetworkCodeQualifier(code); 68 * @param code the value of the qualifier, as returned by {@link #getCode()} 121 int code = -1; local [all...] |
VersionQualifier.java | 41 * <code>null</code> is returned. 43 * @return a new {@link VersionQualifier} object or <code>null</code> 50 int code = -1; local 52 code = Integer.parseInt(v); 59 qualifier.mVersion = code;
|
/system/core/toolbox/ |
sendevent.c | 16 __u16 code; member in struct:input_event 57 fprintf(stderr, "use: %s device type code value\n", argv[0]); 72 event.code = atoi(argv[3]);
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
StdAttributeFactory.java | 37 import com.android.dx.cf.code.ByteCatchList; 38 import com.android.dx.cf.code.BytecodeArray; 39 import com.android.dx.cf.code.LineNumberList; 40 import com.android.dx.cf.code.LocalVariableList; 49 import com.android.dx.rop.code.AccessFlags; 68 /** {@code non-null;} shared instance of this class */ 141 return code(cf, offset, length, observer); 194 * Parses an {@code AnnotationDefault} attribute. 210 * Parses a {@code Code} attribute 212 private Attribute code(DirectClassFile cf, int offset, int length, method in class:StdAttributeFactory 244 BytecodeArray code = local [all...] |
/bionic/libc/kernel/common/linux/ |
icmp.h | 60 __u8 code; member in struct:icmphdr
|
/bootable/diskinstaller/libdiskconfig/ |
diskconfig.h | 68 uint8_t code[440]; /* bytes 0-439 */ member in struct:pc_boot_record
|
/build/tools/apicheck/src/com/android/apicheck/ |
Errors.java | 56 String message = which + error.code + ": " + text; 84 public int code; field in class:Errors.Error 87 public Error(int code, int level) 89 this.code = code; 148 public static boolean setErrorLevel(int code, int level) { 150 if (e.code == code) {
|
/build/tools/droiddoc/src/ |
Errors.java | 58 String message = which + error.code + ": " + text; 93 public int code; field in class:Errors.Error 96 public Error(int code, int level) 98 this.code = code; 139 public static boolean setErrorLevel(int code, int level) { 141 if (e.code == code) {
|
/cts/tools/host/src/com/android/cts/ |
CtsTestResult.java | 62 for (int code : sCodeToResultMap.keySet()) { 63 sResultToCodeMap.put(sCodeToResultMap.get(code), code); typedefs 116 * Get result code of the test. 118 * @return The result code of the test. 181 * Reverse the result code.
|
/dalvik/dx/src/com/android/dx/cf/code/ |
BaseMachine.java | 17 package com.android.dx.cf.code; 19 import com.android.dx.rop.code.RegisterSpec; 20 import com.android.dx.rop.code.LocalItem; 36 /* {@code non-null;} the prototype for the associated method */ 39 /** {@code non-null;} primary arguments */ 42 /** {@code >= 0;} number of primary arguments */ 45 /** {@code null-ok;} type of the operation, if salient */ 48 /** auxiliary {@code int} argument */ 51 /** {@code null-ok;} auxiliary constant argument */ 57 /** {@code null-ok;} auxiliary switch cases argument * [all...] |
BasicBlocker.java | 17 package com.android.dx.cf.code; 32 /** {@code non-null;} method being converted */ 36 * {@code non-null;} work set; bits indicate offsets in need of 42 * {@code non-null;} live set; bits indicate potentially-live 49 * {@code non-null;} block start set; bits indicate the starts of 51 * definitely-dead code 56 * {@code non-null, sparse;} for each instruction offset to a branch of 62 * {@code non-null, sparse;} for each instruction offset to a throwing 73 * definitely-dead code that is identified in the process. 75 * @param method {@code non-null;} method to conver [all...] |
Frame.java | 17 package com.android.dx.cf.code; 32 /** {@code non-null;} the locals */ 35 /** {@code non-null;} the stack */ 38 /** {@code null-ok;} stack of labels of subroutines that this block is nested in */ 44 * @param locals {@code non-null;} the locals array to use 45 * @param stack {@code non-null;} the execution stack to use 54 * @param locals {@code non-null;} the locals array to use 55 * @param stack {@code non-null;} the execution stack to use 56 * @param subroutines {@code non-null;} list of subroutine start labels for 78 * all-uninitialized values (represented as {@code null}s) an [all...] |
LocalVariableList.java | 17 package com.android.dx.cf.code; 21 import com.android.dx.rop.code.LocalItem; 26 * {@code LocalVariableTable} and {@code LocalVariableTypeTable} 30 /** {@code non-null;} zero-size instance */ 37 * @param list1 {@code non-null;} first instance 38 * @param list2 {@code non-null;} second instance 39 * @return {@code non-null;} combined instance 73 * @param descriptorList {@code non-null;} list with descriptors 74 * @param signatureList {@code non-null;} list with signature [all...] |