/system/netd/ |
H A D | FirewallController.cpp | 86 IptablesTarget target = V4; local 88 target = V6; 99 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL); 100 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL); 106 IptablesTarget target = V4; local 108 target = V6; 125 res |= execIptables(target, op, LOCAL_INPUT, "-s", addr, "-p", protocolStr, 127 res |= execIptables(target, op, LOCAL_OUTPUT, "-d", addr, "-p", protocolStr,
|
H A D | NetdConstants.cpp | 44 static int execIptables(IptablesTarget target, bool silent, va_list args) { argument 62 if (target == V4 || target == V4V6) { 72 if (target == V6 || target == V4V6) { 85 int execIptables(IptablesTarget target, ...) { argument 87 va_start(args, target); 88 int res = execIptables(target, false, args); 93 int execIptablesSilently(IptablesTarget target, ...) { argument 95 va_start(args, target); [all...] |
H A D | CommandListener.cpp | 106 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain, argument 118 execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *childChain, NULL); 119 execIptablesSilently(target, "-t", table, "-F", *childChain, NULL); 120 execIptablesSilently(target, "-t", table, "-X", *childChain, NULL); 121 execIptables(target, "-t", table, "-N", *childChain, NULL); 122 execIptables(target, "-t", table, "-A", parentChain, "-j", *childChain, NULL);
|
/system/core/toolbox/cp/ |
H A D | cp.c | 51 * Cp copies source files to target files. 54 * current target file. Since fts(3) does not change directories, 62 * in "to") to form the final target path. 111 char *target, **src; local 210 /* Save the target base in "to". */ 211 target = argv[--argc]; 212 if (strlcpy(to.p_path, target, sizeof(to.p_path)) >= sizeof(to.p_path)) 213 errx(EXIT_FAILURE, "%s: name too long", target); 230 * cp [-R] source target 235 * In (1), the target become [all...] |
H A D | utils.c | 324 char target[MAXPATHLEN]; local 326 if ((len = readlink(p->fts_path, target, sizeof(target)-1)) == -1) { 330 target[len] = '\0'; 335 if (symlink(target, to.p_path)) { 336 warn("symlink: %s", target); 442 "usage: cp [-R [-H | -L | -P]] [-f | -i] [-alNpv] src target\n"
|
/system/core/fs_mgr/ |
H A D | fs_mgr.c | 367 static void check_fs(char *blk_dev, char *type, char *target) argument 390 ret = mount(blk_dev, target, type, tmpmnt_flags, tmpmnt_opts); 392 umount(target);
|
/system/core/init/ |
H A D | builtins.c | 366 char *source, *target, *system; local 391 target = args[3]; 403 if (mount(tmp, target, system, flags, options) < 0) { 431 if (mount(tmp, target, system, flags, options) < 0) { 451 if (mount(source, target, system, flags, options) < 0) {
|
/system/core/libpixelflinger/codeflinger/ |
H A D | ARMAssemblerProxy.cpp | 33 ARMAssemblerProxy::ARMAssemblerProxy(ARMAssemblerInterface* target) argument 34 : mTarget(target) 43 void ARMAssemblerProxy::setTarget(ARMAssemblerInterface* target) argument 46 mTarget = target;
|
H A D | GGLAssembler.cpp | 33 GGLAssembler::GGLAssembler(ARMAssemblerInterface* target) argument 34 : ARMAssemblerProxy(target),
|
H A D | mips_opcode.h | 59 unsigned target: 26; member in struct:__anon425::__anon427 92 unsigned target: 26; member in struct:__anon425::__anon431
|
/system/core/libpixelflinger/ |
H A D | pixelflinger.cpp | 332 static void ggl_texEnvi(void* con, GGLenum target, argument 337 if (target != GGL_TEXTURE_ENV || pname != GGL_TEXTURE_ENV_MODE) { 357 static void ggl_texEnvxv(void* con, GGLenum target, argument 361 if (target != GGL_TEXTURE_ENV) { 367 ggl_texEnvi(con, target, pname, params[0]); 389 GGLenum target, 394 if (target != GGL_TEXTURE_2D) { 388 ggl_texParameteri(void* con, GGLenum target, GGLenum pname, GGLint param) argument
|