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

12

/system/core/base/
H A Dfile_test.cpp51 TemporaryFile target, link; local
53 ASSERT_EQ(0, symlink(target.path, link.path));
138 // size of the encrypted symlink target. There's also an off-by-one
/system/core/debuggerd/libdebuggerd/
H A Dopen_files_list.cpp54 std::string target; local
55 if (android::base::Readlink(path, &target)) {
56 list->emplace_back(fd, target);
/system/vold/fs/
H A DF2fs.cpp53 status_t Mount(const std::string& source, const std::string& target) { argument
55 const char* c_target = target.c_str();
H A DVfat.cpp126 status_t Mount(const std::string& source, const std::string& target, bool ro, argument
134 const char* c_target = target.c_str();
H A DExt4.cpp71 status_t Check(const std::string& source, const std::string& target) { argument
76 const char* c_target = target.c_str();
133 status_t Mount(const std::string& source, const std::string& target, bool ro, argument
139 const char* c_target = target.c_str();
169 const std::string& target) {
181 cmd.push_back(target);
194 cmd.push_back(target);
168 Format(const std::string& source, unsigned long numSectors, const std::string& target) argument
/system/core/adb/
H A Dline_printer.cpp92 SMALL_RECT target = { local
104 WriteConsoleOutput(console_, &char_data[0], buf_size, zero_zero, &target);
/system/core/libutils/
H A DPrinter.cpp124 String8Printer::String8Printer(String8* target, const char* prefix) : argument
125 mTarget(target),
128 if (target == NULL) {
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
H A Dtarget.h44 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 DControllers.cpp90 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain, argument
108 execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *childChain, NULL);
114 execIptablesRestore(target, command);
H A DIptablesBaseTest.cpp64 int IptablesBaseTest::fakeExecIptables(IptablesTarget target, ...) { argument
67 va_start(args, target);
77 if (target == V4 || target == V4V6) {
80 if (target == V6 || target == V4V6) {
97 int IptablesBaseTest::fakeExecIptablesRestoreWithOutput(IptablesTarget target, argument
100 sRestoreCmds.push_back({ target, commands });
110 int IptablesBaseTest::fakeExecIptablesRestore(IptablesTarget target, const std::string& commands) { argument
111 return fakeExecIptablesRestoreWithOutput(target, command
114 fakeExecIptablesRestoreCommand(IptablesTarget target, const std::string& table, const std::string& command, std::string *output) argument
122 expectIptablesCommand(IptablesTarget target, int pos, const std::string& cmd) argument
152 auto target = expectedCmds[i].first; local
[all...]
H A DFirewallController.cpp165 IptablesTarget target = V4; local
167 target = V6;
178 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL);
179 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL);
190 IptablesTarget target = V4; local
192 target = V6;
209 res |= execIptables(target, op, LOCAL_INPUT, "-s", addr, "-p", protocolStr,
211 res |= execIptables(target, op, LOCAL_OUTPUT, "-d", addr, "-p", protocolStr,
233 const char* target; local
236 target
279 makeUidRules(IptablesTarget target, const char *name, bool isWhitelist, const std::vector<int32_t>& uids) argument
[all...]
H A DIptablesRestoreController.cpp345 int IptablesRestoreController::execute(const IptablesTarget target, const std::string& command, argument
357 if (target == V4 || target == V4V6) {
360 if (target == V6 || target == V4V6) {
H A DIptablesRestoreControllerTest.cpp171 IptablesTarget target = (IptablesTarget) (i % 3); local
173 ASSERT_EQ(-1, con.execute(target, "malformed command\n", output)) <<
175 ASSERT_EQ(0, con.execute(target, "#Test\n", output)) <<
214 "target prot opt source destination ",
217 "target prot opt source destination ",
/system/tpm/trunks/
H A Dtrunks_factory_for_test.cc44 // Forwards all calls to a target instance.
47 explicit TpmStateForwarder(TpmState* target) : target_(target) {} argument
115 // Forwards all calls to a target instance.
118 explicit TpmUtilityForwarder(TpmUtility* target) : target_(target) {} argument
356 // Forwards all calls to a target instance.
359 explicit AuthorizationDelegateForwarder(AuthorizationDelegate* target) argument
360 : target_(target) {}
389 // Forwards all calls to a target instanc
392 SessionManagerForwarder(SessionManager* target) argument
418 HmacSessionForwarder(HmacSession* target) argument
451 PolicySessionForwarder(PolicySession* target) argument
500 BlobParserForwarder(BlobParser* target) argument
[all...]
/system/extras/mmap-perf/
H A DmmapPerf.cpp38 uint64_t *target = (uint64_t*)ptr; local
40 *target = seed ^ (uint64_t)(uintptr_t)target;
42 target++;
/system/extras/verity/
H A DBootSignature.java57 * 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 Dverify_boot_signature.c45 ASN1_STRING *target; member in struct:__anon1766
50 ASN1_SIMPLE(AuthAttrs, target, ASN1_PRINTABLE),
/system/nvram/hal/tests/
H A Dnvram_hal_test.cc45 // Returns true if |target| contains |value|.
47 bool Contains(T value, const std::vector<T>& target) { argument
48 return (std::find(target.begin(), target.end(), value) != target.end());
51 // Returns true if |target| contains all of |values|.
54 const std::vector<T>& target) {
56 [target](T value) { return Contains(value, target); });
53 ContainsAll(const std::vector<T>& values, const std::vector<T>& target) argument
/system/update_engine/payload_generator/
H A Dpayload_generation_config.h79 // target image.
142 // in the delta_generator and the one supported by the target.
154 // Image information about the new image that's the target of this payload.
155 ImageConfig target; member in struct:chromeos_update_engine::PayloadGenerationConfig
168 // filesystem in either source or target version, since there is some space
/system/vold/
H A DLoop.cpp239 int Loop::create(const std::string& target, std::string& out_device) { argument
254 unique_fd target_fd(open(target.c_str(), O_RDWR | O_CLOEXEC));
256 PLOG(ERROR) << "Failed to open " << target;
/system/core/debuggerd/
H A Dcrash_dump.cpp156 static void abort_handler(pid_t target, const bool& tombstoned_connected, argument
162 if (!tombstoned_connect(target, &tombstoned_socket, &output_fd)) {
170 if (target != 1) {
171 dprintf(output_fd.get(), " %d: %s\n", target, abort_msg);
198 pid_t target = getppid(); local
205 abort_handler(target, tombstoned_connected, tombstoned_socket, output_fd, abort_msg);
234 if (target == 1) {
235 LOG(FATAL) << "target died before we could attach (received main tid = " << main_tid << ")";
240 LOG(FATAL) << "failed to fetch process info for target " << main_tid;
243 if (main_tid != target_info.tid || target !
[all...]
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/
H A Dperf.h169 struct perf_target target; member in struct:perf_record_opts
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/
H A Dperf.h205 #include "util/target.h"
214 struct perf_target target; member in struct:perf_record_opts
/system/gatekeeper/
H A Dgatekeeper_messages.cpp49 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 DNetdClient.cpp132 int setNetworkForTarget(unsigned netId, std::atomic_uint* target) { argument
134 *target = netId;
151 *target = netId;

Completed in 9135 milliseconds

12