HomeSort by relevance Sort by last modified time
    Searched refs:MAX_LENGTH (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/
ExampleObjects.java 25 private static final int MAX_LENGTH = 1000;
84 int lastNum = MAX_LENGTH - 1;
85 for (int i = 0; i < MAX_LENGTH; i++) {
  /external/ltp/testcases/kernel/syscalls/sethostname/
sethostname02.c 85 #define LARGE_LENGTH MAX_LENGTH + 1
86 #define MAX_LENGTH _UTSNAME_LENGTH - 1
92 static char hostname[MAX_LENGTH];
93 static char hname[MAX_LENGTH];
sethostname01.c 74 #define MAX_LENGTH __NEW_UTS_LEN
81 static char hname[MAX_LENGTH]; /* host name */
sethostname03.c 78 #define MAX_LENGTH __NEW_UTS_LEN
84 static char hname[MAX_LENGTH];
  /external/brotli/java/org/brotli/dec/
Huffman.java 14 private static final int MAX_LENGTH = 15;
48 while (len < MAX_LENGTH) {
67 int[] count = new int[MAX_LENGTH + 1]; // Number of codes of each length.
68 int[] offset = new int[MAX_LENGTH + 1]; // Offsets in sorted table for each length.
78 for (int len = 1; len < MAX_LENGTH; len++) {
94 if (offset[MAX_LENGTH] == 1) {
115 for (int len = rootBits + 1, step = 2; len <= MAX_LENGTH; len++, step <<= 1) {
  /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);
  /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/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
45 unsigned char buf[MAX_LENGTH];
77 if (length >= MAX_LENGTH-12)
106 if (length >= MAX_LENGTH-12)
  /hardware/libhardware/modules/thermal/
thermal.c 31 #define MAX_LENGTH 50
40 char file_name[MAX_LENGTH];
58 snprintf(file_name, MAX_LENGTH, "%s/%s/temp", TEMPERATURE_DIR, de->d_name);
93 char file_name[MAX_LENGTH];
127 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num);
  /external/freetype/src/base/
ftinit.c 231 #define MAX_LENGTH 128
242 char module_name[MAX_LENGTH + 1];
243 char property_name[MAX_LENGTH + 1];
244 char property_value[MAX_LENGTH + 1];
261 for ( i = 0; i < MAX_LENGTH; i++ )
274 for ( i = 0; i < MAX_LENGTH; i++ )
287 for ( i = 0; i < MAX_LENGTH; i++ )
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DisclaimersParser.java 43 private static final int MAX_LENGTH = 3;
61 List<Disclaimer> disclaimers = new ArrayList<>(MAX_LENGTH);
64 if (disclaimers.size() >= MAX_LENGTH) {
  /frameworks/base/services/net/java/android/net/dhcp/
DhcpDeclinePacket.java 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
DhcpDiscoverPacket.java 43 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
DhcpInformPacket.java 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
DhcpNakPacket.java 45 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
DhcpRequestPacket.java 47 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
DhcpAckPacket.java 57 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
DhcpOfferPacket.java 59 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
WifiAwareServiceImplTest.java 73 private static final int MAX_LENGTH = 255;
381 byte[] byteArray = new byte[MAX_LENGTH + 1];
382 for (int i = 0; i < MAX_LENGTH + 1; ++i) {
393 doBadPublishConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null);
402 doBadPublishConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]);
476 byte[] byteArray = new byte[MAX_LENGTH + 1];
477 for (int i = 0; i < MAX_LENGTH + 1; ++i) {
488 doBadSubscribeConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null);
497 doBadSubscribeConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]);
518 .setServiceSpecificInfo(new byte[MAX_LENGTH + 1]).build()
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
SupportMessageTest.java 38 static final CharSequence MAX_LENGTH =
80 setShortMessage(ShortMessage.MAX_LENGTH);
  /external/webp/src/enc/
backward_references_enc.c 221 return (len < MAX_LENGTH) ? len : MAX_LENGTH;
270 if (len > MAX_LENGTH) {
271 // Skip the pixels that match for distance=1 and length>MAX_LENGTH
275 memset(chain + pos, 0xff, (len - MAX_LENGTH) * sizeof(*chain));
276 pos += len - MAX_LENGTH;
277 len = MAX_LENGTH;
340 if (best_length == MAX_LENGTH) pos = min_pos - 1;
363 assert(best_length <= MAX_LENGTH);
379 if (best_length == MAX_LENGTH && best_distance != 1 &
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
UTF8.java 149 static int MAX_LENGTH = 4;

Completed in 692 milliseconds

1 2 3 4 5