Searched refs:str_ptr (Results 1 – 11 of 11) sorted by relevance
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_strio.c | 44 char *str_ptr; /* Current seek pointer */ member 52 size_t left = sd->str_base + sd->str_len - sd->str_ptr; in strio_read() 56 (void) strncpy(buf, sd->str_ptr, obytes); in strio_read() 57 sd->str_ptr += obytes; in strio_read() 78 nptr = sd->str_ptr + offset; in strio_seek() 87 if (nptr < sd->str_base || nptr > sd->str_ptr + sd->str_len) in strio_seek() 90 sd->str_ptr = nptr; in strio_seek() 140 sd->str_ptr = sd->str_base; in mdb_strio_create()
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_strtab.c | 55 sp->str_ptr = ptr; in dt_strtab_grow() 56 sp->str_bufs[sp->str_nbufs - 1] = sp->str_ptr; in dt_strtab_grow() 81 sp->str_ptr = NULL; in dt_strtab_create() 90 *sp->str_ptr++ = '\0'; in dt_strtab_create() 174 char *old_p = sp->str_ptr; in dt_strtab_copyin() 181 if (sp->str_ptr == sp->str_bufs[b] + sp->str_bufsz) { in dt_strtab_copyin() 187 resid = sp->str_bufs[b] + sp->str_bufsz - sp->str_ptr; in dt_strtab_copyin() 189 bcopy(str, sp->str_ptr, n); in dt_strtab_copyin() 191 sp->str_ptr += n; in dt_strtab_copyin() 202 sp->str_ptr = old_p; in dt_strtab_copyin() [all …]
|
H A D | dt_strtab.h | 50 char *str_ptr; /* pointer to current buffer location */ member
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | strtab.c | 46 sp->str_ptr = xmalloc(sp->str_bufsz); in strtab_grow() 47 sp->str_bufs[sp->str_nbufs - 1] = sp->str_ptr; in strtab_grow() 56 sp->str_ptr = NULL; in strtab_create() 63 *sp->str_ptr++ = '\0'; in strtab_create() 139 if (sp->str_ptr == sp->str_bufs[b] + sp->str_bufsz) { in strtab_copyin() 144 resid = sp->str_bufs[b] + sp->str_bufsz - sp->str_ptr; in strtab_copyin() 146 bcopy(str, sp->str_ptr, n); in strtab_copyin() 148 sp->str_ptr += n; in strtab_copyin() 181 hp->str_data = sp->str_ptr; in strtab_insert() 216 n = sp->str_ptr - sp->str_bufs[i]; in strtab_write()
|
H A D | strtab.h | 50 char *str_ptr; /* pointer to current buffer location */ member
|
/titanic_41/usr/src/lib/libtnfctl/ |
H A D | sym.c | 172 const char *str_ptr; in _tnfctl_sym_obj_find() local 191 str_ptr = strrchr(obj->objname, '/'); in _tnfctl_sym_obj_find() 192 if (str_ptr == NULL) { in _tnfctl_sym_obj_find() 193 str_ptr = obj->objname; in _tnfctl_sym_obj_find() 195 str_ptr++; /* bump up past '/' */ in _tnfctl_sym_obj_find() 199 if (strcmp(str_ptr, lib_base_name) == 0) { in _tnfctl_sym_obj_find()
|
/titanic_41/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.c | 155 trim_me(char *str_ptr) { in trim_me() argument 159 if (str_ptr == NULL || *str_ptr == '\0') { in trim_me() 163 while (isspace(*str_ptr)) { in trim_me() 164 str_ptr++; in trim_me() 166 if (*str_ptr == '\0') { in trim_me() 170 str_end = str_ptr + strlen(str_ptr); in trim_me() 172 while (str_end > str_ptr && isspace(str_end[-1])) { in trim_me() 177 return (str_ptr); in trim_me()
|
/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | smp-imps.c | 523 char *str_ptr; in imps_read_bios() local 541 str_ptr = "IMCR and PIC"; in imps_read_bios() 545 str_ptr = "Virtual Wire"; in imps_read_bios() 557 str_ptr, imps_lapic_addr)); in imps_read_bios()
|
H A D | char_io.c | 845 safe_parse_maxint (char **str_ptr, int *myint_ptr) in safe_parse_maxint() argument 847 char *ptr = *str_ptr; in safe_parse_maxint() 892 *str_ptr = ptr; in safe_parse_maxint()
|
H A D | shared.h | 999 int safe_parse_maxint (char **str_ptr, int *myint_ptr);
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/common/ |
H A D | bnxe_clc.c | 6824 u8 *str_ptr = str; in elink_format_ver() local 6831 *str_ptr = '\0'; in elink_format_ver() 6843 *str_ptr = digit + '0'; in elink_format_ver() 6845 *str_ptr = digit - 0xa + 'a'; in elink_format_ver() 6847 str_ptr++; in elink_format_ver() 6851 *str_ptr = '.'; in elink_format_ver() 6852 str_ptr++; in elink_format_ver()
|