/system/core/init/ |
rlimit_parser.cpp | 31 Result<std::pair<int, rlimit>> ParseRlimit(const std::vector<std::string>& args) { 41 if (ParseInt(args[1], &resource)) { 43 return Error() << "Resource '" << args[1] << "' over the maximum resource value '" 46 return Error() << "Resource '" << args[1] << "' below the minimum resource value '0'"; 50 if (StartsWith(args[1], "RLIM_")) { 51 resource_string = args[1].substr(5); 53 resource_string = args[1]; 61 return Error() << "Could not parse resource '" << args[1] << "'"; 68 if (!ParseUint(args[2], &limit.rlim_cur)) { 69 return Error() << "Could not parse soft limit '" << args[2] << "'" [all...] |
/external/ltp/testcases/kernel/io/disktest/ |
main.c | 74 if (test->args->flags & CLD_FLG_W) { 76 *(pVal1 + OFF_WLBA) = test->args->start_lba; 77 test->args->test_state = DIRCT_INC(test->args->test_state); 79 test->args->test_state = SET_OPER_W(test->args->test_state); 80 test->args->test_state = SET_wFST_TIME(test->args->test_state); 81 // srand(test->args->seed); /* reseed so we can re create the same random transfers */ 83 sizeof(action_t) * test->args->t_kids) [all...] |
timer.c | 85 child_args_t *args = test->args; local 92 PDBG3(DBUG, args, "In timer %lu, %d\n", time(NULL), env->bContinue); 98 PDBG3(DBUG, args, "Continue timing %lu, %lu, %d\n", time(NULL), 101 if (args->flags & CLD_FLG_W) { 102 if ((args->flags & CLD_FLG_LINEAR) 103 && !(args->flags & CLD_FLG_NTRLVD)) { 104 if (TST_OPER(args->test_state) == WRITER) { 111 if (args->flags & CLD_FLG_R) { 112 if ((args->flags & CLD_FLG_LINEAR [all...] |
/external/libdrm/tests/kms/ |
libkms-test-framebuffer.c | 45 struct drm_mode_create_dumb args; local 58 memset(&args, 0, sizeof(args)); 59 args.width = width; 60 args.height = height; 66 args.bpp = 32; 74 err = drmIoctl(device->fd, DRM_IOCTL_MODE_CREATE_DUMB, &args); 80 fb->handle = args.handle; 81 fb->pitch = args.pitch; 82 fb->size = args.size 101 struct drm_mode_destroy_dumb args; local 125 struct drm_mode_map_dumb args; local [all...] |
/external/ltp/tools/pounder21/src/randasyscall/ |
randasys.c | 36 unsigned long callnum, args[6]; variable 189 signum, callnum, args[0], args[1], args[2], args[3], args[4], 190 args[5]); 230 memset(args, 0, sizeof(unsigned long) * 6); 237 get_big_randnum(&args[0], sizeof(unsigned long) * 6); 242 callnum, args[0], args[1], args[2], args[3] [all...] |
/external/icu/icu4c/source/common/ |
ucnv_u32.cpp | 47 T_UConverter_toUnicode_UTF32_BE(UConverterToUnicodeArgs * args, 50 const unsigned char *mySource = (unsigned char *) args->source; 51 UChar *myTarget = args->target; 52 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; 53 const UChar *targetLimit = args->targetLimit; 54 unsigned char *toUBytes = args->converter->toUBytes; 58 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { 59 i = args->converter->toULength; /* restore # of bytes consumed */ 60 args->converter->toULength = 0; 62 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call* [all...] |
/external/annotation-tools/scene-lib/src/annotations/tools/ |
Anncat.java | 43 public static void main(String[] args) { 44 usageAssert(0 < args.length); 45 if (args[0].equals("--help")) { 58 while (idx < args.length && !args[idx].equals("--out")) { 59 if (args[idx].equals("--javap")) { 61 usageAssert(idx < args.length); 62 String infile = args[idx++]; 66 } else if (args[idx].equals("--index")) { 68 usageAssert(idx < args.length) [all...] |
/external/libdrm/tests/radeon/ |
rbo.c | 65 struct drm_radeon_gem_create args; local 67 args.size = size; 68 args.alignment = alignment; 69 args.initial_domain = RADEON_GEM_DOMAIN_CPU; 70 args.flags = 0; 71 args.handle = 0; 73 &args, sizeof(args)); 74 bo->handle = args.handle; 96 struct drm_radeon_gem_mmap args; local 141 struct drm_gem_close args; local 160 struct drm_radeon_gem_wait_idle args; local [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
VideoCallbackServant.java | 62 SomeArgs args = (SomeArgs) msg.obj; 65 args.argi1, 66 (VideoProfile) args.arg1, 67 (VideoProfile) args.arg2); 69 args.recycle(); 74 SomeArgs args = (SomeArgs) msg.obj; 76 mDelegate.handleCallSessionEvent(args.argi1); 78 args.recycle(); 83 SomeArgs args = (SomeArgs) msg.obj; 85 mDelegate.changePeerDimensions(args.argi1, args.argi2) [all...] |
/art/runtime/ |
reflection_test.cc | 151 jvalue args[1]; local 153 args[0].b = 0; 154 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); 157 args[0].b = -1; 158 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); 161 args[0].b = SCHAR_MAX; 162 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); 166 args[0].b = SCHAR_MIN; 167 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); 177 jvalue args[1] local 202 jvalue args[1]; local 227 jvalue args[2]; local 256 jvalue args[3]; local 295 jvalue args[4]; local 339 jvalue args[5]; local 388 jvalue args[2]; local 422 jvalue args[3]; local 449 jvalue args[4]; local 479 jvalue args[5]; local 535 jvalue args[1]; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
log.py | 19 def _log(self, level, msg, args):
24 if args:
25 msg = msg % args
33 def log(self, level, msg, *args):
34 self._log(level, msg, args)
36 def debug(self, msg, *args):
37 self._log(DEBUG, msg, args)
39 def info(self, msg, *args):
40 self._log(INFO, msg, args)
42 def warn(self, msg, *args): [all...] |
/external/autotest/client/tests/cgroup/ |
cgroup_client.py | 14 def test_smoke(args): 24 def test_memfill(args): 30 if args: 31 size = int(args[0]) 32 if len(args) > 1: 33 f = open(args[1], 'w', 0) 54 def test_cpu(args): 66 def test_devices(args): 67 if args: 68 if args[0] == "write" [all...] |
/external/freetype/src/psaux/ |
cffdecode.c | 615 FT_Fixed* args = decoder->top; local 616 FT_Int num_args = (FT_Int)( args - decoder->stack ); 933 args -= req_args; 936 /* At this point, `args' points to the first argument of the */ 938 /* to adjust `args' manually. */ 960 args - ( num_args & ~1 ) ); 963 args = stack; 980 args - ( num_args & ~1 ) ); 1023 args = stack; 1031 x = ADD_LONG( x, args[-2] ) [all...] |
/external/python/cpython2/Lib/distutils/ |
log.py | 19 def _log(self, level, msg, args): 24 if args: 25 msg = msg % args 33 def log(self, level, msg, *args): 34 self._log(level, msg, args) 36 def debug(self, msg, *args): 37 self._log(DEBUG, msg, args) 39 def info(self, msg, *args): 40 self._log(INFO, msg, args) 42 def warn(self, msg, *args) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/ |
log.py | 19 def _log(self, level, msg, args): 24 if args: 25 msg = msg % args 33 def log(self, level, msg, *args): 34 self._log(level, msg, args) 36 def debug(self, msg, *args): 37 self._log(DEBUG, msg, args) 39 def info(self, msg, *args): 40 self._log(INFO, msg, args) 42 def warn(self, msg, *args) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/ |
log.py | 19 def _log(self, level, msg, args): 24 if args: 25 msg = msg % args 33 def log(self, level, msg, *args): 34 self._log(level, msg, args) 36 def debug(self, msg, *args): 37 self._log(DEBUG, msg, args) 39 def info(self, msg, *args): 40 self._log(INFO, msg, args) 42 def warn(self, msg, *args) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
log.py | 19 def _log(self, level, msg, args): 24 if args: 25 msg = msg % args 33 def log(self, level, msg, *args): 34 self._log(level, msg, args) 36 def debug(self, msg, *args): 37 self._log(DEBUG, msg, args) 39 def info(self, msg, *args): 40 self._log(INFO, msg, args) 42 def warn(self, msg, *args) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
log.py | 19 def _log(self, level, msg, args): 24 if args: 25 msg = msg % args 33 def log(self, level, msg, *args): 34 self._log(level, msg, args) 36 def debug(self, msg, *args): 37 self._log(DEBUG, msg, args) 39 def info(self, msg, *args): 40 self._log(INFO, msg, args) 42 def warn(self, msg, *args) [all...] |
/art/tools/ahat/src/test-dump/ |
Main.java | 29 public static void main(String[] args) throws IOException { 30 if (args.length < 1) { 34 String file = args[0]; 38 boolean baseline = args.length > 1 && args[1].equals("--base");
|
/cts/tests/framework/base/activitymanager/app/src/android/server/am/ |
AssistantVoiceInteractionSessionService.java | 27 public VoiceInteractionSession onNewSession(Bundle args) { 30 public void onPrepareShow(Bundle args, int showFlags) { 35 public void onShow(Bundle args, int showFlags) { 38 if (args != null) { 39 i.putExtras(args);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
lll.py | 17 args = sys.argv[1:]
18 if not args: args = [os.curdir]
20 for arg in args:
21 if len(args) > 1:
|
/external/autotest/client/bin/ |
autologin.py | 18 def main(args): 21 @param args: list of string args passed to program 29 args = parser.parse_args(args) 33 arc_mode=('enabled' if args.arc else None), 34 dont_override_profile=args.dont_override_profile)
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/operators/ |
SubtractFunction.java | 28 public Value execute(Value... args) { 29 if (args.length == 1) { 30 Value value = args[0]; 33 Value left = args[0]; 34 Value right = args[1];
|
/external/libffi/testsuite/libffi.call/ |
return_ll1.c | 18 ffi_type *args[MAX_ARGS]; local 24 args[0] = &ffi_type_sint; 25 args[1] = &ffi_type_sint64; 26 args[2] = &ffi_type_sint; 33 &ffi_type_sint64, args) == FFI_OK);
|
unwindtest_ffi_call.cc | 20 ffi_type *args[MAX_ARGS]; local 28 args[0] = &ffi_type_sint; 30 args[1] = &ffi_type_sshort; 32 args[2] = &ffi_type_schar; 37 &ffi_type_sint, args) == FFI_OK);
|