/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 | Vfat.cpp | 126 status_t Mount(const std::string& source, const std::string& target, bool ro, argument 134 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 long numSectors, const std::string& target) argument
|
/system/core/adb/ |
H A D | line_printer.cpp | 92 SMALL_RECT target = { local 104 WriteConsoleOutput(console_, &char_data[0], buf_size, zero_zero, &target);
|
/system/connectivity/shill/ |
H A D | property_accessor.h | 150 // |target| is the object on which to call the methods |getter|, |setter| 156 // It is an error to pass NULL for either |target| or |getter|. 157 CustomAccessor(C* target, argument 161 : target_(target), 166 DCHECK(target); 173 CustomAccessor(C* target, argument 176 : CustomAccessor(target, getter, setter, nullptr) {} 215 // |target| is the object on which to call |setter| and |clearer|. 217 // |target| and |setter| must be non-NULL. |setter| should return true 222 CustomWriteOnlyAccessor(C* target, argument 273 CustomReadOnlyAccessor(C* target, T(C::*getter)(Error* error) const) argument 310 CustomMappedAccessor(C* target, void(C::*clearer)(const A& argument, Error* error), T(C::*getter)(const A& argument, Error* error), bool(C::*setter)(const A& argument, const T& value, Error* error), const A& argument) argument [all...] |
H A D | routing_table_unittest.cc | 709 QueryCallbackTarget target; local 710 EXPECT_CALL(target, MockedTarget(_, _)).Times(0); 717 target.mocked_callback(), 752 QueryCallbackTarget target; local 757 target.mocked_callback(), 772 EXPECT_CALL(target, 787 QueryCallbackTarget target; local 792 target.mocked_callback(), 803 EXPECT_CALL(target, 816 std::unique_ptr<QueryCallbackTarget> target(ne [all...] |
H A D | connection_unittest.cc | 1001 DisconnectCallbackTarget target; local 1002 Connection::Binder test_binder("from_test", target.callback()); 1004 EXPECT_CALL(target, CallTarget()).Times(1); 1020 DisconnectCallbackTarget target; local 1021 Connection::Binder binder("test", target.callback()); 1025 EXPECT_CALL(target, CallTarget()).Times(1); 1059 DisconnectCallbackTarget target; local 1060 Connection::Binder binder("test_weak", target.callback()); 1067 EXPECT_CALL(target, CallTarget()).Times(0);
|
/system/connectivity/shill/wimax/ |
H A D | wimax_unittest.cc | 253 Target target; local 254 EXPECT_CALL(target, EnabledStateChanged(_)); 256 Bind(&Target::EnabledStateChanged, Unretained(&target))); 264 EXPECT_CALL(target, EnabledStateChanged(_));
|
/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/netd/server/ |
H A D | IptablesBaseTest.cpp | 43 int IptablesBaseTest::fakeExecIptables(IptablesTarget target, ...) { argument 46 va_start(args, target); 56 if (target == V4 || target == V4V6) { 59 if (target == V6 || target == V4V6) { 66 int IptablesBaseTest::fakeExecIptablesRestore(IptablesTarget target, const std::string& commands) { argument 67 sRestoreCmds.push_back({ target, commands }); 71 int IptablesBaseTest::expectIptablesCommand(IptablesTarget target, int pos, argument 80 if (target 101 auto target = expectedCmds[i].first; local [all...] |
H A D | FirewallController.cpp | 173 IptablesTarget target = V4; local 175 target = V6; 186 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL); 187 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL); 198 IptablesTarget target = V4; local 200 target = V6; 217 res |= execIptables(target, op, LOCAL_INPUT, "-s", addr, "-p", protocolStr, 219 res |= execIptables(target, op, LOCAL_OUTPUT, "-d", addr, "-p", protocolStr, 244 const char* target; local 247 target 298 makeUidRules(IptablesTarget target, const char *name, bool isWhitelist, const std::vector<int32_t>& uids) argument [all...] |
H A D | NetdConstants.cpp | 73 static int execIptables(IptablesTarget target, bool silent, va_list args) { argument 95 if (target == V4 || target == V4V6) { 99 if (target == V6 || target == V4V6) { 106 int execIptables(IptablesTarget target, ...) { argument 108 va_start(args, target); 109 int res = execIptables(target, false, args); 114 int execIptablesSilently(IptablesTarget target, ...) { argument 116 va_start(args, target); 148 execIptablesRestore(IptablesTarget target, const std::string& commands) argument [all...] |
/system/tpm/trunks/ |
H A D | trunks_factory_for_test.cc | 41 // Forwards all calls to a target instance. 44 explicit TpmStateForwarder(TpmState* target) : target_(target) {} argument 119 // Forwards all calls to a target instance. 122 explicit TpmUtilityForwarder(TpmUtility* target) : target_(target) {} argument 353 // Forwards all calls to a target instance. 356 explicit AuthorizationDelegateForwarder(AuthorizationDelegate* target) argument 357 : target_(target) {} 388 // Forwards all calls to a target instanc 391 SessionManagerForwarder(SessionManager* target) argument 418 HmacSessionForwarder(HmacSession* target) argument 453 PolicySessionForwarder(PolicySession* target) argument 503 BlobParserForwarder(BlobParser* target) argument [all...] |
/system/update_engine/payload_generator/ |
H A D | payload_generation_config.h | 71 // target image. 134 // in the delta_generator and the one supported by the target. 146 // Image information about the new image that's the target of this payload. 147 ImageConfig target; member in struct:chromeos_update_engine::PayloadGenerationConfig 160 // filesystem in either source or target version, since there is some space
|
/system/extras/mmap-perf/ |
H A D | mmapPerf.cpp | 38 uint64_t *target = (uint64_t*)ptr; local 40 *target = seed ^ (uint64_t)(uintptr_t)target; 42 target++;
|
/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); 221 public static void doSignature( String target, argument 239 BootSignature bootsig = new BootSignature(target, imag [all...] |
H A D | verify_boot_signature.c | 44 ASN1_STRING *target; member in struct:__anon1771 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/sepolicy/tools/ |
H A D | sepolicy-check.c | 18 fprintf(stderr, "%s -s <source> -t <target> -c <class> -p <perm> -P <policy file>\n", arg0); 140 fprintf(stderr, "target type %s does not exist\n", t); 235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; local 244 {"target", required_argument, NULL, 't'}, 257 target = optarg; 273 if (!source || !target || !class || !perm || !policy) 282 match = check_rule(source, target, class, perm, &policydb);
|
/system/connectivity/shill/vpn/ |
H A D | third_party_vpn_driver.cc | 188 std::string* target, bool mandatory, std::string* error_message) { 193 *target = parameters.at(key); 204 char delimiter, std::vector<std::string>* target, bool mandatory, 224 target->swap(string_array); 235 char delimiter, std::vector<std::string>* target, bool mandatory, 264 target->swap(string_array); 275 char delimiter, std::vector<std::string>* target, bool mandatory, 285 target->swap(string_array); 296 int32_t* target, int32_t min_value, int32_t max_value, bool mandatory, 303 *target 186 ProcessIp( const std::map<std::string, std::string>& parameters, const char* key, std::string* target, bool mandatory, std::string* error_message) argument 202 ProcessIPArray( const std::map<std::string, std::string>& parameters, const char* key, char delimiter, std::vector<std::string>* target, bool mandatory, std::string* error_message, std::string* warning_message) argument 233 ProcessIPArrayCIDR( const std::map<std::string, std::string>& parameters, const char* key, char delimiter, std::vector<std::string>* target, bool mandatory, std::string* error_message, std::string* warning_message) argument 273 ProcessSearchDomainArray( const std::map<std::string, std::string>& parameters, const char* key, char delimiter, std::vector<std::string>* target, bool mandatory, std::string* error_message) argument 294 ProcessInt32( const std::map<std::string, std::string>& parameters, const char* key, int32_t* target, int32_t min_value, int32_t max_value, bool mandatory, std::string* error_message) argument [all...] |
/system/core/crash_reporter/ |
H A D | crash_collector.cc | 240 FilePath *target) { 265 *target = FilePath(buffer.data()); 271 FilePath target; local 274 if (!GetSymlinkTarget(exe_path, &target)) { 291 *base_name = target.BaseName().value(); 239 GetSymlinkTarget(const FilePath &symlink, FilePath *target) argument
|