Searched defs:target (Results 1 - 12 of 12) sorted by relevance

/system/core/libutils/
H A DPrinter.cpp130 String8Printer::String8Printer(String8* target, const char* prefix) : argument
131 mTarget(target),
134 if (target == NULL) {
/system/netd/
H A DFirewallController.cpp86 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 DNetdConstants.cpp65 static int execIptables(IptablesTarget target, bool silent, va_list args) { argument
83 if (target == V4 || target == V4V6) {
87 if (target == V6 || target == V4V6) {
94 int execIptables(IptablesTarget target, ...) { argument
96 va_start(args, target);
97 int res = execIptables(target, false, args);
102 int execIptablesSilently(IptablesTarget target, ...) { argument
104 va_start(args, target);
[all...]
H A DCommandListener.cpp112 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain, argument
124 execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *childChain, NULL);
125 execIptablesSilently(target, "-t", table, "-F", *childChain, NULL);
126 execIptablesSilently(target, "-t", table, "-X", *childChain, NULL);
127 execIptables(target, "-t", table, "-N", *childChain, NULL);
128 execIptables(target, "-t", table, "-A", parentChain, "-j", *childChain, NULL);
/system/core/toolbox/cp/
H A Dcp.c51 * 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 Dutils.c324 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/init/
H A Dbuiltins.c365 char *source, *target, *system; local
390 target = args[3];
402 if (mount(tmp, target, system, flags, options) < 0) {
430 if (mount(tmp, target, system, flags, options) < 0) {
450 if (mount(source, target, system, flags, options) < 0) {
644 ERROR("powerctl: unrecognized reboot target '%s'\n", &command[len]);
/system/core/libpixelflinger/codeflinger/
H A DARMAssemblerProxy.cpp33 ARMAssemblerProxy::ARMAssemblerProxy(ARMAssemblerInterface* target) argument
34 : mTarget(target)
43 void ARMAssemblerProxy::setTarget(ARMAssemblerInterface* target) argument
46 mTarget = target;
H A DGGLAssembler.cpp33 GGLAssembler::GGLAssembler(ARMAssemblerInterface* target) argument
34 : ARMAssemblerProxy(target),
H A Dmips_opcode.h59 unsigned target: 26; member in struct:__anon191::__anon193
92 unsigned target: 26; member in struct:__anon191::__anon197
/system/core/libpixelflinger/
H A Dpixelflinger.cpp332 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
/system/core/fs_mgr/
H A Dfs_mgr.c458 static void check_fs(char *blk_device, char *fs_type, char *target) argument
485 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts);
487 umount(target);
540 static int __mount(const char *source, const char *target, argument
544 int ret = mount(source, target, filesystemtype, mountflags, data);

Completed in 165 milliseconds