Lines Matching refs:val
252 unsigned int val; in dvmParseMemOption() local
254 val = (unsigned int)strtoul(s, (char **)&s2, 10); in dvmParseMemOption()
287 if (val <= UINT_MAX / mul) { in dvmParseMemOption()
288 val *= mul; in dvmParseMemOption()
292 val = UINT_MAX & ~(1024-1); in dvmParseMemOption()
305 if (val % div == 0) { in dvmParseMemOption()
306 return val; in dvmParseMemOption()
742 unsigned int val = dvmParseMemOption(argv[i]+4, 1024); in dvmProcessOptions() local
743 if (val != 0) { in dvmProcessOptions()
744 if (val >= kMinHeapStartSize && val <= kMaxHeapSize) { in dvmProcessOptions()
745 gDvm.heapSizeStart = val; in dvmProcessOptions()
757 unsigned int val = dvmParseMemOption(argv[i]+4, 1024); in dvmProcessOptions() local
758 if (val != 0) { in dvmProcessOptions()
759 if (val >= kMinHeapSize && val <= kMaxHeapSize) { in dvmProcessOptions()
760 gDvm.heapSizeMax = val; in dvmProcessOptions()
772 unsigned int val = dvmParseMemOption(argv[i]+4, 1); in dvmProcessOptions() local
773 if (val != 0) { in dvmProcessOptions()
774 if (val >= kMinStackSize && val <= kMaxStackSize) { in dvmProcessOptions()
775 gDvm.stackSize = val; in dvmProcessOptions()