/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | utils.c | 88 char *symbol; local 90 symbol = malloc((strlen(name)+6) * sizeof(char)); 92 sprintf(symbol, "%s%05ld", name, gensym_n); 93 return(symbol);
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | obpsym_1275.c | 31 * such that address and name lookups can work and use kernel symbol names. 85 * Otherwise, try to translate the symbol name arg to a value. 115 static char symbol[MAX_NAME]; variable 123 char *name = symbol; 124 extern u_long value_to_name(uintptr_t value, char *symbol); 134 * Otherwise, try to translate the value to a symbol-name/offset.
|
H A D | obpsym.c | 29 * such that address and name lookups can work and use kernel symbol names. 35 * The module locks the symbol tables in memory, when it's installed, 71 * the former causes a kobj_getsymvalue() on the entire kernel symbol table. 87 * we take names of the form: "modname:symbol", "unix:symbol", "symbol" 125 value_to_name(uintptr_t value, char *symbol) argument 136 (void) strcpy(symbol, modp->mod_modname); 137 (void) strcat(symbol, ":"); 138 (void) strcat(symbol, nam [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | KernelSymbolRecord.java | 35 * {@code sym()} action used to lookup the symbol associated with a 52 new String[] {"symbol", "address"}) 77 private String symbol; // set natively after creation; treat as final field in class:KernelSymbolRecord 91 * Creates a {@code KernelSymbolRecord} with the given symbol lookup 97 * @param addressValue symbol address 99 * looking up the symbol associated with the given kernel address 105 symbol = lookupValue; 113 if (symbol == null) { 114 throw new NullPointerException("symbol is null"); 128 return symbol; [all...] |
H A D | UserSymbolRecord.java | 35 * {@code usym()} action used to lookup the symbol associated with a 52 new String[] {"processID", "symbol", "address"}) 79 private transient String symbol; field in class:UserSymbolRecord 92 * symbol lookup, and user address converted in probe context as a 100 * looking up the symbol associated with the given user address 101 * @param addressValue symbol address 110 symbol = lookupValue; 117 if (symbol == null) { 118 throw new NullPointerException("symbol is null"); 123 * Gets the process ID associated with this record's symbol [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | hash.c | 60 * Define a hash symbol-table entry. 61 * See symbol.h for the definition of the Symbol container type. 65 Symbol symbol; /* The symbol stored in the hash-entry */ member in struct:HashNode 194 * hcase HashCase Specify how symbol case is considered when 205 * provided SYM_DEL_FN() symbol destructors along 206 * with the symbol data. 321 * hash HashTable * The hash table to insert the symbol into. 331 * symbol is deleted this function will be called 365 if(node->symbol [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | crossref.c | 34 * cscope - interactive C symbol cross-reference 54 #define SYMBOLINC 20 /* symbol list size increment */ 70 static struct symbol { /* symbol data */ struct 74 int length; /* symbol length */ 75 } *symbol; variable in typeref:struct:symbol 83 int length; /* symbol length */ 101 if (symbol == NULL) { 102 symbol = mymalloc(msymbols * sizeof (struct symbol)); [all...] |
H A D | find.c | 34 * cscope - interactive C symbol or text cross-reference 81 /* find the symbol in the cross-reference */ 89 char symbol[PATLEN + 1]; /* symbol name */ local 114 /* find the next symbol */ 164 s = symbol; 174 default: /* other symbol */ 175 s = symbol; 190 /* match the symbol to the text pattern */ 202 /* if this is a symbol */ 255 char symbol[PATLEN + 1]; /* symbol name */ local [all...] |
H A D | main.c | 34 * cscope - interactive C symbol cross-reference 109 static char *reflines; /* symbol reference lines file */ 221 "cscope: symbol database will be %s\n", reffile); 586 /* read any symbol reference lines file */ 654 /* turn on caseless mode for symbol searches */ 692 case 'F': /* symbol reference lines file */ 727 /* symbol reference lines file */ 816 "-F \"file\" Read symbol reference lines from file, just\n"); 830 "-q Build an inverted index for quick symbol seaching.\n"); 1024 "command line and old symbol databas 1413 char symbol[PATLEN + 1]; local 1455 char symbol[PATLEN + 1]; local [all...] |
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppcontrol.c | 156 * return symbol pointer for next token macro (re)definition 279 struct ppsymbol* symbol; member in union:__anon3783 396 else if (--pp.control == pp.in->control && pp.in->symbol) 431 pp.in->symbol = sym ? sym : pprefmac(pp.token, REF_CREATE); 940 else if (pp.hiding && (var.symbol = ppsymref(pp.symtab, pp.token)) && var.symbol->hidden) 2144 var.symbol = pprefmac(pp.token, REF_CREATE); 2145 if (mac = var.symbol->macro) 2147 if (var.symbol->flags & (SYM_ACTIVE|SYM_READONLY)) 2150 error(2, "%s: macro is %s", var.symbol [all...] |
H A D | pp.h | 123 #define SYM_NOTICED (1L<<12) /* symbol noticed in output */ 129 #define SYM_UNUSED 24 /* first unused symbol flag bit */ 131 #define PP_ASSERT 1 /* preassert symbol */ 139 #define PP_DEFINE 9 /* predefine symbol */ 189 #define PP_UNDEF 59 /* undef symbol after ppdefault */ 376 struct ppsymbol /* pp symbol info */ 378 HASH_HEADER; /* hash stuff and symbol name */ 404 struct ppsymbol* symbol; /* last symbol if PP_COMPILE */ member in struct:ppglobals
|
H A D | pplib.h | 147 struct ppsymbol* symbol; /* macro info */ member in struct:ppinstk 181 struct pphide /* hidden symbol info */ 184 unsigned long flags; /* saved symbol flags if macro */ 344 struct pphide* hidden; /* hidden symbol info */ 573 cur->prev->symbol->flags &= ~SYM_DISABLED; \ 584 cur->prev->symbol->flags &= ~SYM_DISABLED; \ 586 if (!(cur->prev->symbol->flags & SYM_MULTILINE)) \ 587 cur->prev->symbol->flags |= SYM_DISABLED; \ 602 cur->symbol = p; \ 615 cur->symbol [all...] |
/illumos-gate/usr/src/cmd/oawk/ |
H A D | b.c | 454 ccl_chars_t symbol[NCHARS]; local 467 isyms[i] = symbol[i] = ssyms[i] = isyms[0]; 613 symbol, symax)) { 614 symax = insert_table(symbol, 632 symbol, symax)) { 633 symax = insert_table(symbol, 649 symbol, symax)) { 650 symax = insert_table(symbol, 671 p->cc_ne, p->cc_ce, symbol, 674 symbol, syma [all...] |
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | once.h | 140 Boolean symbol[MAXNCG]; variable
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndrgen.h | 42 struct symbol *file_name; 46 struct symbol *nu_sym; 83 typedef struct symbol { struct 84 struct symbol *next; 154 struct node *type_name; /* symbol */
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_main.c | 73 #define MINSYMWIDTH 22 /* Minimum width of symbol portion of line */ 76 * Given a symbol+offset as returned by dis_tgt_lookup(), print an appropriately 77 * formatted symbol, based on the offset and current setttings. 80 getsymname(uint64_t addr, const char *symbol, off_t offset, char *buf, argument 83 if (symbol == NULL || g_numeric) { 90 symbol = dis_demangle(symbol); 93 (void) snprintf(buf, buflen, "%s", symbol); 95 (void) snprintf(buf, buflen, "%s+0%o", symbol, offset); 97 (void) snprintf(buf, buflen, "%s+0x%x", symbol, offse 128 const char *symbol; local 276 const char *symbol; local [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 149 char symbol; local 153 symbol = 'B'; 156 symbol = 'C'; 159 symbol = '/'; 162 symbol = '>'; 165 symbol = '|'; 168 symbol = '@'; 171 symbol = 'P'; 174 symbol = '='; 177 symbol [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/common/ |
H A D | dtj_consume.c | 1123 /* stand-alone symbol lookup action */ 1373 /* Get symbol lookup */ 1478 jobject symbol = NULL; /* return value */ local 1486 symbol = (*jenv)->NewObject(jenv, g_symbol_jc, 1496 symbol = (*jenv)->NewObject(jenv, g_usymbol_jc, 1507 return (symbol); 1631 dtj_attach_name(dtj_java_consumer_t *jc, jobject symbol, jstring s) argument 1635 if ((*jenv)->IsInstanceOf(jenv, symbol, g_symbol_jc)) { 1636 (*jenv)->CallVoidMethod(jenv, symbol, g_symbolset_name_jm, s); 1637 } else if ((*jenv)->IsInstanceOf(jenv, symbol, g_usymbol_j [all...] |
/illumos-gate/usr/src/common/lzma/ |
H A D | LzmaDec.c | 135 /* First LZMA-symbol is always decoded. 180 unsigned symbol; local 189 symbol = 1; 190 do { GET_BIT(prob + symbol, symbol) } while (symbol < 0x100); 196 symbol = 1; 203 probLit = prob + offs + bit + symbol; 204 GET_BIT2(probLit, symbol, offs &= ~bit, offs &= bit) 206 while (symbol < 536 unsigned symbol = 1; local 544 unsigned symbol = 1; local [all...] |
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | file.c | 44 * sym_strtbl: String table included at the end of the symbol table 331 /* Ignore special members like the symbol and string tables */ 643 /* loop through sections to find symbol table */ 701 * symbol table, so that applications that rely 704 * we require a small empty symbol string table. 757 * Write the archive symbol table member to the output archive file. 774 * We require a buffer large enough to hold a symbol table count, 775 * plus one offset for each symbol. 838 * The symbol string table can be larger than 32-bits on a 64-bit 932 * Enter a symbol nam 935 savename(char *symbol) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/prof/common/ |
H A D | prof.c | 44 * -n Sort by symbol name. 47 * -a Sort by increasing symbol address. 52 * -o Include symbol addresses in output (in octal). 53 * -x Include symbol addresses in output (in hexadecimal). 85 /* Type if n_type field in file symbol table entry. */ 101 /* Title fragment used if symbol addresses in output ("-o" or "-x"). */ 125 * TS2 insures that the symbol should be reported. We want 128 * unless the gflag is set, the symbol must be global. 154 /* For symbol table entries read from program file. */ 174 static char *getname(PROF_FILE *ldpter, PROF_SYMBOL symbol); 1338 getname(PROF_FILE *ldpter, PROF_SYMBOL symbol) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm_subr.c | 1020 * ppm_convert - convert a #define symbol to its integer value, 1058 * convert a #define'd symbol to its integer value where 1059 * input "symbol" is expected to be in form of "SYMBOL=value" 1062 ppm_convert(char *symbol, uint_t *val) argument 1067 if ((s = strchr(symbol, '=')) == NULL) { 1069 "ppm.conf file", symbol); 1080 "in ppm.conf file", symbol);
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | collate.c | 103 * collating symbol's order has been determined. 109 * this is used for forward references. A collating-symbol can never 164 char *symbol; member in struct:collelem 314 /* report a line with the circular symbol */ 374 rv = strcmp(c1->symbol, c2->symbol); 496 lookup_collelem(char *symbol) argument 500 srch.symbol = symbol; 587 /* leave a cookie trail in case next symbol i [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 565 * forcibly cache all of the symbol tables associated with all object files. 690 * By building the symbol table, we implicitly bring the PLT 710 * By building the symbol table, we implicitly bring the PLT 949 * Find or build the symbol table for the given mapping. 1137 * We're looking through the elf file for several items: the symbol tables 1369 * Prefer the weak or strong global symbol to the local symbol. 1379 * Prefer the symbol that doesn't begin with a '$' since compilers and 1380 * other symbol generators often use it as a prefix. 1401 * Prefer the symbol wit 2581 Plookup_by_name(struct ps_prochandle *P, const char *object, const char *symbol, GElf_Sym *symp) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_target.c | 34 * more symbol tables, a set of load objects, and a set of threads that can be 597 * wants to look up a scoped symbol name such as "object`symbol". It is 844 * dlmopen. Since no symbol table information is available for this mapping 846 * address, but it is on the idle list. When the symbol table is ready and the 1713 mdb_tgt_add_sbrkpt(mdb_tgt_t *t, const char *symbol, argument 1716 return (t->t_ops->t_add_sbrkpt(t, symbol, spec_flags, func, p)); 1914 * used by <mdb/mdb_target.h> and <libproc.h> for encoding symbol
|