Searched refs:name (Results 251 - 275 of 318) sorted by relevance

<<111213

/system/core/toolbox/
H A Dgetevent.c37 while(labels->name && value != labels->value) {
40 return labels->name;
300 char name[80]; local
322 name[sizeof(name) - 1] = '\0';
325 if(ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) {
326 //fprintf(stderr, "could not get device name for %s, %s\n", device, strerror(errno));
327 name[0] = '\0';
360 printf(" name
[all...]
H A Dtop.c14 * * Neither the name of Google, Inc. nor the names of its contributors
58 char name[PROC_NAME_LEN]; member in struct:proc_info
301 strcpy(proc->name, cur_proc.name);
333 /* Split at first '(' and last ')' to get process name. */
374 strncpy(proc->name, line, PROC_NAME_LEN);
375 proc->name[PROC_NAME_LEN-1] = 0;
377 proc->name[0] = 0;
484 proc->vss / 1024, proc->rss * getpagesize() / 1024, proc->policy, user_str, proc->name[0] != 0 ? proc->name
[all...]
/system/extras/ext4_utils/
H A Dext4fixup.c623 char name[256]; local
685 printf("fixing up short rec_len for diretory entry for %s\n", name);
696 strncpy(name, dirp->name, dirp->name_len);
697 name[dirp->name_len]='\0';
709 if ( is_dir && (strcmp(name, ".") && strcmp(name, "..")) &&
716 critical_error("inode %d for name %s does not point to a directory\n",
717 dirp->inode & 0x7fffffff, name);
741 printf("Directory %s\n", name);
[all...]
/system/core/sh/
H A Djobs.c18 * 3. Neither the name of the University nor the names of its contributors
676 getjobpgrp(const char *name) argument
680 jp = getjob(name, 1);
687 * Convert a job name to a job structure.
691 getjob(const char *name, int noerror) argument
699 if (name == NULL) {
704 } else if (name[0] == '%') {
705 if (is_number(name + 1)) {
706 jobno = number(name + 1) - 1;
707 } else if (!name[
[all...]
/system/core/libcutils/
H A Dtzstrftime.c25 ** by the University of California, Berkeley. The name of the
733 char * name; local
747 name = setlocale(LC_TIME, (char *) NULL);
748 if (name == NULL || *name == '\0')
751 ** If the locale name is the same as our cache, use the cache.
754 if (lbuf != NULL && strcmp(name, lbuf) == 0) {
765 namesize = strlen(name) + 1;
770 (void) sprintf(filename, "%s/%s/%s", locale_home, name, lc_time);
778 lc_time, name);
[all...]
H A Dmspace.c202 size_t max_capacity, int locked, char const *name) {
224 if (name)
225 snprintf(buf, sizeof(buf), "mspace/%s", name);
201 create_contiguous_mspace_with_name(size_t starting_capacity, size_t max_capacity, int locked, char const *name) argument
H A Dproperties.c58 char name[PROP_NAME_MAX]; local
64 __system_property_read(pi, name, value);
65 propfn(name, value, cookie);
/system/core/adb/
H A Dadb.c273 /* save product name in device structure */
340 char *name = (char*) p->data; local
341 name[p->msg.data_length > 0 ? p->msg.data_length - 1 : 0] = 0;
342 s = create_local_service_socket(name);
481 int local_name_to_fd(const char *name) argument
485 if(!strncmp("tcp:", name, 4)){
487 port = atoi(name + 4);
493 if(!strncmp(name, "local:", 6)) {
494 return socket_local_server(name + 6,
496 } else if(!strncmp(name, "localabstrac
[all...]
H A Dsockets.c403 asocket *create_local_service_socket(const char *name) argument
409 if (!strcmp(name,"jdwp")) {
412 if (!strcmp(name,"track-jdwp")) {
416 fd = service_to_fd(name);
420 D("LS(%d): bound to '%s' via %d\n", s->id, name, fd);
425 static asocket *create_host_service_socket(const char *name, const char* serial) argument
429 s = host_service_to_socket(name, serial);
432 D("LS(%d) bound to '%s'\n", s->id, name);
714 /* try to find a local service with this name.
H A Dtransport.c98 dump_packet(const char* name, const char* func, apacket* p) argument
115 /* There is some non-ASCII name in the command, so dump
131 name, func, cmd, arg0, arg1, len);
137 read_packet(int fd, const char* name, apacket** ppacket) argument
143 if (!name) {
145 name = buff;
153 D("%s: read_packet (fd=%d), error ret=%d errno=%d: %s\n", name, fd, r, errno, strerror(errno));
161 dump_packet(name, "from remote", *ppacket);
168 write_packet(int fd, const char* name, apacket** ppacket) argument
173 if (!name) {
[all...]
/system/core/libpixelflinger/codeflinger/
H A DARMAssemblerProxy.h43 virtual int generate(const char* name);
44 virtual void disassemble(const char* name);
H A DARMAssemblerProxy.cpp52 int ARMAssemblerProxy::generate(const char* name) { argument
53 return mTarget->generate(name);
55 void ARMAssemblerProxy::disassemble(const char* name) { argument
56 return mTarget->disassemble(name);
/system/core/libusbhost/
H A Dusbhost.c72 static inline int badname(const char *name) argument
74 while(*name) {
75 if(!isdigit(*name++)) return 1;
180 i = atoi(event->name);
181 snprintf(path, sizeof(path), "%s/%s", USB_FS_DIR, event->name);
191 snprintf(path, sizeof(path), "%s/%03d/%s", USB_FS_DIR, i, event->name);
305 int usb_device_get_unique_id_from_name(const char* name) argument
308 sscanf(name, USB_FS_ID_SCANNER, &bus, &dev);
/system/core/nexus/
H A DNetworkManager.cpp98 Controller *NetworkManager::findController(const char *name) { argument
102 if (!strcasecmp((*it)->getController()->getName(), name))
H A DNetworkManager.h67 Controller *findController(const char *name);
H A DWifiNetwork.cpp194 char *name; local
196 asprintf(&name, "wep_key%d", i);
198 if (mSuppl->getNetworkVar(mNetid, name, buffer, len))
200 free(name);
299 char *name; local
301 asprintf(&name, "wep_key%d", idx);
302 int rc = mSuppl->setNetworkVar(mNetid, name, key);
303 free(name);
665 const char *name,
668 IntegerProperty(name, r
664 WifiNetworkIntegerProperty(WifiNetwork *wn, const char *name, bool ro, int elements) argument
672 WifiNetworkStringProperty(WifiNetwork *wn, const char *name, bool ro, int elements) argument
[all...]
/system/extras/bugmailer/src/com/android/commands/sendbug/
H A DSendBug.java98 info.activityInfo.name);
127 intent.putExtra("to", sendToAccount.name);
/system/media/wilhelm/tests/sandbox/
H A Dreverb.c38 #define _(name) {#name, SL_I3DL2_ENVIRONMENT_PRESET_##name},
127 // Lookup environmental reverb settings by name
129 const SLEnvironmentalReverbSettings *lookupEnvName(const char *name) argument
133 if (!strcasecmp(name, pairs[j].mName)) {
149 const char *name = pairs[j].mName; local
150 unsigned nameLen = strlen(name);
161 fputs(name, stdout);
244 } else if (!strncmp(arg, "--mix-name", 1
[all...]
/system/core/include/usbhost/
H A Dusbhost.h102 /* Returns the name for the USB device, which is the same as
112 /* Returns a unique ID for the device name.
115 int usb_device_get_unique_id_from_name(const char* name);
117 /* Returns the device name for the unique ID.
136 /* Returns the manufacturer name for the USB device.
141 /* Returns the product name for the USB device.
/system/core/init/
H A Dkeychords.c118 INFO("starting service %s from keychord\n", svc->name);
/system/core/debuggerd/arm/
H A Dmachine.c110 _LOG(tfd, false, "%08x-%08x %s\n", next->start, next->end, next->name);
115 _LOG(tfd, false, "%08x-%08x %s\n", map->start, map->end, map->name);
120 _LOG(tfd, false, "%08x-%08x %s\n", prev->start, prev->end, prev->name);
/system/core/libnl_2/genl/
H A Dgenl.c247 /* Checks the netlink cache to find family reference by name string */
251 const char *name)
273 int genl_ctrl_resolve(struct nl_sock *sk, const char *name) argument
276 if (strcmp(name, "nlctrl") == 0)
250 genl_ctrl_search_by_name(struct nl_cache *cache, \ const char *name) argument
/system/extras/fatblock/
H A Dimport.c152 char name[11]; member in struct:item
261 if (convert_name(item->name, de->d_name)) {
316 item->name, item->is_dir ? FAT_ATTR_SUBDIR : 0,
/system/extras/tests/framebuffer/
H A Dmdp_test.c31 static int open_file(char *name, int *fd, int *len, int *fmt) argument
36 type = name;
37 fn = strchr(name, ':');
/system/vold/
H A Dcryptfs.c68 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
77 if (name) {
78 strncpy(io->name, name, sizeof(io->name));
363 char *real_blk_name, char *crypto_blk_name, const char *name)
381 ioctl_init(io, DM_CRYPT_BUF_SIZE, name, 0);
387 /* Get the device status, in particular, the name of it's device file */
388 ioctl_init(io, DM_CRYPT_BUF_SIZE, name, 0);
399 ioctl_init(io, 4096, name,
362 create_crypto_blk_dev(struct crypt_mnt_ftr *crypt_ftr, unsigned char *master_key, char *real_blk_name, char *crypto_blk_name, const char *name) argument
436 delete_crypto_blk_dev(char *name) argument
[all...]

Completed in 295 milliseconds

<<111213