Searched refs:target (Results 1 - 25 of 25) sorted by relevance

/system/netd/server/
H A DFirewallController.cpp91 IptablesTarget target = V4; local
93 target = V6;
104 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL);
105 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL);
111 IptablesTarget target = V4; local
113 target = V6;
130 res |= execIptables(target, op, LOCAL_INPUT, "-s", addr, "-p", protocolStr,
132 res |= execIptables(target, op, LOCAL_OUTPUT, "-d", addr, "-p", protocolStr,
H A DNetdConstants.h36 int execIptables(IptablesTarget target, ...);
37 int execIptablesSilently(IptablesTarget target, ...);
H A DNetdConstants.cpp70 static int execIptables(IptablesTarget target, bool silent, va_list args) { argument
88 if (target == V4 || target == V4V6) {
92 if (target == V6 || target == V4V6) {
99 int execIptables(IptablesTarget target, ...) { argument
101 va_start(args, target);
102 int res = execIptables(target, false, args);
107 int execIptablesSilently(IptablesTarget target, ...) { argument
109 va_start(args, target);
[all...]
H A DCommandListener.cpp150 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain, argument
162 execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *childChain, NULL);
163 execIptablesSilently(target, "-t", table, "-F", *childChain, NULL);
164 execIptablesSilently(target, "-t", table, "-X", *childChain, NULL);
165 execIptables(target, "-t", table, "-N", *childChain, NULL);
166 execIptables(target, "-t", table, "-A", parentChain, "-j", *childChain, NULL);
/system/core/toolbox/upstream-netbsd/bin/ln/
H A Dln.c121 case 1: /* ln target */
124 case 2: /* ln target source */
133 the target--simulate "not a directory" error */
153 linkit(const char *target, const char *source, int isdir) argument
161 /* If target doesn't exist, quit now. */
162 if (stat(target, &sb)) {
163 warn("%s", target);
169 append the target's name. */
173 if ((p = strrchr(target, '/')) == NULL)
174 p = target;
[all...]
/system/extras/verity/
H A DBootSignature.java43 * target CHARACTER STRING,
54 private DERPrintableString target; field in class:BootSignature
58 public BootSignature(String target, int length) { argument
60 this.target = new DERPrintableString(target);
68 attrs.add(target);
109 public static void doSignature( String target, argument
114 BootSignature bootsig = new BootSignature(target, image.length);
120 // java -cp ../../../out/host/common/obj/JAVA_LIBRARIES/AndroidVerifiedBootSigner_intermediates/classes/ com.android.verity.AndroidVerifiedBootSigner boot ../../../out/target/product/flounder/boot.img ../../../build/target/produc
[all...]
/system/core/libutils/
H A DPrinter.cpp126 String8Printer::String8Printer(String8* target, const char* prefix) : argument
127 mTarget(target),
130 if (target == NULL) {
/system/core/libbacktrace/
H A DAndroid.mk69 build_type := target
112 build_type := target
132 build_type := target
170 build_type := target
H A DAndroid.build.mk63 ifeq ($(build_type),target)
/system/core/libnativebridge/
H A DAndroid.mk6 # Shared library for target
/system/core/fs_mgr/
H A Dfs_mgr.c89 static void check_fs(char *blk_device, char *fs_type, char *target) argument
116 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts);
117 INFO("%s(): mount(%s,%s,%s)=%d\n", __func__, blk_device, target, fs_type, ret);
119 umount(target);
195 static int __mount(const char *source, const char *target, const struct fstab_rec *rec) argument
205 if (!lstat(target, &info))
207 unlink(target);
208 mkdir(target, 0755);
209 ret = mount(source, target, rec->fs_type, mountflags, rec->fs_options);
211 INFO("%s(source=%s,target
[all...]
/system/netd/client/
H A DNetdClient.cpp109 int setNetworkForTarget(unsigned netId, std::atomic_uint* target) { argument
111 *target = netId;
128 *target = netId;
/system/core/toolbox/upstream-netbsd/bin/cp/
H A Dutils.c321 char target[MAXPATHLEN]; local
323 if ((len = readlink(p->fts_path, target, sizeof(target)-1)) == -1) {
327 target[len] = '\0';
332 if (symlink(target, to.p_path)) {
333 warn("symlink: %s", target);
439 "usage: %s [-R [-H | -L | -P]] [-f | -i] [-alNpv] src target\n"
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
208 /* Save the target base in "to". */
209 target = argv[--argc];
210 if (strlcpy(to.p_path, target, sizeof(to.p_path)) >= sizeof(to.p_path))
211 errx(EXIT_FAILURE, "%s: name too long", target);
226 * cp [-R] source target
231 * In (1), the target become
[all...]
/system/core/libpixelflinger/codeflinger/
H A Dmips_opcode.h59 unsigned target: 26; member in struct:__anon180::__anon182
92 unsigned target: 26; member in struct:__anon180::__anon186
H A DARMAssemblerProxy.cpp33 ARMAssemblerProxy::ARMAssemblerProxy(ARMAssemblerInterface* target) argument
34 : mTarget(target)
43 void ARMAssemblerProxy::setTarget(ARMAssemblerInterface* target) argument
46 mTarget = target;
H A DARMAssemblerProxy.h34 // ARMAssemblerProxy take ownership of the target
37 ARMAssemblerProxy(ARMAssemblerInterface* target);
40 void setTarget(ARMAssemblerInterface* target);
H A Dmips_disassem.c461 print_addr((loc & 0xF0000000) | (i.JType.target << 2));
H A DGGLAssembler.h180 GGLAssembler(ARMAssemblerInterface* target);
H A DGGLAssembler.cpp33 GGLAssembler::GGLAssembler(ARMAssemblerInterface* target) argument
34 : ARMAssemblerProxy(target),
/system/core/include/utils/
H A DPrinter.h90 // Create a printer using the specified String8 as the target.
92 // - target's memory lifetime must be a superset of this String8Printer.
93 String8Printer(String8* target, const char* prefix = 0);
106 // Create a printer using the specified printer as the target.
/system/core/rootdir/
H A DAndroid.mk5 # Only copy init.rc if the target doesn't have its own.
/system/core/include/pixelflinger/
H A Dpixelflinger.h251 void (*texEnvi)(void* c, GGLenum target,
255 void (*texEnvxv)(void* c, GGLenum target,
259 void (*texParameteri)(void* c, GGLenum target,
/system/core/init/
H A Dbuiltins.c380 char *source, *target, *system; local
405 target = args[3];
417 if (mount(tmp, target, system, flags, options) < 0) {
445 if (mount(tmp, target, system, flags, options) < 0) {
465 if (mount(source, target, system, flags, options) < 0) {
694 ERROR("powerctl: unrecognized reboot target '%s'\n", &command[len]);
/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

Completed in 2817 milliseconds