/packages/apps/Browser/tests/src/com/android/browser/ |
WebStorageSizeManagerUnitTests.java | 178 long maxSize = WebStorageSizeManager.calculateGlobalLimit(fileSystemSize, freeSpaceSize); 179 assertEquals(12582912, maxSize); // 12MB 183 maxSize = WebStorageSizeManager.calculateGlobalLimit(fileSystemSize, freeSpaceSize); 184 assertEquals(19922944, maxSize); // 19MB 188 maxSize = WebStorageSizeManager.calculateGlobalLimit(fileSystemSize, freeSpaceSize); 189 assertEquals(536870912L, maxSize); // 512 MB 193 maxSize = WebStorageSizeManager.calculateGlobalLimit(fileSystemSize, freeSpaceSize); 194 assertEquals(0, maxSize); 198 maxSize = WebStorageSizeManager.calculateGlobalLimit(fileSystemSize, freeSpaceSize); 199 assertEquals(0, maxSize); [all...] |
/external/opencore/oscl/oscl/osclutil/src/ |
oscl_string_containers.cpp | 141 maxsize = 0; 147 maxsize = nsz; 162 maxsize = 0; 168 maxsize = nsz; 181 maxsize = s1 + s2; 182 size = maxsize; 184 OsclAny* ptr = alloc.ALLOCATE(sizeof(char) * (maxsize + 1)); 189 maxsize = 0; 208 maxsize = s1 + s2; 209 size = maxsize; [all...] |
oscl_string_rep.h | 59 , maxsize(0) 70 uint32 maxsize; member in class:CHeapRep 90 : maxsize(0) 94 uint32 maxsize; member in class:CStackRep 110 : maxsize(0) 115 uint32 maxsize; member in class:CFastRep
|
/external/skia/tests/ |
PackBitsTest.cpp | 45 size_t maxSize = SkPackBits::ComputeMaxSize16(size); 46 REPORTER_ASSERT(reporter, maxSize >= dstSize); 80 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); 83 REPORTER_ASSERT(reporter, dstSize <= maxSize); 99 size_t maxSize = SkPackBits::ComputeMaxSize8(size); 100 REPORTER_ASSERT(reporter, maxSize >= dstSize);
|
/development/simulator/app/ |
LogPool.cpp | 73 void LogPool::Resize(long maxSize) 75 assert(maxSize >= 0); 77 mMaxSize = maxSize;
|
LogPool.h | 36 void Resize(long maxSize);
|
/system/vold/ |
Xwarp.cpp | 44 int Xwarp::status(bool *ready, unsigned *mirrorPos, unsigned *maxSize) { 49 *maxSize = 0; 61 fscanf(fp, "%u %u", mirrorPos, maxSize);
|
Xwarp.h | 31 static int status(bool *ready, unsigned *mirrorPos, unsigned *maxSize);
|
/external/quake/quake/src/QW/server/ |
sv_nchan.c | 25 void ClientReliableCheckBlock(client_t *cl, int maxsize) 29 cl->netchan.message.maxsize - maxsize - 1) { 35 cl->backbuf.maxsize = sizeof(cl->backbuf_data[0]); 40 if (cl->backbuf.cursize > cl->backbuf.maxsize - maxsize - 1) { 50 cl->backbuf.maxsize = sizeof(cl->backbuf_data[cl->num_backbuf]); 58 void ClientReliableWrite_Begin(client_t *cl, int c, int maxsize) 60 ClientReliableCheckBlock(cl, maxsize);
|
/external/webkit/LayoutTests/http/tests/appcache/ |
max-size.html | 1 <html manifest="resources/maxsize.manifest">
|
/system/core/nexus/ |
LoopController.h | 30 const char *get(const char *name, char *buffer, size_t maxsize);
|
/external/icu4c/tools/gencmn/ |
gencmn.c | 51 uint32_t maxSize; 75 "%csage: %s [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright ] [ -C, --comment comment ] [ -d, --destdir dir ] [ -n, --name filename ] [ -t, --type filetype ] [ -S, --source tocfile ] [ -e, --entrypoint name ] maxsize listfile\n", argc < 0 ? 'u' : 'U', *argv); 79 "file from specified files. Omit any files larger than maxsize, if maxsize > 0.\n"); 104 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0); 113 maxSize, sourceTOC, verbose, NULL);
|
gencmn.8.in | 41 .I maxsize 56 .I maxsize 58 .I maxsize
|
/external/elfutils/libelf/ |
elf_begin.c | 40 file_read_ar (int fildes, void *map_address, off_t offset, size_t maxsize, 46 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, 63 size_t maxsize) 114 if (offset + ehdr.e32->e_shoff + sizeof (Elf32_Shdr) > maxsize) 150 if (offset + ehdr.e64->e_shoff + sizeof (Elf64_Shdr) > maxsize) 186 file_read_elf (int fildes, void *map_address, off_t offset, size_t maxsize, 222 scncnt = get_shnum (map_address, e_ident, fildes, offset, maxsize); 228 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, 420 size_t maxsize, Elf_Cmd cmd, Elf *parent) 429 kind = determine_kind (map_address + offset, maxsize); [all...] |
common.h | 56 allocate_elf (int fildes, void *map_address, off_t offset, size_t maxsize, 69 result->maximum_size = maxsize;
|
/dalvik/vm/native/ |
dalvik_system_VMStack.c | 83 /* note "maxSize" is unsigned, so -1 turns into a very large value */ 84 unsigned int maxSize = args[0]; 113 for (idx = kSkip; (int) idx < methodCount && size < maxSize; idx++) { 125 if (maxSize > size + 2) 126 maxSize = size + 2;
|
/frameworks/base/core/java/com/android/internal/util/ |
ProcessedMessages.java | 131 ProcessedMessages(int maxSize) { 132 setSize(maxSize); 138 * @param maxSize number of messages to maintain at anyone time. 140 void setSize(int maxSize) { 141 mMaxSize = maxSize;
|
/external/elfutils/tests/ |
showptable.c | 113 size_t maxsize; local 114 char *filedata = elf_rawfile (elf, &maxsize); 116 if (filedata != NULL && phdr->p_offset < maxsize)
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
ParseException.java | 117 int maxSize = 0; 119 if (maxSize < expectedTokenSequences[i].length) { 120 maxSize = expectedTokenSequences[i].length; 132 for (int i = 0; i < maxSize; i++) {
|
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
ParseException.java | 117 int maxSize = 0; 119 if (maxSize < expectedTokenSequences[i].length) { 120 maxSize = expectedTokenSequences[i].length; 132 for (int i = 0; i < maxSize; i++) {
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
ParseException.java | 117 int maxSize = 0; 119 if (maxSize < expectedTokenSequences[i].length) { 120 maxSize = expectedTokenSequences[i].length; 132 for (int i = 0; i < maxSize; i++) {
|
/hardware/msm7k/librpc/ |
xdr.c | 10 bool_t xdr_bytes (XDR *xdr, char **cpp, u_int *sizep, u_int maxsize) 14 if(!XDR_RECV_UINT(xdr, sizep) || *sizep > maxsize) 24 *sizep <= maxsize && 340 u_int maxsize, /* max numberof elements */ 354 if ((c > maxsize) && (xdrs->x_op != XDR_FREE)) 481 bool_t xdr_string (XDR *xdr, char **cpp, u_int maxsize) 504 if (size > maxsize) return FALSE;
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Utils.java | 77 public static final Bitmap resizeBitmap(Bitmap bitmap, int maxSize) { 80 int width = maxSize; 81 int height = maxSize; 84 if (srcWidth > maxSize) { 86 height = ((maxSize * srcHeight) / srcWidth); 89 if (srcHeight > maxSize) { 91 width = ((maxSize * srcWidth) / srcHeight);
|
/external/opencore/oscl/oscl/osclbase/src/ |
oscl_string_utils.h | 56 OSCL_IMPORT_REF int extract_string(const char * in_ptr, char *outstring, int maxsize); 58 OSCL_IMPORT_REF int extract_string(const char * start, const char *end, char *outstring, int maxsize);
|
/external/svox/pico/lib/ |
picoos.h | 102 void picoos_get_sep_part_str (picoos_char string[], picoos_int32 stringlen, picoos_int32 * ind, picoos_char sepCh, picoos_char part[], picoos_int32 maxsize, picoos_uint8 * done); 238 void picoos_emGetExceptionMessage(picoos_ExceptionManager this, picoos_char * msg, picoos_uint16 maxsize); 247 void picoos_emGetWarningMessage(picoos_ExceptionManager this, picoos_uint8 warnNum, picoos_char * msg, picoos_uint16 maxsize); 344 picoos_bool picoos_Name(picoos_File f, picoos_char name[], picoos_uint32 maxsize); 518 * 'maxsize' is the maximal size of 'part' including a byte for the terminating NULLC! */ 521 picoos_char part[], picoos_int32 maxsize, picoos_uint8 * done); 525 * fromStr is assumed to be NULLC terminated and toStr is forced to be NULLC terminated within maxsize. 529 picoos_uint8 picoos_get_str (picoos_char * fromStr, picoos_uint32 * pos, picoos_char * toStr, picoos_objsize_t maxsize);
|