/system/vold/fs/ |
H A D | F2fs.cpp | 53 status_t Mount(const std::string& source, const std::string& target) { argument 55 const char* c_target = target.c_str();
|
H A D | Ext4.cpp | 67 status_t Check(const std::string& source, const std::string& target) { argument 72 const char* c_target = target.c_str(); 129 status_t Mount(const std::string& source, const std::string& target, bool ro, argument 135 const char* c_target = target.c_str(); 165 const std::string& target) { 171 cmd.push_back(target); 164 Format(const std::string& source, unsigned int numSectors, const std::string& target) argument
|
H A D | Vfat.cpp | 121 status_t Mount(const std::string& source, const std::string& target, bool ro, argument 129 const char* c_target = target.c_str();
|
/system/core/libutils/ |
H A D | Printer.cpp | 126 String8Printer::String8Printer(String8* target, const char* prefix) : argument 127 mTarget(target), 130 if (target == NULL) {
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
H A D | target.h | 44 enum perf_target_errno perf_target__validate(struct perf_target *target); 45 enum perf_target_errno perf_target__parse_uid(struct perf_target *target); 47 int perf_target__strerror(struct perf_target *target, int errnum, char *buf, 50 static inline bool perf_target__has_task(struct perf_target *target) argument 52 return target->tid || target->pid || target->uid_str; 55 static inline bool perf_target__has_cpu(struct perf_target *target) argument 57 return target->system_wide || target 60 perf_target__none(struct perf_target *target) argument [all...] |
/system/extras/verity/ |
H A D | BootSignature.java | 57 * target CHARACTER STRING, 69 private DERPrintableString target; field in class:BootSignature 78 * @param target Target name, included in the signed data 81 public BootSignature(String target, int length) { argument 83 this.target = new DERPrintableString(target); 114 target = (DERPrintableString) attrs.getObjectAt(0); 122 attrs.add(target); 220 public static void doSignature( String target, argument 238 BootSignature bootsig = new BootSignature(target, imag [all...] |
H A D | verify_boot_signature.c | 44 ASN1_STRING *target; member in struct:__anon1566 49 ASN1_SIMPLE(AuthAttrs, target, ASN1_PRINTABLE),
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/ |
H A D | perf.h | 169 struct perf_target target; member in struct:perf_record_opts
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/ |
H A D | perf.h | 205 #include "util/target.h" 214 struct perf_target target; member in struct:perf_record_opts
|
/system/gatekeeper/ |
H A D | gatekeeper_messages.cpp | 49 SizedBuffer *target) { 50 if (*buffer + sizeof(target->length) > end) return ERROR_INVALID; 52 memcpy(&target->length, *buffer, sizeof(target->length)); 53 *buffer += sizeof(target->length); 54 if (target->length != 0) { 55 const uint8_t *buffer_end = *buffer + target->length; 58 target->buffer.reset(new uint8_t[target->length]); 59 memcpy(target 48 read_from_buffer(const uint8_t **buffer, const uint8_t *end, SizedBuffer *target) argument [all...] |
/system/netd/client/ |
H A D | NetdClient.cpp | 111 int setNetworkForTarget(unsigned netId, std::atomic_uint* target) { argument 113 *target = netId; 130 *target = netId;
|
/system/netd/server/ |
H A D | FirewallController.cpp | 160 IptablesTarget target = V4; local 162 target = V6; 173 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL); 174 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL); 185 IptablesTarget target = V4; local 187 target = V6; 204 res |= execIptables(target, op, LOCAL_INPUT, "-s", addr, "-p", protocolStr, 206 res |= execIptables(target, op, LOCAL_OUTPUT, "-d", addr, "-p", protocolStr, 229 const char* target; local 232 target [all...] |
H A D | NetdConstants.cpp | 71 static int execIptables(IptablesTarget target, bool silent, va_list args) { argument 93 if (target == V4 || target == V4V6) { 97 if (target == V6 || target == V4V6) { 104 int execIptables(IptablesTarget target, ...) { argument 106 va_start(args, target); 107 int res = execIptables(target, false, args); 112 int execIptablesSilently(IptablesTarget target, ...) { argument 114 va_start(args, target); [all...] |
H A D | CommandListener.cpp | 152 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain, argument 164 execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *childChain, NULL); 165 execIptablesSilently(target, "-t", table, "-F", *childChain, NULL); 166 execIptablesSilently(target, "-t", table, "-X", *childChain, NULL); 167 execIptables(target, "-t", table, "-N", *childChain, NULL); 168 execIptables(target, "-t", table, "-A", parentChain, "-j", *childChain, NULL);
|
/system/core/fs_mgr/ |
H A D | fs_mgr.c | 96 static void check_fs(char *blk_device, char *fs_type, char *target) argument 124 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts); 126 __func__, blk_device, target, fs_type, ret, strerror(errno)); 132 int result = umount(target); 134 INFO("%s(): unmount(%s) succeeded\n", __func__, target); 137 ERROR("%s(): umount(%s)=%d: %s\n", __func__, target, result, strerror(errno)); 219 static int __mount(const char *source, const char *target, const struct fstab_rec *rec) argument 229 if (!lstat(target, &info)) 231 unlink(target); 232 mkdir(target, 075 [all...] |
/system/core/init/ |
H A D | builtins.cpp | 281 char *source, *target, *system; local 306 target = args[3]; 318 if (mount(tmp, target, system, flags, options) < 0) { 347 if (mount(tmp, target, system, flags, options) < 0) { 367 if (mount(source, target, system, flags, options) < 0) { 585 ERROR("powerctl: unrecognized reboot target '%s'\n", &command[len]);
|
/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:__anon1431::__anon1433 92 unsigned target: 26; member in struct:__anon1431::__anon1437
|
/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
|
/system/vold/ |
H A D | Utils.cpp | 155 status_t BindMount(const std::string& source, const std::string& target) { argument 156 if (::mount(source.c_str(), target.c_str(), "", MS_BIND, NULL)) { 157 PLOG(ERROR) << "Failed to bind mount " << source << " to " << target; local
|
H A D | VolumeManager.cpp | 422 std::string target(StringPrintf("/mnt/user/%d/primary", userId)); 423 if (TEMP_FAILURE_RETRY(unlink(target.c_str()))) { 425 SLOGW("Failed to unlink %s: %s", target.c_str(), strerror(errno)); 428 LOG(DEBUG) << "Linking " << source << " to " << target; local 429 if (TEMP_FAILURE_RETRY(symlink(source.c_str(), target.c_str()))) { 430 SLOGW("Failed to link %s to %s: %s", source.c_str(), target.c_str(),
|