Lines Matching refs:symbol

156 struct symbol {
162 struct symbol * list;
177 * Function for qsort for comparing symbol list names.
182 struct symbol * left = (struct symbol *) _left;
183 struct symbol * right = (struct symbol *) _right;
189 * Function for bsearch for finding a symbol name.
196 struct symbol * cmp = (struct symbol *) _cmp;
211 struct symbol * cmp = (struct symbol *) _cmp;
244 /* Scan past any non-symbol characters at the beginning of the line. */
249 /* No symbol on line? Move along.
267 store_symbols(char * file, vm_size_t file_size, struct symbol * symbols, uint32_t idx, uint32_t max_symbols)
312 /* Scan past any non-symbol characters at the beginning of the line. */
317 /* No symbol on line? Move along.
331 /* Find the end of the symbol.
337 /* Note char past end of symbol.
359 /* Find the end of the symbol.
365 /* Note char past end of symbol.
374 fprintf(stderr, "bad format in symbol line: %s\n", line);
378 fprintf(stderr, "bad format in symbol line: %s\n", line);
408 fprintf(stderr, "option too long in symbol line: %s\n", line);
421 fprintf(stderr, "bad format in symbol line: %s\n", line);
430 fprintf(stderr, "symbol[%d/%d] overflow: %s\n", idx, max_symbols, line);
462 struct symbol * import_symbols;
463 struct symbol * export_symbols;
569 import_symbols = calloc(num_import_syms, sizeof(struct symbol));
570 export_symbols = calloc(num_export_syms, sizeof(struct symbol));
596 qsort(import_symbols, num_import_syms, sizeof(struct symbol), &qsort_cmp);
597 qsort(export_symbols, num_export_syms, sizeof(struct symbol), &qsort_cmp);
606 struct symbol * result;
625 num_import_syms, sizeof(struct symbol), &bsearch_cmp_prefix);
629 struct symbol * first;
630 struct symbol * last;
659 num_import_syms, sizeof(struct symbol), &bsearch_cmp);