Searched defs:type (Results 26 - 50 of 62) sorted by relevance

123

/system/core/libnl_2/
H A Dattr.c132 int type = nla_type(pos); local
134 if ((type <= maxtype) && (type != 0))
135 tb[type] = pos;
191 * to the message msg nested in a container of the type attrtype. The
203 /* Return type of the attribute. */
210 * in the attribute header (type,length). Return NULL if insufficient space */
/system/core/libpixelflinger/
H A Draster.cpp30 GGLsizei width, GGLsizei height, GGLenum type);
54 GGLsizei width, GGLsizei height, GGLenum type)
53 ggl_copyPixels(void* con, GGLint xs, GGLint ys, GGLsizei width, GGLsizei height, GGLenum type) argument
/system/core/libsparse/
H A Dbacked_block.c29 enum backed_block_type type; member in struct:backed_block
77 assert(bb->type == BACKED_BLOCK_DATA);
83 assert(bb->type == BACKED_BLOCK_FILE);
89 assert(bb->type == BACKED_BLOCK_FD);
95 assert(bb->type == BACKED_BLOCK_FILE || bb->type == BACKED_BLOCK_FD);
96 if (bb->type == BACKED_BLOCK_FILE) {
98 } else { /* bb->type == BACKED_BLOCK_FD */
105 assert(bb->type == BACKED_BLOCK_FILL);
111 return bb->type;
[all...]
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp81 bool NetlinkEvent::parseIfAddrMessage(int type, struct ifaddrmsg *ifaddr, argument
88 if (type != RTM_NEWADDR && type != RTM_DELADDR) {
89 SLOGE("parseIfAddrMessage on incorrect message type 0x%x\n", type);
94 const char *msgtype = (type == RTM_NEWADDR) ? "RTM_NEWADDR" : "RTM_DELADDR";
136 mAction = (type == RTM_NEWADDR) ? NlActionAddressUpdated :
249 SLOGD("Unexpected netlink message. type=0x%x\n", nh->nlmsg_type);
/system/core/toolbox/cp/
H A Dcp.c109 enum op type; local
273 type = DIR_TO_DNE;
275 type = FILE_TO_FILE;
277 type = FILE_TO_FILE;
279 if (have_trailing_slash && type == FILE_TO_FILE) {
290 type = FILE_TO_DIR;
303 exit(copy(argv, type, fts_options));
328 copy(char *argv[], enum op type, int fts_options) argument
363 if (type != FILE_TO_FILE) {
392 if (type !
[all...]
/system/core/toolbox/
H A Dmount.c165 do_mount(char *dev, char *dir, char *type, unsigned long rwflag, void *data, int loop, argument
204 while ((s = strsep(&type, ",")) != NULL) {
301 char *type = NULL; local
326 type = optarg;
340 * have a "type" as such. Use the dummy "none" type.
343 type = "none";
352 if (dev == NULL || dir == NULL || type == NULL) {
353 fprintf(stderr, "Usage: %s [-r] [-w] [-o options] [-t type] "
358 return do_mount(dev, dir, type, rwfla
[all...]
H A Dgetevent.c193 static void print_event(int type, int code, int value, int print_flags) argument
198 type_label = get_label(ev_labels, type);
202 switch(type) {
246 printf("%04x ", type);
256 printf("%04x %04x %08x", type, code, value);
650 print_event(event.type, event.code, event.value, print_flags);
651 if(sync_rate && event.type == 0 && event.code == 0) {
/system/extras/fatblock/
H A Dfs.c29 offset_t start, offset_t len, int type)
36 extent->type = type;
110 offset_t len, int type, cluster_t *first_cluster_out)
121 extent->type = type;
151 type);
204 strpadcpy(bs->type, "FAT32", ' ', sizeof(bs->type));
28 fs_add_extent(struct fs *fs, struct extent *extent, offset_t start, offset_t len, int type) argument
109 fs_alloc_extent(struct fs *fs, struct extent *extent, offset_t len, int type, cluster_t *first_cluster_out) argument
H A Dfat.h55 char type[8]; member in struct:fat_boot_sector
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_mutex.c122 static void set_mutexattr_type(pthread_mutexattr_t *attr, int type) argument
125 TZERO(pthread_mutexattr_settype(attr, type));
126 newtype = ~type;
128 TEXPECT_INT(newtype,type);
134 int ret, type; local
H A Dtest_pthread_rwlock.c144 int ret, type; local
/system/media/camera/tests/
H A Dcamera_metadata_tests.cpp263 EXPECT_EQ(TYPE_INT64, entry.type);
272 EXPECT_EQ(TYPE_INT32, entry.type);
281 EXPECT_EQ(TYPE_FLOAT, entry.type);
290 EXPECT_EQ(TYPE_FLOAT, entry.type);
358 EXPECT_EQ(TYPE_INT64, entry.type);
363 entry.type = 56;
370 EXPECT_EQ((uint8_t)56, entry.type);
439 EXPECT_EQ(e1.type, e2.type);
442 j < e1.count * camera_metadata_type_size[e1.type];
849 int type = get_camera_metadata_tag_type(tag); local
[all...]
/system/core/init/
H A Dutil.c87 int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid) argument
93 fd = socket(PF_UNIX, type, 0);
/system/core/libnetutils/
H A Ddhcpclient.c101 uint32_t type; member in struct:dhcp_info
136 static const char *dhcp_type_to_name(uint32_t type) argument
138 switch(type) {
155 dhcp_type_to_name(info->type), info->type);
223 info->type = *x;
416 info.type = 0;
431 if ( info.type == DHCPOFFER ) {
503 if (info.type == DHCPOFFER) {
511 if (info.type
[all...]
/system/core/sh/
H A Dnodes.h35 int type; member in struct:nbinary
42 int type; member in struct:ncmd
50 int type; member in struct:npipe
57 int type; member in struct:nredir
64 int type; member in struct:nif
72 int type; member in struct:nfor
80 int type; member in struct:ncase
87 int type; member in struct:nclist
95 int type; member in struct:narg
103 int type; member in struct:nfile
112 int type; member in struct:ndup
121 int type; member in struct:nhere
129 int type; member in struct:nnot
135 int type; member in union:node
[all...]
/system/extras/tests/fstest/
H A Dperm_checker.c62 enum perm_rule_type type; member in struct:perm_rule
122 pr->type = RECURSIVE;
125 pr->type = WILDCARD;
128 pr->type = EXACT_DIR;
131 pr->type = EXACT_FILE;
145 pr->next = rules[pr->type];
146 rules[pr->type] = pr;
148 printf("rule #%d: type = %d spec = %s min_mode = %o max_mode = %o "
150 num_rules, pr->type, pr->spec, pr->min_mode, pr->max_mode,
/system/extras/tests/sdcard/
H A Dtestcase.h120 Type type() const { return mType; } function in class:android_test::TestCase
/system/media/audio_route/
H A Daudio_route.c80 bool is_supported_ctl_type(enum mixer_ctl_type type) argument
82 switch (type) {
305 enum mixer_ctl_type type; local
310 type = mixer_ctl_get_type(ctl);
311 if (!is_supported_ctl_type(type))
328 enum mixer_ctl_type type; local
333 type = mixer_ctl_get_type(ctl);
334 if (!is_supported_ctl_type(type))
374 enum mixer_ctl_type type; local
432 type
479 enum mixer_ctl_type type; local
517 enum mixer_ctl_type type; local
542 enum mixer_ctl_type type; local
576 enum mixer_ctl_type type; local
592 enum mixer_ctl_type type; local
[all...]
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp109 static int wrap_key(EVP_PKEY* pkey, int type, uint8_t** keyBlob, size_t* keyBlobLength) { argument
122 /* int type + int size + private key data + int size + public key data */
136 /* Write key type to allocated buffer */
138 *p++ = (type >> (8*i)) & 0xFF;
172 // int32 magic, int32 type, int32 pubLen, char* pub, int32 privLen, char* priv
185 int type = 0; local
187 type = (type << 8) | *p++;
218 if (d2i_PrivateKey(type, &tmp, &p, privateLen) == NULL) {
406 ALOGW("Unsupported key type
608 int type = EVP_PKEY_type(pkey->type); local
725 int type = EVP_PKEY_type(pkey->type); local
[all...]
/system/core/adb/
H A Dsysdeps.h170 extern int socket_loopback_client(int port, int type);
171 extern int socket_network_client(const char *host, int port, int type);
172 extern int socket_loopback_server(int port, int type);
173 extern int socket_inaddr_any_server(int port, int type);
460 static __inline__ int unix_socketpair( int d, int type, int protocol, int sv[2] ) argument
462 return socketpair( d, type, protocol, sv );
H A Dusb_linux.c211 unsigned char type = bufptr[1]; local
213 if (type == USB_DT_INTERFACE) {
319 urb->type = USBDEVFS_URB_TYPE_BULK;
371 urb->type = USBDEVFS_URB_TYPE_BULK;
/system/core/liblog/
H A Dlogprint.c448 unsigned char type; local
454 type = *eventData++;
457 //fprintf(stderr, "--- type=%d (rem len=%d)\n", type, eventDataLen);
459 switch (type) {
575 fprintf(stderr, "Unknown binary event type %d\n", type);
/system/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp510 uint32_t ARMAssembler::reg_imm(int Rm, int type, uint32_t shift) argument
512 return ((shift&0x1F)<<7) | ((type&0x3)<<5) | (Rm&0xF);
520 uint32_t ARMAssembler::reg_reg(int Rm, int type, int Rs) argument
522 return ((Rs&0xF)<<8) | ((type&0x3)<<5) | (1<<4) | (Rm&0xF);
545 uint32_t ARMAssembler::reg_scale_pre(int Rm, int type, argument
550 reg_imm(abs(Rm), type, shift);
553 uint32_t ARMAssembler::reg_scale_post(int Rm, int type, uint32_t shift) argument
555 return (1<<25) | (((uint32_t(Rm)>>31)^1)<<23) | reg_imm(abs(Rm), type, shift);
H A DARMAssemblerProxy.cpp93 uint32_t ARMAssemblerProxy::reg_imm(int Rm, int type, uint32_t shift) argument
95 return mTarget->reg_imm(Rm, type, shift);
103 uint32_t ARMAssemblerProxy::reg_reg(int Rm, int type, int Rs) argument
105 return mTarget->reg_reg(Rm, type, Rs);
122 uint32_t ARMAssemblerProxy::reg_scale_pre(int Rm, int type, uint32_t shift, int W) argument
124 return mTarget->reg_scale_pre(Rm, type, shift, W);
127 uint32_t ARMAssemblerProxy::reg_scale_post(int Rm, int type, uint32_t shift) argument
129 return mTarget->reg_scale_post(Rm, type, shift);
/system/media/camera/docs/
H A Dmetadata_model.py265 Insert a type into the metadata.
268 type_name: A type's name
269 type_selector: The selector for the type, e.g. 'typedef'
279 Subsequent calls to insert_type with the same type name are safe (they
837 return Kind._combine_children_by_name(self, new_type=type(self))
937 return Kind._combine_children_by_name(self, new_type=type(self))
1009 type: The type attribute from <entry type="bar">
1032 type_notes: A string describing notes for the type, o
1092 def type(self): member in class:Entry
[all...]

Completed in 296 milliseconds

123