/hardware/qcom/power/ |
power.c | 36 #define MAX_LENGTH 50 67 char data[MAX_LENGTH]; 77 snprintf(data, MAX_LENGTH, "2:%d", client); 80 snprintf(data, MAX_LENGTH, "3:%d", client); 93 char data[MAX_LENGTH]; 103 snprintf(data, MAX_LENGTH, "5:%d", client); 106 snprintf(data, MAX_LENGTH, "6:%d", client); 150 char data[MAX_LENGTH]; 159 snprintf(data, MAX_LENGTH, "1:%d", client);
|
/device/moto/shamu/power/ |
power_shamu.c | 42 #define MAX_LENGTH 50 72 char data[MAX_LENGTH]; 82 snprintf(data, MAX_LENGTH, "8:%d", client); 85 snprintf(data, MAX_LENGTH, "7:%d", client); 98 char data[MAX_LENGTH]; 108 snprintf(data, MAX_LENGTH, "5:%d", client); 112 snprintf(data, MAX_LENGTH, "6:%d", client); 155 char data[MAX_LENGTH]; 156 char buf[MAX_LENGTH]; 165 snprintf(data, MAX_LENGTH, "1:%d", client) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
Romkan.java | 148 private static final int MAX_LENGTH = 4; 169 StrSegment[] str = new StrSegment[MAX_LENGTH]; 170 int start = MAX_LENGTH; 171 int checkLength = Math.min(cursor, MAX_LENGTH); 173 str[MAX_LENGTH - i] = text.getStrSegment(1, cursor - i); 178 while (start < MAX_LENGTH) { 179 for (int i = start; i < MAX_LENGTH; i++) { 191 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to); 192 text.replaceStrSegment(ComposingText.LAYER1, out, MAX_LENGTH - start); 196 str[start].from, str[MAX_LENGTH - 1].to - 1) [all...] |
RomkanFullKatakana.java | 144 private static final int MAX_LENGTH = 4; 173 StrSegment[] str = new StrSegment[MAX_LENGTH]; 174 int start = MAX_LENGTH; 175 int checkLength = Math.min(cursor, MAX_LENGTH); 177 str[MAX_LENGTH - i] = text.getStrSegment(1, cursor - i); 182 while (start < MAX_LENGTH) { 183 for (int i = start; i < MAX_LENGTH; i++) { 195 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to); 196 text.replaceStrSegment(ComposingText.LAYER1, out, MAX_LENGTH - start); 200 str[start].from, str[MAX_LENGTH - 1].to - 1) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
BERConstructedOctetString.java | 14 private static final int MAX_LENGTH = 1000; 109 for (int i = 0; i < string.length; i += MAX_LENGTH) 113 if (i + MAX_LENGTH > string.length) 119 end = i + MAX_LENGTH;
|
BEROctetString.java | 11 private static final int MAX_LENGTH = 1000; 95 for (int i = 0; i < string.length; i += MAX_LENGTH) 99 if (i + MAX_LENGTH > string.length) 105 end = i + MAX_LENGTH;
|
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
huffman.c | 29 #define MAX_LENGTH 15 58 while (len < MAX_LENGTH) { 83 int count[MAX_LENGTH + 1] = { 0 }; /* number of codes of each length */ 84 int offset[MAX_LENGTH + 1]; /* offsets in sorted table for each length */ 98 for (len = 1; len < MAX_LENGTH; len++) { 115 if (offset[MAX_LENGTH] == 1) { 140 for (len = root_bits + 1, step = 2; len <= MAX_LENGTH; ++len, step <<= 1) {
|
/external/libpng/contrib/tools/ |
png-fix-itxt.c | 28 * rebuild png-fix-itxt with a larger values of MAX_LENGTH (or a smaller value 35 #define MAX_LENGTH 500000 43 unsigned char buf[MAX_LENGTH]; 75 if (length >= MAX_LENGTH-12) 101 if (length >= MAX_LENGTH-12)
|
/device/asus/flo/power/ |
power_flo.c | 43 #define MAX_LENGTH 50 217 char data[MAX_LENGTH]; 227 snprintf(data, MAX_LENGTH, "2:%d", client); 231 snprintf(data, MAX_LENGTH, "3:%d", client); 245 char data[MAX_LENGTH]; 255 snprintf(data, MAX_LENGTH, "5:%d", client); 259 snprintf(data, MAX_LENGTH, "6:%d", client); 304 char data[MAX_LENGTH]; 313 snprintf(data, MAX_LENGTH, "1:%d", client);
|
/device/lge/hammerhead/power/ |
power_hammerhead.c | 43 #define MAX_LENGTH 50 217 char data[MAX_LENGTH]; 227 snprintf(data, MAX_LENGTH, "2:%d", client); 231 snprintf(data, MAX_LENGTH, "3:%d", client); 245 char data[MAX_LENGTH]; 255 snprintf(data, MAX_LENGTH, "5:%d", client); 259 snprintf(data, MAX_LENGTH, "6:%d", client); 304 char data[MAX_LENGTH]; 313 snprintf(data, MAX_LENGTH, "1:%d", client);
|
/device/lge/mako/power/ |
power_mako.c | 43 #define MAX_LENGTH 50 217 char data[MAX_LENGTH]; 227 snprintf(data, MAX_LENGTH, "2:%d", client); 231 snprintf(data, MAX_LENGTH, "3:%d", client); 245 char data[MAX_LENGTH]; 255 snprintf(data, MAX_LENGTH, "5:%d", client); 259 snprintf(data, MAX_LENGTH, "6:%d", client); 304 char data[MAX_LENGTH]; 313 snprintf(data, MAX_LENGTH, "1:%d", client);
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
WbxmlResponseLogger.java | 43 protected static final int MAX_LENGTH = 1024; 48 return contentLength < MAX_LENGTH; 101 final byte currentXMLBytes[] = getContentAsByteArray(is, MAX_LENGTH);
|
/frameworks/base/core/java/android/net/dhcp/ |
DhcpDeclinePacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
|
DhcpDiscoverPacket.java | 45 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
|
DhcpInformPacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
|
DhcpNakPacket.java | 46 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
|
DhcpRequestPacket.java | 49 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
|
DhcpAckPacket.java | 59 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
|
DhcpOfferPacket.java | 61 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
WbxmlResponseLoggerTests.java | 39 final long contentSize = WbxmlResponseLogger.MAX_LENGTH + 1; 44 final long contentSize = WbxmlResponseLogger.MAX_LENGTH - 1;
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
ncnvtst.c | 25 #define MAX_LENGTH 999 [all...] |
/external/icu/icu4c/source/test/cintltst/ |
ncnvtst.c | 25 #define MAX_LENGTH 999 [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
backward_references.c | 35 #define MAX_LENGTH 4096 259 if (max_len > MAX_LENGTH) { 260 max_len = MAX_LENGTH; 318 while (length >= MAX_LENGTH) { 319 BackwardRefsCursorAdd(refs, PixOrCopyCreateCopy(1, MAX_LENGTH)); 320 length -= MAX_LENGTH; 412 if (len >= MAX_LENGTH) { 413 len = MAX_LENGTH - 1; [all...] |
/external/guava/guava/src/com/google/common/net/ |
InternetDomainName.java | 107 private static final int MAX_LENGTH = 253; 149 checkArgument(name.length() <= MAX_LENGTH, "Domain name too long: '%s':", name);
|
/external/webp/src/enc/ |
backward_references.c | 35 #define MAX_LENGTH 4096 259 if (max_len > MAX_LENGTH) { 260 max_len = MAX_LENGTH; 318 while (length >= MAX_LENGTH) { 319 BackwardRefsCursorAdd(refs, PixOrCopyCreateCopy(1, MAX_LENGTH)); 320 length -= MAX_LENGTH; 412 if (len >= MAX_LENGTH) { 413 len = MAX_LENGTH - 1; [all...] |