Searched refs:type (Results 1 - 25 of 592) sorted by relevance

1234567891011>>

/system/extras/simpleperf/nonlinux_support/include/linux/
H A Dioctl.h17 #define __IO(type, nr)
18 #define __IOR(type, nr, size)
19 #define __IOW(type, nr, size)
/system/bt/stack/avct/
H A Davct_defs.h32 /* packet type */
51 #define AVCT_BUILD_HDR(p, label, type, cr_ipid) \
52 *(p)++ = ((label) << 4) | ((type) << 2) | (cr_ipid);
54 #define AVCT_PARSE_HDR(p, label, type, cr_ipid) \
57 (type) = (*(p) >> 2) & 3; \
/system/tools/hidl/
H A DScope.cpp33 bool Scope::addType(NamedType *type, std::string *errorMsg) { argument
34 const std::string &localName = type->localName();
39 *errorMsg = "A type named '";
47 mTypes.push_back(type);
56 LOG(WARNING) << fqName.string() << " does not refer to a type.";
110 for (const NamedType *type : mTypes) {
111 if (type->isInterface()) {
132 return forEachType([&](Type *type) {
133 return type->emitTypeDeclarations(out);
138 return forEachType([&](Type *type) {
[all...]
/system/core/include/cutils/
H A Dsockets.h74 * return type. The idea is to be able to use this return value with the
88 cutils_socket_t socket_network_client(const char* host, int port, int type);
89 int socket_network_client_timeout(const char* host, int port, int type,
91 int socket_loopback_server(int port, int type);
92 int socket_loopback_server6(int port, int type);
93 int socket_local_server(const char* name, int namespaceId, int type);
96 int type);
97 int socket_local_client(const char* name, int namespaceId, int type);
98 cutils_socket_t socket_inaddr_any_server(int port, int type);
/system/core/libcutils/include/cutils/
H A Dsockets.h74 * return type. The idea is to be able to use this return value with the
88 cutils_socket_t socket_network_client(const char* host, int port, int type);
89 int socket_network_client_timeout(const char* host, int port, int type,
91 int socket_loopback_server(int port, int type);
92 int socket_loopback_server6(int port, int type);
93 int socket_local_server(const char* name, int namespaceId, int type);
96 int type);
97 int socket_local_client(const char* name, int namespaceId, int type);
98 cutils_socket_t socket_inaddr_any_server(int port, int type);
/system/core/libcutils/include_vndk/cutils/
H A Dsockets.h74 * return type. The idea is to be able to use this return value with the
88 cutils_socket_t socket_network_client(const char* host, int port, int type);
89 int socket_network_client_timeout(const char* host, int port, int type,
91 int socket_loopback_server(int port, int type);
92 int socket_loopback_server6(int port, int type);
93 int socket_local_server(const char* name, int namespaceId, int type);
96 int type);
97 int socket_local_client(const char* name, int namespaceId, int type);
98 cutils_socket_t socket_inaddr_any_server(int port, int type);
/system/extras/simpleperf/
H A Devent_type.h33 // EventType represents one type of event, like cpu_cycle_event, cache_misses_event.
34 // The user knows one event type by its name, and the kernel knows one event type by its
35 // (type, config) pair. EventType connects the two representations, and tells the user if
36 // the event type is supported by the kernel.
39 EventType(const std::string& name, uint32_t type, uint64_t config) argument
40 : name(name), type(type), config(config) {
43 EventType() : type(0), config(0) {
47 uint32_t type; member in struct:EventType
[all...]
/system/core/libcutils/
H A Dsocket_loopback_server_unix.c34 static int _socket_loopback_server(int family, int type, struct sockaddr * addr, size_t size) argument
38 s = socket(family, type, 0);
50 if (type == SOCK_STREAM) {
65 int socket_loopback_server6(int port, int type) argument
74 return _socket_loopback_server(AF_INET6, type, (struct sockaddr *) &addr, sizeof(addr));
78 int socket_loopback_server(int port, int type) argument
87 return _socket_loopback_server(AF_INET, type, (struct sockaddr *) &addr, sizeof(addr));
/system/bt/btif/include/
H A Dbtif_sock_thread.h42 typedef void (*btsock_signaled_cb)(int fd, int type, int flags,
44 typedef void (*btsock_cmd_cb)(int cmd_fd, int type, int size, uint32_t user_id);
47 int btsock_thread_add_fd(int handle, int fd, int type, int flags,
/system/bt/osi/include/socket_utils/
H A Dsockets.h65 extern int osi_socket_local_server(const char* name, int namespaceId, int type);
69 int namespaceId, int type);
70 extern int osi_socket_local_client(const char* name, int namespaceId, int type);
/system/tools/hidl/c2hal/
H A DVarDeclaration.h26 VarDeclaration(Type *type, const std::string &name);
33 static std::string type() { return "var"; } function in struct:android::VarDeclaration
34 const std::string decType() const override { return type(); }
/system/bt/hci/include/
H A Dbtsnoop_mem.h27 typedef void (*btsnoop_data_cb)(const uint16_t type, const uint8_t* p_data,
H A Dhci_hal.h35 typedef void (*data_ready_cb)(serial_data_type_t type);
39 // Data |type| may be ACL, SCO, or EVENT.
64 // callback of the corresponding type.
65 size_t (*read_data)(serial_data_type_t type, uint8_t* buffer,
68 // reading a packet of the specified |type|. Underlying implementations that
71 void (*packet_finished)(serial_data_type_t type);
81 uint16_t (*transmit_data)(serial_data_type_t type, uint8_t* data,
/system/bt/stack/include/
H A Dadvertise_data_parser.h36 // EIR field type.
53 * where a field of |type| is located, together with its length in |p_length|
56 uint8_t type, uint8_t* p_length) {
67 if (adv_type == type) {
69 *p_length = len - 1; /* minus the length of type */
81 * This function returns a pointer inside the |adv| where a field of |type| is
85 uint8_t type, uint8_t* p_length) {
86 return GetFieldByType(ad.data(), ad.size(), type, p_length);
55 GetFieldByType(const uint8_t* ad, size_t ad_len, uint8_t type, uint8_t* p_length) argument
84 GetFieldByType(std::vector<uint8_t> const& ad, uint8_t type, uint8_t* p_length) argument
/system/bt/osi/include/
H A Ddata_dispatcher.h40 // Registers |type| and |queue| with the data dispatcher so that data
41 // sent under |type| ends up in |queue|. If |type| is already registered,
45 data_dispatcher_type_t type,
49 // type/queue relationship registered. If a default queue is already registered,
55 // Dispatches |data| to the queue registered for |type|. If no such registration
60 data_dispatcher_type_t type, void* data);
/system/bt/osi/src/
H A Ddata_dispatcher.cc71 data_dispatcher_type_t type,
76 (*dispatcher->dispatch_table)[type] = queue;
78 dispatcher->dispatch_table->erase(type);
89 data_dispatcher_type_t type, void* data) {
94 auto iter = dispatcher->dispatch_table->find(type);
104 "%s has no handler for type (%zd) in data dispatcher named: %s",
105 __func__, type, dispatcher->name);
70 data_dispatcher_register(data_dispatcher_t* dispatcher, data_dispatcher_type_t type, fixed_queue_t* queue) argument
88 data_dispatcher_dispatch(data_dispatcher_t* dispatcher, data_dispatcher_type_t type, void* data) argument
/system/update_engine/common/
H A Dfake_prefs.cc42 // Compile-time type-dependent constants definitions.
44 FakePrefs::PrefType const FakePrefs::PrefConsts<string>::type = member in class:chromeos_update_engine::FakePrefs::FakePrefs::PrefConsts
51 FakePrefs::PrefType const FakePrefs::PrefConsts<int64_t>::type = member in class:chromeos_update_engine::FakePrefs::FakePrefs::PrefConsts
58 FakePrefs::PrefType const FakePrefs::PrefConsts<bool>::type = member in class:chromeos_update_engine::FakePrefs::FakePrefs::PrefConsts
108 string FakePrefs::GetTypeName(PrefType type) { argument
109 switch (type) {
120 void FakePrefs::CheckKeyType(const string& key, PrefType type) const {
122 EXPECT_TRUE(it == values_.end() || it->second.type == type)
123 << "Key \"" << key << "\" if defined as " << GetTypeName(it->second.type)
[all...]
/system/update_engine/scripts/update_payload/
H A Dupdate_metadata_pb2.py29 type=None), variable
33 type=None), variable
37 type=None), variable
41 type=None), variable
45 type=None), variable
49 type=None), variable
53 type=None), variable
57 type=None), variable
61 type=None), variable
65 type variable
[all...]
/system/bt/tools/scripts/
H A Dbtsnooz.py32 # Enumeration of the values the 'type' field can take in a btsnooz
43 def type_to_direction(type):
45 Returns the inbound/outbound direction of a packet given its type.
49 if type in [TYPE_IN_EVT, TYPE_IN_ACL, TYPE_IN_SCO]:
54 def type_to_hci(type):
56 Returns the HCI type of a packet given its btsnooz type.
58 if type == TYPE_OUT_CMD:
60 if type == TYPE_IN_ACL or type
[all...]
/system/netd/tests/dns_responder/
H A Ddns_responder.h40 * for that type. Class is assumed to be IN. If no response is registered, the
49 void addMapping(const char* name, ns_type type, const char* addr);
50 void removeMapping(const char* name, ns_type type);
68 unsigned type; member in struct:test::DNSResponder::QueryKey
69 QueryKey(std::string n, unsigned t) : name(n), type(t) {}
71 return name == o.name && type == o.type;
76 return type < o.type;
83 static_cast<size_t>(key.type);
[all...]
/system/tools/aidl/
H A Dtype_namespace.h33 // Special reserved type names.
73 // CanonicalName() returns the canonical AIDL type, with packages.
102 // Add a container type to this namespace. Returns false only
106 // Returns true iff this has a type for |import|.
112 // Returns a pointer to a type corresponding to |raw_type| or nullptr
113 // if this is an invalid return type.
119 // Returns a pointer to a type corresponding to |a| or nullptr if |a|
120 // has an invalid argument type.
127 // Returns a pointer to a type corresponding to |interface|.
136 const AidlType& type, st
198 Add(const T* type) argument
392 const ValidatableType* type = Find(aidl_type); local
[all...]
/system/bt/hci/src/
H A Dbtsnoop_mem.cc33 const uint16_t type = packet->event & BT_EVT_MASK; local
36 switch (type) {
56 if (length) (*data_callback)(type, data, length, timestamp_us);
/system/bt/service/common/bluetooth/
H A Dadvertise_data.cc49 // EIR field type.
52 uint8_t type = data_[i + 1];
56 switch (type) {
62 VLOG(1) << "Cannot set EIR field type: " << type;
/system/bt/service/ipc/
H A Dipc_manager.cc37 bool IPCManager::Start(Type type, Delegate* delegate) { argument
38 switch (type) {
66 LOG(ERROR) << "Unsupported IPC type given: " << type;
H A Dipc_manager.h45 // called on the thread that started the particular IPC type.
53 virtual void OnIPCHandlerStarted(Type type) = 0;
57 virtual void OnIPCHandlerStopped(Type type) = 0;
66 // Initialize the underlying IPC handler based on |type|, if that type has not
68 // type has already been initialized or an error occurs.
79 bool Start(Type type, Delegate* delegate);
81 // Returns true if an IPC type has been initialized.

Completed in 622 milliseconds

1234567891011>>