/system/bt/osi/include/ |
D | atomic.h | 49 #define ATOMIC_TYPE(name, type) \ argument 55 #define ATOMIC_STORE(name, type, sz) \ argument 60 #define ATOMIC_LOAD(name, type, sz) \ argument 66 #define ATOMIC_INC_PREFIX(name, type, sz) \ argument 72 #define ATOMIC_DEC_PREFIX(name, type, sz) \ argument 78 #define ATOMIC_INC_POSTFIX(name, type, sz) \ argument 84 #define ATOMIC_DEC_POSTFIX(name, type, sz) \ argument 90 #define ATOMIC_ADD(name, type, sz) \ argument 96 #define ATOMIC_SUB(name, type, sz) \ argument 101 #define ATOMIC_MAKE(name, type, sz) \ argument
|
/system/core/include/cutils/ |
D | trace.h | 171 #define ATRACE_BEGIN(name) atrace_begin(ATRACE_TAG, name) argument 172 static inline void atrace_begin(uint64_t tag, const char* name) in atrace_begin() 200 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument 202 static inline void atrace_async_begin(uint64_t tag, const char* name, in atrace_async_begin() 215 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument 216 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() 228 #define ATRACE_INT(name, value) atrace_int(ATRACE_TAG, name, value) argument 229 static inline void atrace_int(uint64_t tag, const char* name, int32_t value) in atrace_int() 241 #define ATRACE_INT64(name, value) atrace_int64(ATRACE_TAG, name, value) argument 242 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/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/toolbox/ |
D | toolbox.c | 20 #define TOOL(name) int name##_main(int, char**); argument 26 const char *name; member 30 #define TOOL(name) { #name, name##_main }, argument 46 char *name = argv[0]; in main() local
|
D | watchprops.c | 23 static void announce(char *name, char *value) in announce() 34 static void add_to_watchlist(Hashmap *watchlist, const char *name, in add_to_watchlist() 49 char name[PROP_NAME_MAX]; in populate_watchlist() local 59 char name[PROP_NAME_MAX]; in update_watchlist() local
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 80 const char *name; member 143 static inline void printIter(uint64_t time_ns, const char *name, size_t size, size_t copies, double… in printIter() 148 static inline void printSummary(uint64_t /*time_ns*/, const char *name, size_t size, size_t copies,… in printSummary() 177 static void inline printColdIter(uint64_t time_ns, const char *name, size_t size, size_t copies, si… in printColdIter() 183 uint64_t /*time_ns*/, const char *name, size_t size, size_t copies, size_t num_buffers, in printColdSummary() 220 #define MAINLOOP_DATA(name, cmd_data, size, BENCH) \ argument 233 #define MAINLOOP_COLD(name, cmd_data, size, num_incrs, BENCH) \ argument 265 #define BENCH_ONE_BUF(name, cmd_data, INIT, BENCH) \ argument 279 #define BENCH_TWO_BUFS(name, cmd_data, INIT, BENCH) \ argument 306 #define COLD_ONE_BUF(name, cmd_data, INIT, BENCH) \ argument [all …]
|
/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()
|
D | trace-dev.c | 194 void atrace_begin_body(const char* name) in atrace_begin_body() 204 void atrace_async_begin_body(const char* name, int32_t cookie) in atrace_async_begin_body() 214 void atrace_async_end_body(const char* name, int32_t cookie) in atrace_async_end_body() 224 void atrace_int_body(const char* name, int32_t value) in atrace_int_body() 234 void atrace_int64_body(const char* name, int64_t value) in atrace_int64_body()
|
/system/core/logd/ |
D | LogStatistics.cpp | 155 char *name = android::uidToName(userId); in uidToName() local 187 android::String8 &name, android::String8 &size, android::String8 &pruned) { in format_line() 288 android::String8 name(""); in format() local 316 android::String8 name(""); in format() local 351 android::String8 name(""); in format() local 369 android::String8 name(""); in format() local 410 android::String8 name("Chattiest TIDs:"); in format() local 423 android::String8 name(""); in format() local 468 android::String8 name("Chattiest events log buffer TAGs:"); in format() local 479 android::String8 name(""); in format() local [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/bt/btif/src/ |
D | btif_sock_sdp.c | 111 static bool create_base_record(const uint32_t sdp_handle, const char *name, in create_base_record() 167 static int add_sdp_by_uuid(const char *name, const uint8_t *uuid, in add_sdp_by_uuid() 219 static int add_pbap_sdp(const char *name, const int channel) { in add_pbap_sdp() 268 static int add_ops_sdp(const char *name, const int channel) { in add_ops_sdp() 337 static int add_spp_sdp(const char *name, const int channel) { in add_spp_sdp() 373 static int add_rfc_sdp_by_uuid(const char *name, const uint8_t *uuid, in add_rfc_sdp_by_uuid() 438 int add_rfc_sdp_rec(const char *name, const uint8_t *uuid, const int channel) { in add_rfc_sdp_rec()
|
/system/extras/ext4_utils/ |
D | unencrypted_properties.h | 51 template<typename t> t UnencryptedProperties::Get(const char* name, in Get() 60 template<typename t> bool UnencryptedProperties::Set(const char* name, in Set()
|
D | unencrypted_properties.cpp | 38 template<> std::string UnencryptedProperties::Get(const char* name, in Get() 63 template<> bool UnencryptedProperties::Set(const char* name, std::string const& value) in Set() 85 bool UnencryptedProperties::Remove(const char* name) in Remove()
|
/system/netd/server/ |
D | NetlinkHandler.cpp | 147 void NetlinkHandler::notifyInterfaceAdded(const char *name) { in notifyInterfaceAdded() 151 void NetlinkHandler::notifyInterfaceRemoved(const char *name) { in notifyInterfaceRemoved() 155 void NetlinkHandler::notifyInterfaceChanged(const char *name, bool isUp) { in notifyInterfaceChanged() 160 void NetlinkHandler::notifyInterfaceLinkChanged(const char *name, bool isUp) { in notifyInterfaceLinkChanged() 165 void NetlinkHandler::notifyQuotaLimitReached(const char *name, const char *iface) { in notifyQuotaLimitReached() 169 void NetlinkHandler::notifyInterfaceClassActivity(const char *name, in notifyInterfaceClassActivity()
|
/system/core/init/ |
D | property_service.cpp | 93 static int check_mac_perms(const char *name, char *sctx) in check_mac_perms() 118 static int check_control_mac_perms(const char *name, char *sctx) in check_control_mac_perms() 139 static int check_perms(const char *name, char *sctx) in check_perms() 147 int __property_get(const char *name, char *value) in __property_get() 152 static void write_persistent_property(const char *name, const char *value) in write_persistent_property() 175 static bool is_legal_property_name(const char* name, size_t namelen) in is_legal_property_name() 201 static int property_set_impl(const char* name, const char* value) { in property_set_impl() 254 int property_set(const char* name, const char* value) { in property_set()
|
/system/security/keystore/ |
D | IKeystoreService.cpp | 421 virtual int32_t get(const String16& name, uint8_t** item, size_t* itemLength) in get() 454 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid, in insert() 479 virtual int32_t del(const String16& name, int uid) in del() 499 virtual int32_t exist(const String16& name, int uid) in exist() 640 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize, in generate() 673 virtual int32_t import(const String16& name, const uint8_t* key, size_t keyLength, int uid, in import() 698 virtual int32_t sign(const String16& name, const uint8_t* in, size_t inLength, uint8_t** out, in sign() 735 virtual int32_t verify(const String16& name, const uint8_t* in, size_t inLength, in verify() 763 virtual int32_t get_pubkey(const String16& name, uint8_t** pubkey, size_t* pubkeyLength) in get_pubkey() 796 virtual int32_t grant(const String16& name, int32_t granteeUid) in grant() [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/core/libziparchive/ |
D | zip_archive_test.cc | 66 static int32_t OpenArchiveWrapper(const std::string& name, in OpenArchiveWrapper() 73 const ZipEntryName& name) { in AssertNameEquals() 121 ZipEntryName name; in TEST() local 158 ZipEntryName name; in TEST() local 187 ZipEntryName name; in TEST() local 221 ZipEntryName name; in TEST() local 251 ZipEntryName name; in TEST() local 264 ZipEntryName name; in TEST() local 292 ZipEntryName name; in TEST() local 505 ZipEntryName name; in TEST() local
|
/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/extras/simpleperf/ |
D | environment.cpp | 87 char name[reader.MaxLineSize()]; in ProcessKernelSymbols() local 124 static bool FindKernelFunctionSymbolCallback(const KernelSymbol& symbol, const std::string& name, in FindKernelFunctionSymbolCallback() 134 static bool FindKernelFunctionSymbol(const std::string& symbol_file, const std::string& name, in FindKernelFunctionSymbol() 152 char name[reader.MaxLineSize()]; in GetLoadedModules() local 181 for (auto& name : files) { in GetAllModuleFiles() local 188 for (auto& name : subdirs) { in GetAllModuleFiles() local 280 for (auto& name : subdirs) { in GetThreadComm() local 305 for (auto& name : subdirs) { in GetThreadComms() local
|
D | environment.h | 30 std::string name; member 37 std::string name; member 59 std::string name; member 76 const char* name; member
|
/system/bt/test/suite/cases/ |
D | adapter.c | 49 bt_property_t *name = property_new_name("set_name"); in adapter_set_name() local 64 bt_property_t *name = property_new_name("get_name"); in adapter_get_name() local
|