/system/core/toolbox/ |
D | toolbox.c | 18 #define TOOL(name) int name##_main(int, char**); argument 24 const char *name; member 28 #define TOOL(name) { #name, name##_main }, argument 37 char *name = argv[0]; in main() local
|
D | watchprops.c | 22 static void announce(char *name, char *value) in announce() 33 static void add_to_watchlist(Hashmap *watchlist, const char *name, in add_to_watchlist() 48 char name[PROP_NAME_MAX]; in populate_watchlist() local 58 char name[PROP_NAME_MAX]; in update_watchlist() local
|
D | readlink.c | 39 static void usage(char* name) { in usage() 69 char name[PATH_MAX+1]; in readlink_main() local
|
D | syren.c | 23 const char *name; member 43 static syren_reg *find_reg(const char *name) in find_reg() 67 char name[32]; in syren_main() local
|
/system/core/include/cutils/ |
D | trace.h | 183 #define ATRACE_BEGIN(name) atrace_begin(ATRACE_TAG, name) argument 184 static inline void atrace_begin(uint64_t tag, const char* name) in atrace_begin() 215 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument 217 static inline void atrace_async_begin(uint64_t tag, const char* name, in atrace_async_begin() 234 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument 235 static inline void atrace_async_end(uint64_t tag, const char* name, in atrace_async_end() 253 #define ATRACE_INT(name, value) atrace_int(ATRACE_TAG, name, value) argument 254 static inline void atrace_int(uint64_t tag, const char* name, int32_t value) in atrace_int() 270 #define ATRACE_INT64(name, value) atrace_int64(ATRACE_TAG, name, value) argument 271 static inline void atrace_int64(uint64_t tag, const char* name, int64_t value) in atrace_int64()
|
/system/core/liblog/tests/ |
D | benchmark.h | 38 Benchmark(const char* name, void (*fn)(int)) : name_(strdup(name)), fn_(fn) { in Benchmark() 41 Benchmark(const char* name) : name_(strdup(name)), fn_(NULL) {} in Benchmark() 61 BenchmarkWantsArgBase(const char* name, void (*fn)(int, T)) : Benchmark(name) { in BenchmarkWantsArgBase() 78 BenchmarkWithArg(const char* name, void (*fn)(int, T), const char* arg_name, T arg) : in BenchmarkWithArg() 118 static inline Benchmark* BenchmarkFactory(const char* name, void (*fn)(int)) { in BenchmarkFactory() 123 static inline BenchmarkWantsArg<T>* BenchmarkFactory(const char* name, void (*fn)(int, T)) { in BenchmarkFactory() 130 static inline void BenchmarkAddArg(::testing::Benchmark* b, const char* name, T arg) { in BenchmarkAddArg()
|
/system/core/libcutils/ |
D | socket_local_client.c | 27 int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client() 47 int socket_make_sockaddr_un(const char *name, int namespaceId, in socket_make_sockaddr_un() 126 int socket_local_client_connect(int fd, const char *name, int namespaceId, in socket_local_client_connect() 153 int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client()
|
D | socket_local_server.c | 28 int socket_local_server(const char *name, int namespaceId, int type) in socket_local_server() 55 int socket_local_server_bind(int s, const char *name, int namespaceId) 97 int socket_local_server(const char *name, int namespace, int type)
|
D | config_utils.c | 26 cnode* config_node(const char *name, const char *value) in config_node() 39 cnode* config_find(cnode *root, const char *name) in config_find() 51 static cnode* _config_create(cnode *root, const char *name) in _config_create() 67 int config_bool(cnode *root, const char *name, int _default) in config_bool() 85 const char* config_str(cnode *root, const char *name, const char *_default) in config_str() 95 void config_set(cnode *root, const char *name, const char *value) in config_set()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 165 static void ifc_init_ifr(const char *name, struct ifreq *ifr) in ifc_init_ifr() 172 int ifc_get_hwaddr(const char *name, void *ptr) in ifc_get_hwaddr() 185 int ifc_get_ifindex(const char *name, int *if_indexp) in ifc_get_ifindex() 198 static int ifc_set_flags(const char *name, unsigned set, unsigned clr) in ifc_set_flags() 208 int ifc_up(const char *name) in ifc_up() 215 int ifc_down(const char *name) in ifc_down() 230 int ifc_set_addr(const char *name, in_addr_t addr) in ifc_set_addr() 252 int ifc_act_on_address(int action, const char *name, const char *address, in ifc_act_on_address() 342 int ifc_add_address(const char *name, const char *address, int prefixlen) { in ifc_add_address() 346 int ifc_del_address(const char *name, const char * address, int prefixlen) { in ifc_del_address() [all …]
|
/system/core/libsysutils/src/ |
D | ServiceManager.cpp | 41 int ServiceManager::start(const char *name) { in start() 70 int ServiceManager::stop(const char *name) { in stop() 100 bool ServiceManager::isRunning(const char *name) { in isRunning()
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 79 const char *name; member 142 static inline void printIter(uint64_t time_ns, const char *name, size_t size, size_t copies, double… in printIter() 147 static inline void printSummary(uint64_t /*time_ns*/, const char *name, size_t size, size_t copies,… in printSummary() 176 static void inline printColdIter(uint64_t time_ns, const char *name, size_t size, size_t copies, si… in printColdIter() 182 uint64_t /*time_ns*/, const char *name, size_t size, size_t copies, size_t num_buffers, in printColdSummary() 219 #define MAINLOOP_DATA(name, cmd_data, size, BENCH) \ argument 232 #define MAINLOOP_COLD(name, cmd_data, size, num_incrs, BENCH) \ argument 264 #define BENCH_ONE_BUF(name, cmd_data, INIT, BENCH) \ argument 278 #define BENCH_TWO_BUFS(name, cmd_data, INIT, BENCH) \ argument 305 #define COLD_ONE_BUF(name, cmd_data, INIT, BENCH) \ argument [all …]
|
/system/security/keystore/ |
D | IKeystoreService.cpp | 74 virtual int32_t get(const String16& name, uint8_t** item, size_t* itemLength) in get() 107 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid, in insert() 132 virtual int32_t del(const String16& name, int uid) in del() 152 virtual int32_t exist(const String16& name, int uid) in exist() 172 virtual int32_t saw(const String16& name, int uid, Vector<String16>* matches) in saw() 288 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize, in generate() 320 virtual int32_t import(const String16& name, const uint8_t* key, size_t keyLength, int uid, in import() 345 virtual int32_t sign(const String16& name, const uint8_t* in, size_t inLength, uint8_t** out, in sign() 382 virtual int32_t verify(const String16& name, const uint8_t* in, size_t inLength, in verify() 410 virtual int32_t get_pubkey(const String16& name, uint8_t** pubkey, size_t* pubkeyLength) in get_pubkey() [all …]
|
/system/core/include/utils/ |
D | Trace.h | 39 #define ATRACE_NAME(name) android::ScopedTrace ___tracer(ATRACE_TAG, name) argument 47 inline ScopedTrace(uint64_t tag, const char* name) in ScopedTrace()
|
/system/netd/server/ |
D | NetlinkHandler.cpp | 140 void NetlinkHandler::notifyInterfaceAdded(const char *name) { in notifyInterfaceAdded() 144 void NetlinkHandler::notifyInterfaceRemoved(const char *name) { in notifyInterfaceRemoved() 148 void NetlinkHandler::notifyInterfaceChanged(const char *name, bool isUp) { in notifyInterfaceChanged() 153 void NetlinkHandler::notifyInterfaceLinkChanged(const char *name, bool isUp) { in notifyInterfaceLinkChanged() 158 void NetlinkHandler::notifyQuotaLimitReached(const char *name, const char *iface) { in notifyQuotaLimitReached() 162 void NetlinkHandler::notifyInterfaceClassActivity(const char *name, in notifyInterfaceClassActivity()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.c | 256 static void verity_ioctl_init(struct dm_ioctl *io, char *name, unsigned flags) in verity_ioctl_init() 270 static int create_verity_device(struct dm_ioctl *io, char *name, int fd) in create_verity_device() 280 static int get_verity_device_name(struct dm_ioctl *io, char *name, int fd, char **dev_name) in get_verity_device_name() 295 static int load_verity_table(struct dm_ioctl *io, char *name, char *blockdev, int fd, char *table) in load_verity_table() 336 static int resume_verity_table(struct dm_ioctl *io, char *name, int fd) in resume_verity_table() 357 static int set_verified_property(char *name) { in set_verified_property()
|
/system/core/fastbootd/other/ |
D | gptedit.c | 177 char name[GPT_NAMELEN + 1]; in printGPT() local 197 char name[GPT_NAMELEN + 1]; in configPrintGPT() local 242 char *name = arg; in addGPT() local 287 void deleteGPT(struct GPT_entry_table *table, const char *name) { in deleteGPT()
|
/system/vold/ |
D | Devmapper.cpp | 118 const char *name, unsigned flags) { in ioctlInit() 133 int Devmapper::lookupActive(const char *name, char *ubuffer, size_t len) { in lookupActive() 166 int Devmapper::create(const char *name, const char *loopFile, const char *key, in create() 264 int Devmapper::destroy(const char *name) { in destroy()
|
/system/core/libcutils/arch-x86_64/ |
D | android_memset16_SSE2-atom.S | 39 # define ENTRY(name) \ argument 48 # define END(name) \ argument
|
D | android_memset32_SSE2-atom.S | 39 # define ENTRY(name) \ argument 48 # define END(name) \ argument
|
/system/core/libutils/ |
D | StopWatch.cpp | 38 StopWatch::StopWatch(const char *name, int clock, uint32_t flags) in StopWatch() 56 const char* StopWatch::name() const in name() function in android::StopWatch
|
/system/core/init/ |
D | property_service.c | 95 static int check_mac_perms(const char *name, char *sctx) in check_mac_perms() 122 static int check_control_mac_perms(const char *name, char *sctx) in check_control_mac_perms() 143 static int check_perms(const char *name, char *sctx) in check_perms() 154 int __property_get(const char *name, char *value) in __property_get() 159 static void write_persistent_property(const char *name, const char *value) in write_persistent_property() 182 static bool is_legal_property_name(const char* name, size_t namelen) in is_legal_property_name() 208 int property_set(const char *name, const char *value) in property_set()
|
/system/core/fastbootd/ |
D | network_discovery.c | 50 const char *name, const char *regtype, const char *domain, void *context) in reg_reply() 82 char name[PROP_VALUE_MAX]; in register_service() local
|
/system/core/netcfg/ |
D | netcfg.c | 46 int dump_interface(const char *name) in dump_interface() 87 int set_hwaddr(const char *name, const char *asc) { in set_hwaddr() 98 const char *name; member
|
/system/core/toolbox/upstream-netbsd/bin/kill/ |
D | kill.c | 202 nosig(char *name) in nosig() 216 const char *name; in printsignals() local
|