Searched refs:name (Results 126 - 150 of 184) sorted by relevance

12345678

/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.c26 ** by the University of California, Berkeley. The name of the
734 char * name; local
748 name = setlocale(LC_TIME, (char *) NULL);
749 if (name == NULL || *name == '\0')
752 ** If the locale name is the same as our cache, use the cache.
755 if (lbuf != NULL && strcmp(name, lbuf) == 0) {
766 namesize = strlen(name) + 1;
771 (void) sprintf(filename, "%s/%s/%s", locale_home, name, lc_time);
779 lc_time, name);
[all...]
H A Dproperties.c58 char name[PROP_NAME_MAX]; local
64 __system_property_read(pi, name, value);
65 propfn(name, value, cookie);
/system/core/toolbox/
H A Dtop.c14 * * Neither the name of Google, Inc. nor the names of its contributors
59 char name[PROC_NAME_LEN]; member in struct:proc_info
302 strcpy(proc->name, cur_proc.name);
334 /* Split at first '(' and last ')' to get process name. */
375 strncpy(proc->name, line, PROC_NAME_LEN);
376 proc->name[PROC_NAME_LEN-1] = 0;
378 proc->name[0] = 0;
481 proc->vss / 1024, proc->rss * getpagesize() / 1024, proc->policy, user_str, proc->name[0] != 0 ? proc->name
[all...]
/system/core/init/
H A DAndroid.mk61 # local module name
H A Dkeychords.c118 INFO("starting service %s from keychord\n", svc->name);
/system/core/libcorkscrew/
H A Dptrace.c90 if (mi->name[0]) {
91 data->symbol_table = load_symbol_table(mi->name);
H A Dtest.c20 // get_backtrace_symbols found the symbol's name with dladdr(3).
35 fprintf(stderr, " %s (%s%+d)\n", line, symbol->name, offset);
/system/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp86 void ARMAssembler::disassemble(const char* name) argument
88 if (name) {
89 printf("%s:\n", name);
167 int ARMAssembler::generate(const char* name) argument
185 ALOGI(format, name, int(pc()-base()), base(), pc(), duration);
189 int err = qemu_add_mapping(int(base()), name);
197 printf(format, name, int(pc()-base()), base(), pc(), duration);
198 disassemble(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);
H A Ddisassem.c20 * 4. The name of the company nor the name of the author may be used to
111 char* name; member in struct:arm32_insn
320 while (i_ptr->name) {
335 di->di_printf("%s", i_ptr->name);
337 di->di_printf("%s%s", i_ptr->name, insn_condition(insn));
/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/extras/ext4_utils/
H A Dcontents.c56 struct ext4_dir_entry_2 *prev, u32 inode, const char *name,
59 u8 name_len = strlen(name);
79 memcpy(dentry->name, name, name_len);
55 add_dentry(u8 *data, u32 *offset, struct ext4_dir_entry_2 *prev, u32 inode, const char *name, u8 file_type) argument
/system/core/adb/
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...]
H A Dsockets.c410 asocket *create_local_service_socket(const char *name) argument
416 if (!strcmp(name,"jdwp")) {
419 if (!strcmp(name,"track-jdwp")) {
423 fd = service_to_fd(name);
427 D("LS(%d): bound to '%s' via %d\n", s->id, name, fd);
430 if ((!strncmp(name, "root:", 5) && getuid() != 0)
431 || !strncmp(name, "usb:", 4)
432 || !strncmp(name, "tcpip:", 6)) {
442 static asocket *create_host_service_socket(const char *name, const char* serial) argument
446 s = host_service_to_socket(name, seria
[all...]
H A Dadb.c291 "ro.product.name",
449 if (!strcmp(key, "ro.product.name"))
556 char *name = (char*) p->data; local
557 name[p->msg.data_length > 0 ? p->msg.data_length - 1 : 0] = 0;
558 s = create_local_service_socket(name);
697 int local_name_to_fd(const char *name) argument
701 if(!strncmp("tcp:", name, 4)){
703 port = atoi(name + 4);
709 if(!strncmp(name, "local:", 6)) {
710 return socket_local_server(name
[all...]
/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.c73 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
82 if (name) {
83 strncpy(io->name, name, sizeof(io->name));
129 /* Get and cache the name of the fstab file so we don't
381 char *real_blk_name, char *crypto_blk_name, const char *name)
400 ioctl_init(io, DM_CRYPT_BUF_SIZE, name, 0);
406 /* Get the device status, in particular, the name of it's device file */
407 ioctl_init(io, DM_CRYPT_BUF_SIZE, name,
380 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
464 delete_crypto_blk_dev(char *name) argument
[all...]
/system/core/fs_mgr/
H A Dfs_mgr.c48 const char *name; member in struct:flag_list
130 * If not found, the loop exits with fl[i].name being null.
132 for (i = 0; fl[i].name; i++) {
133 if (!strncmp(p, fl[i].name, strlen(fl[i].name))) {
145 if (!fl[i].name) {
/system/core/libcutils/arch-x86/
H A Dsse2-memset32-atom.S49 # define ENTRY(name) \
50 .type name, @function; \
51 .globl name; \
53 name: \ label
58 # define END(name) \
60 .size name, .-name
/system/core/fastboot/
H A Dusb_linux.c78 static inline int badname(const char *name) argument
80 while(*name) {
81 if(!isdigit(*name++)) return 1;
/system/core/include/pixelflinger/
H A Dpixelflinger.h87 // Texture parameter name
225 void (*enable)(void* c, GGLenum name);
226 void (*disable)(void* c, GGLenum name);
227 void (*enableDisable)(void* c, GGLenum name, GGLboolean en);
/system/extras/libpagemap/
H A Dpm_map.c118 free(map->name);
/system/extras/tests/sdcard/
H A Dtestcase.h122 const char *name() const { return mName; } function in class:android_test::TestCase

Completed in 122 milliseconds

12345678