usr/src/cmd/dis/dis_main.c
100
(void) snprintf(buf, buflen, "%s+0x%x", symbol, offset);
usr/src/cmd/dis/dis_main.c
131
const char *symbol;
usr/src/cmd/dis/dis_main.c
152
symbol = NULL;
usr/src/cmd/dis/dis_main.c
207
last_symbol = symbol;
usr/src/cmd/dis/dis_main.c
208
symbol = dis_tgt_lookup(tgt, addr, &symoffset, 1, &symsize,
usr/src/cmd/dis/dis_main.c
210
if (symbol == NULL) {
usr/src/cmd/dis/dis_main.c
211
symbol = dis_find_section(tgt, addr, &symoffset);
usr/src/cmd/dis/dis_main.c
215
if (symbol != last_symbol)
usr/src/cmd/dis/dis_main.c
216
getsymname(addr, symbol, symsize, symbuf,
usr/src/cmd/dis/dis_main.c
220
getsymname(addr, symbol, symoffset, symbuf, sizeof (symbuf));
usr/src/cmd/dis/dis_main.c
226
if (!g_quiet && symoffset == 0 && symbol != NULL && isfunc)
usr/src/cmd/dis/dis_main.c
227
(void) printf("%s()\n", symbol);
usr/src/cmd/dis/dis_main.c
279
const char *symbol;
usr/src/cmd/dis/dis_main.c
287
symbol = dis_tgt_lookup(db->db_tgt, addr, &offset, 0, &size, NULL);
usr/src/cmd/dis/dis_main.c
290
getsymname(addr, symbol, offset, buf, buflen);
usr/src/cmd/dis/dis_main.c
297
if (symbol == NULL)
usr/src/cmd/dis/dis_main.c
83
getsymname(uint64_t addr, const char *symbol, off_t offset, char *buf,
usr/src/cmd/dis/dis_main.c
86
if (symbol == NULL || g_numeric) {
usr/src/cmd/dis/dis_main.c
93
symbol = dis_demangle(symbol);
usr/src/cmd/dis/dis_main.c
96
(void) snprintf(buf, buflen, "%s", symbol);
usr/src/cmd/dis/dis_main.c
98
(void) snprintf(buf, buflen, "%s+0%o", symbol, offset);
usr/src/cmd/localedef/collate.c
164
char *symbol;
usr/src/cmd/localedef/collate.c
374
rv = strcmp(c1->symbol, c2->symbol);
usr/src/cmd/localedef/collate.c
497
lookup_collelem(char *symbol)
usr/src/cmd/localedef/collate.c
501
srch.symbol = symbol;
usr/src/cmd/localedef/collate.c
780
e->symbol = name;
usr/src/cmd/mdb/common/mdb/mdb_target.c
1700
mdb_tgt_add_sbrkpt(mdb_tgt_t *t, const char *symbol,
usr/src/cmd/mdb/common/mdb/mdb_target.c
1703
return (t->t_ops->t_add_sbrkpt(t, symbol, spec_flags, func, p));
usr/src/cmd/oawk/b.c
452
ccl_chars_t symbol[NCHARS];
usr/src/cmd/oawk/b.c
465
isyms[i] = symbol[i] = ssyms[i] = isyms[0];
usr/src/cmd/oawk/b.c
611
symbol, symax)) {
usr/src/cmd/oawk/b.c
612
symax = insert_table(symbol,
usr/src/cmd/oawk/b.c
630
symbol, symax)) {
usr/src/cmd/oawk/b.c
631
symax = insert_table(symbol,
usr/src/cmd/oawk/b.c
647
symbol, symax)) {
usr/src/cmd/oawk/b.c
648
symax = insert_table(symbol,
usr/src/cmd/oawk/b.c
669
p->cc_ne, p->cc_ce, symbol,
usr/src/cmd/oawk/b.c
672
symbol, symax, p->cc_ns,
usr/src/cmd/oawk/b.c
686
p->cc_cs-1, symbol, symax)) {
usr/src/cmd/oawk/b.c
687
symax = insert_table(symbol,
usr/src/cmd/oawk/b.c
707
WC_VERY_LARGE, symbol, symax)) {
usr/src/cmd/oawk/b.c
708
symax = insert_table(symbol, symax, ns, cs,
usr/src/cmd/oawk/b.c
725
symax = delete_table(symbol, symax, ns, cs, ne, ce);
usr/src/cmd/sgs/ar/common/file.c
936
savename(char *symbol)
usr/src/cmd/sgs/ar/common/file.c
940
need = strlen(symbol) + 1;
usr/src/cmd/sgs/ar/common/file.c
944
(void) strcpy(sym_strtbl.base + sym_strtbl.used, symbol);
usr/src/cmd/sgs/lex/common/ldefs.h
223
extern Boolean symbol[MAXNCG];
usr/src/cmd/sgs/lex/common/once.h
139
Boolean symbol[MAXNCG];
usr/src/cmd/sgs/lex/common/parser.y
811
symbol[(unsigned)c] = 1;
usr/src/cmd/sgs/lex/common/parser.y
847
if(symbol[(unsigned)c])warning("\"%c\" redefined inside brackets",c);
usr/src/cmd/sgs/lex/common/parser.y
848
else symbol[(unsigned)c] = 1;
usr/src/cmd/sgs/lex/common/sub1.c
340
symbol[i] ^= 1; /* reverse value */
usr/src/cmd/sgs/lex/common/sub1.c
343
if (symbol[i])
usr/src/cmd/sgs/lex/common/sub1.c
352
if ((symbol[j] && cindex[j] != i) ||
usr/src/cmd/sgs/lex/common/sub1.c
353
(!symbol[j] && cindex[j] == i))
usr/src/cmd/sgs/lex/common/sub1.c
362
if (symbol[i]) {
usr/src/cmd/sgs/lex/common/sub1.c
365
symbol[i] = 0;
usr/src/cmd/sgs/lex/common/sub1.c
378
if (symbol[i]) {
usr/src/cmd/sgs/lex/common/sub1.c
383
if (symbol[k])
usr/src/cmd/sgs/lex/common/sub1.c
384
symbol[k] = 0;
usr/src/cmd/sgs/lex/common/sub2.c
354
symbol[i] = 0;
usr/src/cmd/sgs/lex/common/sub2.c
359
symbol[name[curpos]] = TRUE;
usr/src/cmd/sgs/lex/common/sub2.c
368
symbol[j] =
usr/src/cmd/sgs/lex/common/sub2.c
374
symbol[right[curpos]] = TRUE;
usr/src/cmd/sgs/lex/common/sub2.c
396
if (symbol[i]) {
usr/src/cmd/sgs/lex/common/sub2.c
411
if (symbol[i]) {
usr/src/cmd/sgs/lex/common/sub2.c
542
symbol[i] = 1;
usr/src/cmd/sgs/lex/common/sub2.c
548
symbol[index] = 0;
usr/src/cmd/sgs/lex/common/sub2.c
562
if (symbol[i])
usr/src/cmd/sgs/lex/common/sub2.c
71
symbol[j] = (i == RNCCL);
usr/src/cmd/sgs/lex/common/sub2.c
74
symbol[*p++] = (i == RCCL);
usr/src/cmd/sgs/lex/common/sub2.c
77
if (symbol[j]) {
usr/src/cmd/sgs/lex/common/sub3.c
302
symbol[j] = FALSE;
usr/src/cmd/sgs/lex/common/sub3.c
328
if (symbol[j]) {
usr/src/cmd/sgs/lex/common/sub3.c
364
symbol[j] = FALSE;
usr/src/cmd/sgs/lex/common/sub3.c
366
symbol[j] = TRUE;
usr/src/cmd/sgs/lex/common/sub3.c
392
if (i > (int)sizeof (symbol))
usr/src/cmd/sgs/lex/common/sub3.c
394
symbol[i] = TRUE;
usr/src/common/lzma/LzmaDec.c
180
unsigned symbol;
usr/src/common/lzma/LzmaDec.c
189
symbol = 1;
usr/src/common/lzma/LzmaDec.c
190
do { GET_BIT(prob + symbol, symbol) } while (symbol < 0x100);
usr/src/common/lzma/LzmaDec.c
196
symbol = 1;
usr/src/common/lzma/LzmaDec.c
203
probLit = prob + offs + bit + symbol;
usr/src/common/lzma/LzmaDec.c
204
GET_BIT2(probLit, symbol, offs &= ~bit, offs &= bit)
usr/src/common/lzma/LzmaDec.c
206
while (symbol < 0x100);
usr/src/common/lzma/LzmaDec.c
208
dic[dicPos++] = (Byte)symbol;
usr/src/common/lzma/LzmaDec.c
536
unsigned symbol = 1;
usr/src/common/lzma/LzmaDec.c
537
do { GET_BIT_CHECK(prob + symbol, symbol) } while (symbol < 0x100);
usr/src/common/lzma/LzmaDec.c
544
unsigned symbol = 1;
usr/src/common/lzma/LzmaDec.c
551
probLit = prob + offs + bit + symbol;
usr/src/common/lzma/LzmaDec.c
552
GET_BIT2_CHECK(probLit, symbol, offs &= ~bit, offs &= bit)
usr/src/common/lzma/LzmaDec.c
554
while (symbol < 0x100);
usr/src/common/lzma/LzmaEnc.c
572
static void RangeEnc_EncodeBit(CRangeEnc *p, CLzmaProb *prob, UInt32 symbol)
usr/src/common/lzma/LzmaEnc.c
576
if (symbol == 0)
usr/src/common/lzma/LzmaEnc.c
595
static void LitEnc_Encode(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol)
usr/src/common/lzma/LzmaEnc.c
597
symbol |= 0x100;
usr/src/common/lzma/LzmaEnc.c
600
RangeEnc_EncodeBit(p, probs + (symbol >> 8), (symbol >> 7) & 1);
usr/src/common/lzma/LzmaEnc.c
601
symbol <<= 1;
usr/src/common/lzma/LzmaEnc.c
603
while (symbol < 0x10000);
usr/src/common/lzma/LzmaEnc.c
606
static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte)
usr/src/common/lzma/LzmaEnc.c
609
symbol |= 0x100;
usr/src/common/lzma/LzmaEnc.c
613
RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1);
usr/src/common/lzma/LzmaEnc.c
614
symbol <<= 1;
usr/src/common/lzma/LzmaEnc.c
615
offs &= ~(matchByte ^ symbol);
usr/src/common/lzma/LzmaEnc.c
617
while (symbol < 0x10000);
usr/src/common/lzma/LzmaEnc.c
644
#define GET_PRICE(prob, symbol) \
usr/src/common/lzma/LzmaEnc.c
645
p->ProbPrices[((prob) ^ (((-(int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
usr/src/common/lzma/LzmaEnc.c
647
#define GET_PRICEa(prob, symbol) \
usr/src/common/lzma/LzmaEnc.c
648
ProbPrices[((prob) ^ ((-((int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
usr/src/common/lzma/LzmaEnc.c
656
static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, UInt32 *ProbPrices)
usr/src/common/lzma/LzmaEnc.c
659
symbol |= 0x100;
usr/src/common/lzma/LzmaEnc.c
662
price += GET_PRICEa(probs[symbol >> 8], (symbol >> 7) & 1);
usr/src/common/lzma/LzmaEnc.c
663
symbol <<= 1;
usr/src/common/lzma/LzmaEnc.c
665
while (symbol < 0x10000);
usr/src/common/lzma/LzmaEnc.c
669
static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt32 *ProbPrices)
usr/src/common/lzma/LzmaEnc.c
673
symbol |= 0x100;
usr/src/common/lzma/LzmaEnc.c
677
price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1);
usr/src/common/lzma/LzmaEnc.c
678
symbol <<= 1;
usr/src/common/lzma/LzmaEnc.c
679
offs &= ~(matchByte ^ symbol);
usr/src/common/lzma/LzmaEnc.c
681
while (symbol < 0x10000);
usr/src/common/lzma/LzmaEnc.c
686
static void RcTree_Encode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol)
usr/src/common/lzma/LzmaEnc.c
694
bit = (symbol >> i) & 1;
usr/src/common/lzma/LzmaEnc.c
700
static void RcTree_ReverseEncode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol)
usr/src/common/lzma/LzmaEnc.c
706
UInt32 bit = symbol & 1;
usr/src/common/lzma/LzmaEnc.c
709
symbol >>= 1;
usr/src/common/lzma/LzmaEnc.c
713
static UInt32 RcTree_GetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices)
usr/src/common/lzma/LzmaEnc.c
716
symbol |= (1 << numBitLevels);
usr/src/common/lzma/LzmaEnc.c
717
while (symbol != 1)
usr/src/common/lzma/LzmaEnc.c
719
price += GET_PRICEa(probs[symbol >> 1], symbol & 1);
usr/src/common/lzma/LzmaEnc.c
720
symbol >>= 1;
usr/src/common/lzma/LzmaEnc.c
725
static UInt32 RcTree_ReverseGetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices)
usr/src/common/lzma/LzmaEnc.c
732
UInt32 bit = symbol & 1;
usr/src/common/lzma/LzmaEnc.c
733
symbol >>= 1;
usr/src/common/lzma/LzmaEnc.c
753
static void LenEnc_Encode(CLenEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState)
usr/src/common/lzma/LzmaEnc.c
755
if (symbol < kLenNumLowSymbols)
usr/src/common/lzma/LzmaEnc.c
758
RcTree_Encode(rc, p->low + (posState << kLenNumLowBits), kLenNumLowBits, symbol);
usr/src/common/lzma/LzmaEnc.c
763
if (symbol < kLenNumLowSymbols + kLenNumMidSymbols)
usr/src/common/lzma/LzmaEnc.c
766
RcTree_Encode(rc, p->mid + (posState << kLenNumMidBits), kLenNumMidBits, symbol - kLenNumLowSymbols);
usr/src/common/lzma/LzmaEnc.c
771
RcTree_Encode(rc, p->high, kLenNumHighBits, symbol - kLenNumLowSymbols - kLenNumMidSymbols);
usr/src/common/lzma/LzmaEnc.c
812
static void LenEnc_Encode2(CLenPriceEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState, Bool updatePrice, UInt32 *ProbPrices)
usr/src/common/lzma/LzmaEnc.c
814
LenEnc_Encode(&p->p, rc, symbol, posState);
usr/src/head/apptrace.h
48
#define ABI_VFLAG(lib, symbol) \
usr/src/head/apptrace.h
49
__abi_ ## lib ## _ ## symbol ## _sym.a_vflag
usr/src/head/apptrace.h
54
#define ABI_REAL(lib, symbol) \
usr/src/head/apptrace.h
55
__abi_ ## lib ## _ ## symbol ## _sym.a_real
usr/src/lib/krb5/ss/utils.c
86
char *symbol;
usr/src/lib/krb5/ss/utils.c
88
symbol = malloc((strlen(name)+6) * sizeof(char));
usr/src/lib/krb5/ss/utils.c
90
sprintf(symbol, "%s%05ld", name, gensym_n);
usr/src/lib/krb5/ss/utils.c
91
return(symbol);
usr/src/lib/libdtrace_jni/common/dtj_consume.c
1478
jobject symbol = NULL; /* return value */
usr/src/lib/libdtrace_jni/common/dtj_consume.c
1486
symbol = (*jenv)->NewObject(jenv, g_symbol_jc,
usr/src/lib/libdtrace_jni/common/dtj_consume.c
1496
symbol = (*jenv)->NewObject(jenv, g_usymbol_jc,
usr/src/lib/libdtrace_jni/common/dtj_consume.c
1507
return (symbol);
usr/src/lib/libdtrace_jni/common/dtj_consume.c
1631
dtj_attach_name(dtj_java_consumer_t *jc, jobject symbol, jstring s)
usr/src/lib/libdtrace_jni/common/dtj_consume.c
1635
if ((*jenv)->IsInstanceOf(jenv, symbol, g_symbol_jc)) {
usr/src/lib/libdtrace_jni/common/dtj_consume.c
1636
(*jenv)->CallVoidMethod(jenv, symbol, g_symbolset_name_jm, s);
usr/src/lib/libdtrace_jni/common/dtj_consume.c
1637
} else if ((*jenv)->IsInstanceOf(jenv, symbol, g_usymbol_jc)) {
usr/src/lib/libdtrace_jni/common/dtj_consume.c
1638
(*jenv)->CallVoidMethod(jenv, symbol, g_usymbolset_name_jm, s);
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/KernelSymbolRecord.java
105
symbol = lookupValue;
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/KernelSymbolRecord.java
113
if (symbol == null) {
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/KernelSymbolRecord.java
128
return symbol;
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/KernelSymbolRecord.java
137
symbol = lookupValue;
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/KernelSymbolRecord.java
241
return symbol;
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/KernelSymbolRecord.java
77
private String symbol; // set natively after creation; treat as final
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ProbeData.java
235
SymbolValueRecord symbol = SymbolValueRecord.class.cast(rec);
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ProbeData.java
236
if (symbol instanceof KernelSymbolRecord) {
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ProbeData.java
237
KernelSymbolRecord.class.cast(symbol).setSymbol(lookupString);
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ProbeData.java
238
} else if (symbol instanceof UserSymbolRecord) {
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ProbeData.java
239
UserSymbolRecord.class.cast(symbol).setSymbol(lookupString);
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ProbeData.java
243
records.add(symbol);
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/UserSymbolRecord.java
110
symbol = lookupValue;
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/UserSymbolRecord.java
117
if (symbol == null) {
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/UserSymbolRecord.java
143
return symbol;
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/UserSymbolRecord.java
152
symbol = lookupValue;
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/UserSymbolRecord.java
253
symbol = (String)s.readObject();
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/UserSymbolRecord.java
277
return symbol;
usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/UserSymbolRecord.java
79
private transient String symbol;
usr/src/lib/libproc/common/Psymtab.c
2986
const char *symbol, GElf_Sym *symp)
usr/src/lib/libproc/common/Psymtab.c
2988
return (Pxlookup_by_name(P, PR_LMID_EVERY, object, symbol, symp, NULL));
usr/src/lib/libsqlite/tool/lemon.c
1147
struct symbol *sp, *xsp;
usr/src/lib/libsqlite/tool/lemon.c
125
struct symbol *fallback; /* fallback token in case this token doesn't parse */
usr/src/lib/libsqlite/tool/lemon.c
1383
qsort(lem.symbols,lem.nsymbol+1,sizeof(struct symbol*),
usr/src/lib/libsqlite/tool/lemon.c
148
struct symbol *lhs; /* Left-hand side of the rule */
usr/src/lib/libsqlite/tool/lemon.c
152
struct symbol **rhs; /* The RHS symbols */
usr/src/lib/libsqlite/tool/lemon.c
156
struct symbol *precsym; /* Precedence symbol for this rule */
usr/src/lib/libsqlite/tool/lemon.c
185
struct symbol *sp; /* The look-ahead symbol */
usr/src/lib/libsqlite/tool/lemon.c
1883
struct symbol *fallback; /* The fallback token */
usr/src/lib/libsqlite/tool/lemon.c
1884
struct symbol *lhs; /* Left-hand side of current rule */
usr/src/lib/libsqlite/tool/lemon.c
1887
struct symbol *rhs[MAXRHS]; /* RHS symbols */
usr/src/lib/libsqlite/tool/lemon.c
2025
sizeof(struct symbol*)*psp->nrhs + sizeof(char*)*psp->nrhs );
usr/src/lib/libsqlite/tool/lemon.c
2034
rp->rhs = (struct symbol**)&rp[1];
usr/src/lib/libsqlite/tool/lemon.c
2184
struct symbol *sp = Symbol_new(x);
usr/src/lib/libsqlite/tool/lemon.c
2197
struct symbol *sp = Symbol_new(x);
usr/src/lib/libsqlite/tool/lemon.c
2207
struct symbol *sp;
usr/src/lib/libsqlite/tool/lemon.c
2251
struct symbol *sp = Symbol_new(x);
usr/src/lib/libsqlite/tool/lemon.c
236
struct symbol **symbols; /* Sorted array of pointers to symbols */
usr/src/lib/libsqlite/tool/lemon.c
238
struct symbol *errsym; /* The error symbol */
usr/src/lib/libsqlite/tool/lemon.c
2539
struct symbol *sp;
usr/src/lib/libsqlite/tool/lemon.c
2868
struct symbol *sp;
usr/src/lib/libsqlite/tool/lemon.c
2907
struct symbol *sp;
usr/src/lib/libsqlite/tool/lemon.c
299
struct symbol *Symbol_new();
usr/src/lib/libsqlite/tool/lemon.c
303
struct symbol *Symbol_find(/* char * */);
usr/src/lib/libsqlite/tool/lemon.c
3032
struct symbol *sp = lemp->symbols[i];
usr/src/lib/libsqlite/tool/lemon.c
304
struct symbol *Symbol_Nth(/* int */);
usr/src/lib/libsqlite/tool/lemon.c
3050
struct symbol *sp = lemp->symbols[i];
usr/src/lib/libsqlite/tool/lemon.c
306
struct symbol **Symbol_arrayof(/* */);
usr/src/lib/libsqlite/tool/lemon.c
3435
struct symbol *p = lemp->symbols[i];
usr/src/lib/libsqlite/tool/lemon.c
3475
struct symbol *sp = lemp->symbols[i];
usr/src/lib/libsqlite/tool/lemon.c
3486
struct symbol *sp = lemp->symbols[i];
usr/src/lib/libsqlite/tool/lemon.c
3493
struct symbol *dflt_sp = 0;
usr/src/lib/libsqlite/tool/lemon.c
3495
struct symbol *sp = lemp->symbols[i];
usr/src/lib/libsqlite/tool/lemon.c
376
struct symbol *sp;
usr/src/lib/libsqlite/tool/lemon.c
3861
struct symbol *Symbol_new(x)
usr/src/lib/libsqlite/tool/lemon.c
3864
struct symbol *sp;
usr/src/lib/libsqlite/tool/lemon.c
3868
sp = (struct symbol *)malloc( sizeof(struct symbol) );
usr/src/lib/libsqlite/tool/lemon.c
3895
int Symbolcmpp(struct symbol **a, struct symbol **b){
usr/src/lib/libsqlite/tool/lemon.c
3917
struct symbol *data; /* The data */
usr/src/lib/libsqlite/tool/lemon.c
3948
struct symbol *data;
usr/src/lib/libsqlite/tool/lemon.c
4007
struct symbol *Symbol_find(key)
usr/src/lib/libsqlite/tool/lemon.c
4024
struct symbol *Symbol_Nth(n)
usr/src/lib/libsqlite/tool/lemon.c
4027
struct symbol *data;
usr/src/lib/libsqlite/tool/lemon.c
4045
struct symbol **Symbol_arrayof()
usr/src/lib/libsqlite/tool/lemon.c
4047
struct symbol **array;
usr/src/lib/libsqlite/tool/lemon.c
4051
array = (struct symbol **)malloc( sizeof(struct symbol *)*size );
usr/src/lib/libsqlite/tool/lemon.c
635
struct symbol *s1, *s2;
usr/src/lib/libsqlite/tool/lemon.c
664
struct symbol *sp;
usr/src/lib/libsqlite/tool/lemon.c
772
struct symbol *sp; /* Symbol following the dot in configuration "cfp" */
usr/src/lib/libsqlite/tool/lemon.c
773
struct symbol *bsp; /* Symbol following the dot in configuration "bcfp" */
usr/src/lib/libsqlite/tool/lemon.c
892
struct symbol *sp;
usr/src/lib/libsqlite/tool/lemon.c
973
struct symbol *errsym; /* The error symbol (if defined. NULL otherwise) */
usr/src/lib/libsqlite/tool/lemon.c
975
struct symbol *spx, *spy;
usr/src/lib/libtecla/common/hash.c
363
if(node->symbol.data && node->symbol.del_fn) {
usr/src/lib/libtecla/common/hash.c
364
node->symbol.data = node->symbol.del_fn(hash->app_data, node->symbol.code,
usr/src/lib/libtecla/common/hash.c
365
node->symbol.data);
usr/src/lib/libtecla/common/hash.c
381
return &node->symbol;
usr/src/lib/libtecla/common/hash.c
458
return &node->symbol;
usr/src/lib/libtecla/common/hash.c
492
node->symbol.name = NULL;
usr/src/lib/libtecla/common/hash.c
493
node->symbol.code = code;
usr/src/lib/libtecla/common/hash.c
494
node->symbol.fn = fn;
usr/src/lib/libtecla/common/hash.c
495
node->symbol.data = data;
usr/src/lib/libtecla/common/hash.c
496
node->symbol.del_fn = del_fn;
usr/src/lib/libtecla/common/hash.c
502
node->symbol.name = _new_StringMemString(hash->mem->string_memory, len);
usr/src/lib/libtecla/common/hash.c
503
if(!node->symbol.name)
usr/src/lib/libtecla/common/hash.c
510
strlcpy(node->symbol.name, name, len);
usr/src/lib/libtecla/common/hash.c
513
char *dst = node->symbol.name;
usr/src/lib/libtecla/common/hash.c
536
node->symbol.name = _del_StringMemString(hash->mem->string_memory,
usr/src/lib/libtecla/common/hash.c
537
node->symbol.name);
usr/src/lib/libtecla/common/hash.c
541
if(node->symbol.data && node->symbol.del_fn)
usr/src/lib/libtecla/common/hash.c
542
node->symbol.data = node->symbol.del_fn(hash->app_data,
usr/src/lib/libtecla/common/hash.c
543
node->symbol.code,
usr/src/lib/libtecla/common/hash.c
544
node->symbol.data);
usr/src/lib/libtecla/common/hash.c
607
node && hash->keycmp(node->symbol.name, name)!=0;
usr/src/lib/libtecla/common/hash.c
63
Symbol symbol; /* The symbol stored in the hash-entry */
usr/src/lib/libtecla/common/hash.c
738
if(scan_fn(&node->symbol, context))
usr/src/lib/libzfs/common/libzfs_diff.c
157
char symbol;
usr/src/lib/libzfs/common/libzfs_diff.c
161
symbol = 'B';
usr/src/lib/libzfs/common/libzfs_diff.c
164
symbol = 'C';
usr/src/lib/libzfs/common/libzfs_diff.c
167
symbol = '/';
usr/src/lib/libzfs/common/libzfs_diff.c
170
symbol = '>';
usr/src/lib/libzfs/common/libzfs_diff.c
173
symbol = '|';
usr/src/lib/libzfs/common/libzfs_diff.c
176
symbol = '@';
usr/src/lib/libzfs/common/libzfs_diff.c
179
symbol = 'P';
usr/src/lib/libzfs/common/libzfs_diff.c
182
symbol = '=';
usr/src/lib/libzfs/common/libzfs_diff.c
185
symbol = 'F';
usr/src/lib/libzfs/common/libzfs_diff.c
188
symbol = '?';
usr/src/lib/libzfs/common/libzfs_diff.c
191
(void) fprintf(fp, "%c", symbol);
usr/src/test/util-tests/tests/ctf/check-common.c
257
ctftest_check_descent(const char *symbol, ctf_file_t *fp,
usr/src/test/util-tests/tests/ctf/check-common.c
266
base = ctftest_lookup_symbol(fp, symbol);
usr/src/test/util-tests/tests/ctf/check-common.c
268
warnx("failed to lookup type for symbol %s", symbol);
usr/src/test/util-tests/tests/ctf/check-common.c
282
tests->cd_tname, symbol);
usr/src/test/util-tests/tests/ctf/check-common.c
301
tests->cd_tname, symbol);
usr/src/test/util-tests/tests/ctf/check-common.c
312
tests->cd_tname, symbol);
usr/src/test/util-tests/tests/ctf/check-common.c
324
tests->cd_tname, symbol,
usr/src/test/util-tests/tests/ctf/check-common.c
335
tests->cd_tname, symbol,
usr/src/test/util-tests/tests/ctf/check-common.c
356
symbol, ari.ctr_contents,
usr/src/test/util-tests/tests/ctf/check-common.c
636
ctftest_check_function(const char *symbol, ctf_file_t *fp, const char *rtype,
usr/src/test/util-tests/tests/ctf/check-common.c
647
if (!ctftest_lookup_function(fp, symbol, &sym, &fi)) {
usr/src/test/util-tests/tests/ctf/check-common.c
648
warnx("failed to look up function %s", symbol);
usr/src/test/util-tests/tests/ctf/check-common.c
654
symbol);
usr/src/tools/cscope-fast/crossref.c
100
symbol = mymalloc(msymbols * sizeof (struct symbol));
usr/src/tools/cscope-fast/crossref.c
121
if (length == symbol[i].length &&
usr/src/tools/cscope-fast/crossref.c
123
symbol[i].first, length) == 0 &&
usr/src/tools/cscope-fast/crossref.c
125
token == symbol[i].type)) {
usr/src/tools/cscope-fast/crossref.c
167
symbol = (struct symbol *)myrealloc(symbol,
usr/src/tools/cscope-fast/crossref.c
168
msymbols * sizeof (struct symbol));
usr/src/tools/cscope-fast/crossref.c
171
symbol[symbols].type = token;
usr/src/tools/cscope-fast/crossref.c
172
symbol[symbols].first = first;
usr/src/tools/cscope-fast/crossref.c
173
symbol[symbols].last = last;
usr/src/tools/cscope-fast/crossref.c
174
symbol[symbols].length = last - first;
usr/src/tools/cscope-fast/crossref.c
220
else if (symput < symbols && i == symbol[symput].first) {
usr/src/tools/cscope-fast/crossref.c
233
if ((type = symbol[symput].type) != IDENT) {
usr/src/tools/cscope-fast/crossref.c
240
j = symbol[symput].last;
usr/src/tools/cscope-fast/crossref.c
266
symput < symbols && i + 1 != symbol[symput].first) {
usr/src/tools/cscope-fast/crossref.c
323
if (symput < symbols && symbol[symput].type == DEFINEEND) {
usr/src/tools/cscope-fast/crossref.c
73
} *symbol;
usr/src/tools/cscope-fast/crossref.c
99
if (symbol == NULL) {
usr/src/tools/cscope-fast/find.c
162
s = symbol;
usr/src/tools/cscope-fast/find.c
173
s = symbol;
usr/src/tools/cscope-fast/find.c
203
getstring(symbol);
usr/src/tools/cscope-fast/find.c
204
s = symbol;
usr/src/tools/cscope-fast/find.c
253
char symbol[PATLEN + 1]; /* symbol name */
usr/src/tools/cscope-fast/find.c
307
s = symbol;
usr/src/tools/cscope-fast/find.c
324
s = symbol;
usr/src/tools/cscope-fast/find.c
87
char symbol[PATLEN + 1]; /* symbol name */
usr/src/tools/cscope-fast/main.c
1411
char symbol[PATLEN + 1];
usr/src/tools/cscope-fast/main.c
1436
putinclude(symbol);
usr/src/tools/cscope-fast/main.c
1437
putstring(symbol);
usr/src/tools/cscope-fast/main.c
1453
char symbol[PATLEN + 1];
usr/src/tools/cscope-fast/main.c
1488
putinclude(symbol);
usr/src/tools/cscope-fast/main.c
1493
getstring(symbol);
usr/src/tools/cscope-fast/main.c
1503
getstring(symbol);
usr/src/tools/cscope-fast/main.c
1506
putposting(symbol, type);
usr/src/tools/cscope-fast/main.c
1507
putstring(symbol);
usr/src/tools/ndrgen/ndrgen.h
46
struct symbol *file_name;
usr/src/tools/ndrgen/ndrgen.h
50
struct symbol *nu_sym;
usr/src/tools/ndrgen/ndrgen.h
88
struct symbol *next;
usr/src/tools/smatch/src/allocate.c
143
ALLOCATOR(symbol, "symbols");
usr/src/tools/smatch/src/allocate.h
83
DECLARE_ALLOCATOR(symbol);
usr/src/tools/smatch/src/ast-inspect.c
128
struct symbol *sym = node->ptr;
usr/src/tools/smatch/src/builtin.c
135
struct symbol *sym = arg->symbol;
usr/src/tools/smatch/src/builtin.c
261
struct symbol *type;
usr/src/tools/smatch/src/builtin.c
322
static struct symbol builtin_fn_type = { .type = SYM_FN /* , .variadic =1 */ };
usr/src/tools/smatch/src/builtin.c
325
struct symbol *base_type;
usr/src/tools/smatch/src/builtin.c
358
struct symbol *sym;
usr/src/tools/smatch/src/builtin.c
367
static void declare_builtin(const char *name, struct symbol *rtype, int variadic, ...)
usr/src/tools/smatch/src/builtin.c
370
struct symbol *sym = create_symbol(stream, name, SYM_NODE, NS_SYMBOL);
usr/src/tools/smatch/src/builtin.c
371
struct symbol *fun = alloc_symbol(sym->pos, SYM_FN);
usr/src/tools/smatch/src/builtin.c
372
struct symbol *arg;
usr/src/tools/smatch/src/builtin.c
383
while ((arg = va_arg(args, struct symbol *))) {
usr/src/tools/smatch/src/builtin.c
384
struct symbol *anode = alloc_symbol(sym->pos, SYM_NODE);
usr/src/tools/smatch/src/builtin.c
393
struct symbol *va_list_ctype = &ptr_ctype;
usr/src/tools/smatch/src/builtin.c
61
struct symbol *sym;
usr/src/tools/smatch/src/c2xml.c
102
struct symbol *sym;
usr/src/tools/smatch/src/c2xml.c
109
static void examine_modifiers(struct symbol *sym, xmlNodePtr node)
usr/src/tools/smatch/src/c2xml.c
158
examine_layout(struct symbol *sym, xmlNodePtr node)
usr/src/tools/smatch/src/c2xml.c
170
static void examine_symbol(struct symbol *sym, xmlNodePtr node)
usr/src/tools/smatch/src/c2xml.c
237
static void examine_macro(struct symbol *sym, xmlNodePtr node)
usr/src/tools/smatch/src/c2xml.c
251
static void examine_namespace(struct symbol *sym)
usr/src/tools/smatch/src/c2xml.c
290
struct symbol *sym;
usr/src/tools/smatch/src/c2xml.c
44
static void examine_symbol(struct symbol *sym, xmlNodePtr node);
usr/src/tools/smatch/src/c2xml.c
65
static xmlNodePtr new_sym_node(struct symbol *sym, const char *name, xmlNodePtr parent)
usr/src/tools/smatch/src/check_64bit_shift.c
55
struct symbol *left_type, *right_type;
usr/src/tools/smatch/src/check_all_func_returns.c
28
struct symbol *sym = get_real_base_type(get_type(expr->fn));
usr/src/tools/smatch/src/check_allocating_enough_data.c
23
struct symbol *left_type, *right_type;
usr/src/tools/smatch/src/check_allocation_funcs.c
44
struct symbol *left_sym;
usr/src/tools/smatch/src/check_allocation_funcs.c
62
struct symbol *sym;
usr/src/tools/smatch/src/check_allocation_funcs.c
81
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/check_arm64_tagged.c
192
struct symbol *type;
usr/src/tools/smatch/src/check_arm64_tagged.c
31
struct symbol *left_sym;
usr/src/tools/smatch/src/check_arm64_tagged.c
47
static void match_endfunc(struct symbol *sym)
usr/src/tools/smatch/src/check_arm64_tagged.c
56
struct symbol *sym;
usr/src/tools/smatch/src/check_array_condition.c
32
struct symbol *type;
usr/src/tools/smatch/src/check_atomic_inc_dec.c
102
struct symbol *sym;
usr/src/tools/smatch/src/check_atomic_inc_dec.c
318
static void check_counter(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/check_atomic_inc_dec.c
385
static void match_check_missed(struct symbol *sym)
usr/src/tools/smatch/src/check_atomic_inc_dec.c
406
int was_inced(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/check_atomic_inc_dec.c
422
static void match_after_func(struct symbol *sym)
usr/src/tools/smatch/src/check_atomic_inc_dec.c
47
static void set_start_state(const char *name, struct symbol *sym, struct smatch_state *start)
usr/src/tools/smatch/src/check_buffer_too_small_for_struct.c
26
struct symbol *left_type, *right_type;
usr/src/tools/smatch/src/check_buffer_too_small_for_struct.c
67
struct symbol *left_type;
usr/src/tools/smatch/src/check_capable.c
87
static void set_db_capable(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/check_capable.c
95
static void set_db_ns_capable(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/check_cast_assign.c
24
static struct symbol *get_cast_type(struct expression *expr)
usr/src/tools/smatch/src/check_cast_assign.c
37
struct symbol *type;
usr/src/tools/smatch/src/check_check_deref.c
123
struct symbol *sym;
usr/src/tools/smatch/src/check_check_deref.c
80
static void check_dereference_name_sym(char *name, struct symbol *sym)
usr/src/tools/smatch/src/check_debug.c
580
struct symbol *type;
usr/src/tools/smatch/src/check_debug.c
593
struct symbol *type;
usr/src/tools/smatch/src/check_debug.c
792
static void free_old_stree(struct symbol *sym)
usr/src/tools/smatch/src/check_deref.c
104
static void check_dereference_name_sym(char *name, struct symbol *sym)
usr/src/tools/smatch/src/check_deref.c
157
struct symbol *sym;
usr/src/tools/smatch/src/check_deref.c
169
static void match_declarations(struct symbol *sym)
usr/src/tools/smatch/src/check_deref_check.c
51
struct symbol *sym;
usr/src/tools/smatch/src/check_dereferences_param.c
41
static void match_function_def(struct symbol *sym)
usr/src/tools/smatch/src/check_dereferences_param.c
43
struct symbol *arg;
usr/src/tools/smatch/src/check_dma_on_stack.c
25
struct symbol *sym;
usr/src/tools/smatch/src/check_double_checking.c
196
struct symbol *sym;
usr/src/tools/smatch/src/check_double_checking.c
264
static void match_func_end(struct symbol *sym)
usr/src/tools/smatch/src/check_err_ptr.c
34
if (expr->fn->type != EXPR_SYMBOL || !expr->fn->symbol)
usr/src/tools/smatch/src/check_err_ptr.c
36
if (!strcmp(expr->fn->symbol->ident->name, "ERR_PTR"))
usr/src/tools/smatch/src/check_err_ptr.c
62
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/check_err_ptr_deref.c
75
struct symbol *sym;
usr/src/tools/smatch/src/check_expects_err_ptr.c
21
static struct symbol *func_sym;
usr/src/tools/smatch/src/check_expects_err_ptr.c
32
static void match_function_def(struct symbol *sym)
usr/src/tools/smatch/src/check_expects_err_ptr.c
34
struct symbol *arg;
usr/src/tools/smatch/src/check_expects_err_ptr.c
48
struct symbol *arg;
usr/src/tools/smatch/src/check_expects_err_ptr.c
49
struct symbol *this_arg;
usr/src/tools/smatch/src/check_expects_err_ptr.c
55
this_arg = expr->symbol;
usr/src/tools/smatch/src/check_free.c
228
struct symbol *sym;
usr/src/tools/smatch/src/check_free.c
240
int parent_is_free_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/check_free.c
268
struct symbol *sym;
usr/src/tools/smatch/src/check_free_strict.c
244
struct symbol *sym;
usr/src/tools/smatch/src/check_free_strict.c
272
int parent_is_free_var_sym_strict(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/check_free_strict.c
297
struct symbol *sym;
usr/src/tools/smatch/src/check_frees_argument.c
107
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/check_frees_argument.c
115
static void match_after_func(struct symbol *sym)
usr/src/tools/smatch/src/check_frees_argument.c
30
static struct symbol *this_func;
usr/src/tools/smatch/src/check_frees_argument.c
33
static void match_function_def(struct symbol *sym)
usr/src/tools/smatch/src/check_frees_argument.c
38
static int is_arg(char *name, struct symbol *sym)
usr/src/tools/smatch/src/check_frees_argument.c
40
struct symbol *arg;
usr/src/tools/smatch/src/check_frees_argument.c
54
struct symbol *sym;
usr/src/tools/smatch/src/check_frees_argument.c
93
static void print_arg(struct symbol *sym)
usr/src/tools/smatch/src/check_frees_argument.c
95
struct symbol *arg;
usr/src/tools/smatch/src/check_frees_param_strict.c
50
struct symbol *sym;
usr/src/tools/smatch/src/check_frees_param_strict.c
93
struct symbol *sym;
usr/src/tools/smatch/src/check_implicit_dependencies.c
127
static void match_after_syscall(struct symbol *sym)
usr/src/tools/smatch/src/check_implicit_dependencies.c
149
struct symbol *sym;
usr/src/tools/smatch/src/check_implicit_dependencies.c
150
struct symbol *member_sym;
usr/src/tools/smatch/src/check_implicit_dependencies.c
16
static struct symbol *cur_return_type;
usr/src/tools/smatch/src/check_implicit_dependencies.c
184
struct symbol *sym;
usr/src/tools/smatch/src/check_implicit_dependencies.c
185
struct symbol *member_sym;
usr/src/tools/smatch/src/check_implicit_dependencies.c
29
static void match_syscall_definition(struct symbol *sym)
usr/src/tools/smatch/src/check_implicit_dependencies.c
31
struct symbol *arg;
usr/src/tools/smatch/src/check_implicit_dependencies.c
9
static struct symbol *cur_syscall;
usr/src/tools/smatch/src/check_implicit_dependencies_tester.c
48
static void match_syscall_definition(struct symbol *sym)
usr/src/tools/smatch/src/check_implicit_dependencies_tester.c
5
static struct symbol *cur_syscall;
usr/src/tools/smatch/src/check_implicit_dependencies_tester.c
89
static void match_after_syscall(struct symbol *sym) {
usr/src/tools/smatch/src/check_impossible_mask.c
81
struct symbol *type;
usr/src/tools/smatch/src/check_info_leak.c
26
static char *my_get_variable(struct expression *expr, struct symbol **sym)
usr/src/tools/smatch/src/check_info_leak.c
41
struct symbol *sym;
usr/src/tools/smatch/src/check_info_leak.c
53
struct symbol *sym;
usr/src/tools/smatch/src/check_info_leak.c
68
struct symbol *sym;
usr/src/tools/smatch/src/check_kernel.c
199
if (!right->symbol->ident ||
usr/src/tools/smatch/src/check_kernel.c
200
strcmp(right->symbol->ident->name, "__mptr") != 0)
usr/src/tools/smatch/src/check_kernel.c
209
struct symbol *type;
usr/src/tools/smatch/src/check_kernel.c
267
struct symbol *sym;
usr/src/tools/smatch/src/check_kernel.c
268
struct symbol *fn;
usr/src/tools/smatch/src/check_kernel.c
321
struct symbol *sym;
usr/src/tools/smatch/src/check_kernel.c
336
struct symbol *sym, *val;
usr/src/tools/smatch/src/check_kernel.c
345
sym = get_base_type(expr->symbol);
usr/src/tools/smatch/src/check_kernel.c
379
struct symbol *type, *val_sym;
usr/src/tools/smatch/src/check_kernel.c
42
static void hack_ERR_PTR(struct symbol *sym)
usr/src/tools/smatch/src/check_kernel.c
44
struct symbol *arg;
usr/src/tools/smatch/src/check_kernel_printf.c
1026
struct symbol *sym = fmtexpr->symbol;
usr/src/tools/smatch/src/check_kernel_printf.c
294
static int is_struct_tag(struct symbol *type, const char *tag)
usr/src/tools/smatch/src/check_kernel_printf.c
299
static int has_struct_tag(struct symbol *type, const char *tag)
usr/src/tools/smatch/src/check_kernel_printf.c
301
struct symbol *tmp;
usr/src/tools/smatch/src/check_kernel_printf.c
315
static int is_char_type(struct symbol *type)
usr/src/tools/smatch/src/check_kernel_printf.c
326
struct symbol *sym;
usr/src/tools/smatch/src/check_kernel_printf.c
330
static struct symbol *_typedef_lookup(const char *name)
usr/src/tools/smatch/src/check_kernel_printf.c
333
struct symbol *node;
usr/src/tools/smatch/src/check_kernel_printf.c
356
static void ip4(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
405
static void ip6(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
423
static void ipS(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
452
static void hex_string(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
465
static void escaped_string(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
476
static void resource_string(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
487
static void mac_address_string(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
507
static void dentry_file(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
526
static void time_and_date(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
535
static void check_clock(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
549
static void va_format(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
558
static void netdev_feature(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
578
static void address_val(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
611
static void block_device(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
624
static void flag_string(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
651
static void device_node_string(const char *fmt, struct symbol *type, struct symbol *basetype, int vaidx)
usr/src/tools/smatch/src/check_kernel_printf.c
665
struct symbol *type, *basetype;
usr/src/tools/smatch/src/check_kernel_printf.c
810
struct symbol *type;
usr/src/tools/smatch/src/check_kernel_printf.c
898
static int is_array_of_const_char(struct symbol *sym)
usr/src/tools/smatch/src/check_kernel_printf.c
900
struct symbol *base = sym->ctype.base_type;
usr/src/tools/smatch/src/check_kernel_printf.c
912
static int is_const_pointer_to_const_char(struct symbol *sym)
usr/src/tools/smatch/src/check_kernel_printf.c
914
struct symbol *base = sym->ctype.base_type;
usr/src/tools/smatch/src/check_kmalloc_wrong_size.c
24
struct symbol *type;
usr/src/tools/smatch/src/check_leaks.c
103
struct symbol *sym;
usr/src/tools/smatch/src/check_leaks.c
104
struct symbol *tmp;
usr/src/tools/smatch/src/check_leaks.c
159
struct symbol *sym;
usr/src/tools/smatch/src/check_leaks.c
247
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/check_leaks.c
56
static char *alloc_parent_str(struct symbol *sym)
usr/src/tools/smatch/src/check_leaks.c
68
static char *get_parent_from_expr(struct expression *expr, struct symbol **sym)
usr/src/tools/smatch/src/check_leaks.c
86
struct symbol *sym;
usr/src/tools/smatch/src/check_locking.c
1069
static void match_func_end(struct symbol *sym)
usr/src/tools/smatch/src/check_locking.c
1114
struct symbol *sym;
usr/src/tools/smatch/src/check_locking.c
1222
static void match_after_func(struct symbol *sym)
usr/src/tools/smatch/src/check_locking.c
1232
struct symbol *sym;
usr/src/tools/smatch/src/check_locking.c
462
static char *lock_to_name_sym(struct expression *expr, struct symbol **sym)
usr/src/tools/smatch/src/check_locking.c
469
static char *get_full_name(struct expression *expr, int index, struct symbol **sym)
usr/src/tools/smatch/src/check_locking.c
574
static void set_start_state(const char *name, struct symbol *sym, struct smatch_state *start)
usr/src/tools/smatch/src/check_locking.c
640
struct symbol *sym;
usr/src/tools/smatch/src/check_locking.c
688
static void do_lock(const char *name, struct symbol *sym, struct lock_info *info)
usr/src/tools/smatch/src/check_locking.c
704
static void do_lock_failed(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/check_locking.c
710
static void do_unlock(const char *name, struct symbol *sym, struct lock_info *info)
usr/src/tools/smatch/src/check_locking.c
735
static void do_restore(const char *name, struct symbol *sym, struct lock_info *info)
usr/src/tools/smatch/src/check_locking.c
753
struct symbol *sym;
usr/src/tools/smatch/src/check_locking.c
776
struct symbol *sym;
usr/src/tools/smatch/src/check_locking.c
799
struct symbol *sym;
usr/src/tools/smatch/src/check_locking.c
814
struct symbol *sym;
usr/src/tools/smatch/src/check_locking.c
847
struct symbol *other_sym;
usr/src/tools/smatch/src/check_locking.c
862
struct symbol *ret_sym;
usr/src/tools/smatch/src/check_locking.c
969
static bool sym_in_lock_table(struct symbol *sym)
usr/src/tools/smatch/src/check_locking.c
987
return sym_in_lock_table(expr->symbol);
usr/src/tools/smatch/src/check_locking.c
990
static void check_lock(char *name, struct symbol *sym)
usr/src/tools/smatch/src/check_macro_side_effects.c
48
struct symbol *sym;
usr/src/tools/smatch/src/check_memcpy_overflow.c
114
static int name_in_union(struct symbol *type, const char *name)
usr/src/tools/smatch/src/check_memcpy_overflow.c
116
struct symbol *tmp;
usr/src/tools/smatch/src/check_memcpy_overflow.c
134
struct symbol *type, *tmp;
usr/src/tools/smatch/src/check_memcpy_overflow.c
196
struct symbol *type;
usr/src/tools/smatch/src/check_memcpy_overflow.c
220
struct symbol *type;
usr/src/tools/smatch/src/check_memcpy_overflow.c
52
struct symbol *type;
usr/src/tools/smatch/src/check_memcpy_overflow.c
81
struct symbol *type;
usr/src/tools/smatch/src/check_no_return.c
32
static void match_func_end(struct symbol *sym)
usr/src/tools/smatch/src/check_nospec.c
100
struct symbol *returned_sym;
usr/src/tools/smatch/src/check_nospec.c
149
struct symbol *sym;
usr/src/tools/smatch/src/check_nospec.c
204
struct symbol *type;
usr/src/tools/smatch/src/check_nospec.c
62
static void set_param_nospec(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/check_param_mapper.c
56
arg_num = get_param_num_from_sym(tmp->symbol);
usr/src/tools/smatch/src/check_pointer_math.c
111
struct symbol *type;
usr/src/tools/smatch/src/check_pointer_math.c
69
struct symbol *type;
usr/src/tools/smatch/src/check_precedence.c
25
struct symbol *type;
usr/src/tools/smatch/src/check_puts_argument.c
105
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/check_puts_argument.c
30
static struct symbol *this_func;
usr/src/tools/smatch/src/check_puts_argument.c
33
static void match_function_def(struct symbol *sym)
usr/src/tools/smatch/src/check_puts_argument.c
38
static int parent_is_arg(struct symbol *sym)
usr/src/tools/smatch/src/check_puts_argument.c
40
struct symbol *arg;
usr/src/tools/smatch/src/check_puts_argument.c
52
struct symbol *sym;
usr/src/tools/smatch/src/check_puts_argument.c
91
static void print_arg(struct symbol *sym)
usr/src/tools/smatch/src/check_puts_argument.c
93
struct symbol *arg;
usr/src/tools/smatch/src/check_readl_infinite_loops.c
35
struct symbol *sym;
usr/src/tools/smatch/src/check_readl_infinite_loops.c
42
sym = expr->fn->symbol;
usr/src/tools/smatch/src/check_release_resource.c
35
struct symbol *sym;
usr/src/tools/smatch/src/check_release_resource.c
53
struct symbol *sym;
usr/src/tools/smatch/src/check_release_resource.c
71
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/check_return_cast.c
28
struct symbol *func_type = get_real_base_type(cur_func_sym);
usr/src/tools/smatch/src/check_rosenberg.c
108
struct symbol *type;
usr/src/tools/smatch/src/check_rosenberg.c
118
struct symbol *sym;
usr/src/tools/smatch/src/check_rosenberg.c
122
sym = expr->symbol;
usr/src/tools/smatch/src/check_rosenberg.c
150
static int member_initialized(char *name, struct symbol *outer, struct symbol *member, int pointer)
usr/src/tools/smatch/src/check_rosenberg.c
153
struct symbol *base;
usr/src/tools/smatch/src/check_rosenberg.c
170
static int member_uninitialized(char *name, struct symbol *outer, struct symbol *member, int pointer)
usr/src/tools/smatch/src/check_rosenberg.c
173
struct symbol *base;
usr/src/tools/smatch/src/check_rosenberg.c
196
struct symbol *outer;
usr/src/tools/smatch/src/check_rosenberg.c
197
struct symbol *sym;
usr/src/tools/smatch/src/check_rosenberg.c
198
struct symbol *tmp;
usr/src/tools/smatch/src/check_rosenberg.c
314
struct symbol *type;
usr/src/tools/smatch/src/check_rosenberg.c
35
static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/check_rosenberg.c
37
struct symbol *type;
usr/src/tools/smatch/src/check_rosenberg.c
61
static int check_struct(struct expression *expr, struct symbol *type)
usr/src/tools/smatch/src/check_rosenberg.c
63
struct symbol *tmp, *base_type;
usr/src/tools/smatch/src/check_shift_to_zero.c
24
struct symbol *type;
usr/src/tools/smatch/src/check_shift_to_zero.c
72
struct symbol *type;
usr/src/tools/smatch/src/check_signed.c
232
struct symbol *type;
usr/src/tools/smatch/src/check_signed.c
36
struct symbol *sym;
usr/src/tools/smatch/src/check_signed_integer_overflow_check.c
32
struct symbol *type;
usr/src/tools/smatch/src/check_spectre.c
95
struct symbol *type;
usr/src/tools/smatch/src/check_spectre_second_half.c
106
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/check_stack.c
41
static void match_declarations(struct symbol *sym)
usr/src/tools/smatch/src/check_stack.c
43
struct symbol *base;
usr/src/tools/smatch/src/check_stack.c
62
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/check_struct_type.c
28
struct symbol *left_type;
usr/src/tools/smatch/src/check_struct_type.c
29
struct symbol *size_type;
usr/src/tools/smatch/src/check_syscall_arg_type.c
108
static const char *get_arg_type_from_type(struct symbol *sym)
usr/src/tools/smatch/src/check_syscall_arg_type.c
110
struct symbol *type;
usr/src/tools/smatch/src/check_syscall_arg_type.c
142
const char *get_syscall_arg_type(struct symbol *sym)
usr/src/tools/smatch/src/check_syscall_arg_type.c
53
struct symbol *sym;
usr/src/tools/smatch/src/check_syscall_arg_type.c
57
static struct symbol *_typedef_lookup(const char *name)
usr/src/tools/smatch/src/check_syscall_arg_type.c
60
struct symbol *node;
usr/src/tools/smatch/src/check_syscall_arg_type.c
80
static int is_mode_t(struct symbol *sym)
usr/src/tools/smatch/src/check_syscall_arg_type.c
83
struct symbol *type;
usr/src/tools/smatch/src/check_syscall_arg_type.c
94
static int is_pid_t(struct symbol *sym)
usr/src/tools/smatch/src/check_syscall_arg_type.c
97
struct symbol *type;
usr/src/tools/smatch/src/check_trinity_generator.c
32
static int gen_custom_struct(int nr, struct symbol *arg)
usr/src/tools/smatch/src/check_trinity_generator.c
37
static void print_arg(int nr, struct symbol *arg)
usr/src/tools/smatch/src/check_trinity_generator.c
45
struct symbol *arg;
usr/src/tools/smatch/src/check_type.c
37
struct symbol *type;
usr/src/tools/smatch/src/check_uninitialized.c
229
get_static_filter(call->fn->symbol), PARAM_USED, param, printed_name);
usr/src/tools/smatch/src/check_uninitialized.c
235
struct symbol *type, *sym;
usr/src/tools/smatch/src/check_uninitialized.c
33
static void mark_members_uninitialized(struct symbol *sym)
usr/src/tools/smatch/src/check_uninitialized.c
35
struct symbol *struct_type, *tmp, *base_type;
usr/src/tools/smatch/src/check_uninitialized.c
53
static void match_declarations(struct symbol *sym)
usr/src/tools/smatch/src/check_uninitialized.c
55
struct symbol *type;
usr/src/tools/smatch/src/check_uninitialized.c
80
static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/check_unreachable.c
37
struct symbol *fn = get_base_type(cur_func_sym);
usr/src/tools/smatch/src/check_unreachable.c
55
struct symbol *sym;
usr/src/tools/smatch/src/check_unused_ret.c
117
if (left->symbol->ctype.modifiers & (MOD_TOPLEVEL | MOD_EXTERN | MOD_STATIC))
usr/src/tools/smatch/src/check_unused_ret.c
179
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/check_unused_ret.c
192
static void match_after_func(struct symbol *sym)
usr/src/tools/smatch/src/check_unwind.c
122
struct symbol *type;
usr/src/tools/smatch/src/check_unwind.c
42
struct symbol *sym;
usr/src/tools/smatch/src/check_unwind.c
43
struct symbol *arg;
usr/src/tools/smatch/src/check_unwind.c
61
static struct symbol *last_printed = NULL;
usr/src/tools/smatch/src/check_wine_WtoA.c
34
static void match_function_def(struct symbol *sym)
usr/src/tools/smatch/src/check_wine_filehandles.c
57
struct symbol *left_sym;
usr/src/tools/smatch/src/check_zero_to_err_ptr.c
68
if (next->fn->type != EXPR_SYMBOL || !next->fn->symbol ||
usr/src/tools/smatch/src/check_zero_to_err_ptr.c
69
!next->fn->symbol->ident ||
usr/src/tools/smatch/src/check_zero_to_err_ptr.c
70
(strcmp(next->fn->symbol->ident->name, "IS_ERR") != 0 &&
usr/src/tools/smatch/src/check_zero_to_err_ptr.c
71
strcmp(next->fn->symbol->ident->name, "IS_ERR_OR_NULL") != 0))
usr/src/tools/smatch/src/compile-i386.c
1050
static void emit_array(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
1052
struct symbol *base_type = sym->ctype.base_type;
usr/src/tools/smatch/src/compile-i386.c
1082
void emit_one_symbol(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
1088
struct symbol *ctype)
usr/src/tools/smatch/src/compile-i386.c
1121
static void emit_scalar_noinit(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
1129
static void emit_array_noinit(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
1156
struct symbol *ctype, const char *comment)
usr/src/tools/smatch/src/compile-i386.c
116
struct symbol *ctype;
usr/src/tools/smatch/src/compile-i386.c
131
struct symbol *sym;
usr/src/tools/smatch/src/compile-i386.c
143
struct symbol *labelsym;
usr/src/tools/smatch/src/compile-i386.c
1612
static struct storage *emit_symbol_expr_init(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
1651
struct symbol *old_type, *new_type;
usr/src/tools/smatch/src/compile-i386.c
1715
struct symbol *sym, *default_sym = NULL;
usr/src/tools/smatch/src/compile-i386.c
1794
static void x86_struct_member(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
1800
static void x86_symbol(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
1802
struct symbol *type;
usr/src/tools/smatch/src/compile-i386.c
1837
struct symbol *member;
usr/src/tools/smatch/src/compile-i386.c
1868
static void x86_symbol_init(struct symbol *sym);
usr/src/tools/smatch/src/compile-i386.c
1872
struct symbol *sym;
usr/src/tools/smatch/src/compile-i386.c
195
struct symbol *ctype, const char *comment);
usr/src/tools/smatch/src/compile-i386.c
197
static struct storage *x86_symbol_expr(struct symbol *sym);
usr/src/tools/smatch/src/compile-i386.c
198
static void x86_symbol(struct symbol *sym);
usr/src/tools/smatch/src/compile-i386.c
2068
struct symbol *direct;
usr/src/tools/smatch/src/compile-i386.c
2105
struct symbol *sym = fn->unop->symbol;
usr/src/tools/smatch/src/compile-i386.c
2193
static int x86_initialization(struct symbol *sym, struct expression *expr)
usr/src/tools/smatch/src/compile-i386.c
2229
static struct storage *x86_symbol_expr(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
2245
static void x86_symbol_init(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
2278
static int x86_position_expr(struct expression *expr, struct symbol *base)
usr/src/tools/smatch/src/compile-i386.c
2281
struct symbol *ctype = expr->init_expr->ctype;
usr/src/tools/smatch/src/compile-i386.c
2289
static void x86_initializer_expr(struct expression *expr, struct symbol *ctype)
usr/src/tools/smatch/src/compile-i386.c
2350
return emit_symbol_expr_init(expr->symbol);
usr/src/tools/smatch/src/compile-i386.c
420
static void stor_sym_init(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
542
static struct storage *new_labelsym(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
673
static void emit_labelsym (struct symbol *sym, const char *comment)
usr/src/tools/smatch/src/compile-i386.c
799
static void emit_func_pre(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
802
struct symbol *arg;
usr/src/tools/smatch/src/compile-i386.c
807
struct symbol *base_type = sym->ctype.base_type;
usr/src/tools/smatch/src/compile-i386.c
815
(argc * sizeof(struct symbol *)) +
usr/src/tools/smatch/src/compile-i386.c
824
f->argv = (struct symbol **) mem;
usr/src/tools/smatch/src/compile-i386.c
825
mem += (argc * sizeof(struct symbol *));
usr/src/tools/smatch/src/compile-i386.c
848
static void emit_func_post(struct symbol *sym)
usr/src/tools/smatch/src/compile-i386.c
88
struct symbol **argv;
usr/src/tools/smatch/src/compile-i386.c
960
static void emit_initializer(struct symbol *sym,
usr/src/tools/smatch/src/compile-i386.c
969
struct symbol *base_type = sym->ctype.base_type;
usr/src/tools/smatch/src/compile.c
46
struct symbol *sym;
usr/src/tools/smatch/src/compile.h
4
struct symbol;
usr/src/tools/smatch/src/compile.h
6
extern void emit_one_symbol(struct symbol *);
usr/src/tools/smatch/src/ctags.c
104
static inline void add_tag(struct symbol *sym)
usr/src/tools/smatch/src/ctags.c
114
struct symbol *sym;
usr/src/tools/smatch/src/ctags.c
122
static void examine_symbol(struct symbol *sym)
usr/src/tools/smatch/src/ctags.c
124
struct symbol *base = sym;
usr/src/tools/smatch/src/ctags.c
171
static void examine_namespace(struct symbol *sym)
usr/src/tools/smatch/src/ctags.c
204
struct symbol *sym;
usr/src/tools/smatch/src/ctags.c
37
static void examine_symbol(struct symbol *sym);
usr/src/tools/smatch/src/ctags.c
43
const struct ident *a = ((const struct symbol *)m)->ident;
usr/src/tools/smatch/src/ctags.c
44
const struct ident *b = ((const struct symbol *)n)->ident;
usr/src/tools/smatch/src/ctags.c
47
const struct position a_pos = ((const struct symbol *)m)->pos;
usr/src/tools/smatch/src/ctags.c
48
const struct position b_pos = ((const struct symbol *)n)->pos;
usr/src/tools/smatch/src/ctags.c
68
static inline void show_symbol_tag(FILE *fp, struct symbol *sym)
usr/src/tools/smatch/src/ctags.c
76
struct symbol *sym;
usr/src/tools/smatch/src/dissect.c
121
static inline struct symbol *no_member(struct ident *name)
usr/src/tools/smatch/src/dissect.c
123
static struct symbol sym = {
usr/src/tools/smatch/src/dissect.c
133
static struct symbol *report_member(usage_t mode, struct position *pos,
usr/src/tools/smatch/src/dissect.c
134
struct symbol *type, struct symbol *mem)
usr/src/tools/smatch/src/dissect.c
136
struct symbol *ret = mem->ctype.base_type;
usr/src/tools/smatch/src/dissect.c
144
static void report_implicit(usage_t mode, struct position *pos, struct symbol *type)
usr/src/tools/smatch/src/dissect.c
159
static inline struct symbol *expr_symbol(struct expression *expr)
usr/src/tools/smatch/src/dissect.c
161
struct symbol *sym = expr->symbol;
usr/src/tools/smatch/src/dissect.c
179
static struct symbol *report_symbol(usage_t mode, struct expression *expr)
usr/src/tools/smatch/src/dissect.c
181
struct symbol *sym = expr_symbol(expr);
usr/src/tools/smatch/src/dissect.c
182
struct symbol *ret = base_type(sym);
usr/src/tools/smatch/src/dissect.c
185
return report_member(mode, &expr->pos, ret, expr->symbol);
usr/src/tools/smatch/src/dissect.c
204
static void examine_sym_node(struct symbol *node, struct ident *root)
usr/src/tools/smatch/src/dissect.c
206
struct symbol *base;
usr/src/tools/smatch/src/dissect.c
246
static struct symbol *base_type(struct symbol *sym)
usr/src/tools/smatch/src/dissect.c
258
static struct symbol *__lookup_member(struct symbol *type, struct ident *name, int *p_addr)
usr/src/tools/smatch/src/dissect.c
260
struct symbol *node;
usr/src/tools/smatch/src/dissect.c
285
static struct symbol *lookup_member(struct symbol *type, struct ident *name, int *addr)
usr/src/tools/smatch/src/dissect.c
307
static struct symbol *do_expression(usage_t mode, struct expression *expr)
usr/src/tools/smatch/src/dissect.c
309
struct symbol *ret = &int_ctype;
usr/src/tools/smatch/src/dissect.c
372
struct symbol *l, *r;
usr/src/tools/smatch/src/dissect.c
420
struct symbol *p_type;
usr/src/tools/smatch/src/dissect.c
433
struct symbol *in = base_type(expr->in);
usr/src/tools/smatch/src/dissect.c
462
static struct symbol *do_statement(usage_t mode, struct statement *stmt)
usr/src/tools/smatch/src/dissect.c
464
struct symbol *ret = &void_ctype;
usr/src/tools/smatch/src/dissect.c
529
static struct symbol *do_initializer(struct symbol *type, struct expression *expr)
usr/src/tools/smatch/src/dissect.c
531
struct symbol *m_type;
usr/src/tools/smatch/src/dissect.c
55
static struct symbol *return_type;
usr/src/tools/smatch/src/dissect.c
576
static inline struct symbol *do_symbol(struct symbol *sym)
usr/src/tools/smatch/src/dissect.c
578
struct symbol *type;
usr/src/tools/smatch/src/dissect.c
59
static struct symbol
usr/src/tools/smatch/src/dissect.c
60
*base_type(struct symbol *sym),
usr/src/tools/smatch/src/dissect.c
61
*do_initializer(struct symbol *type, struct expression *expr),
usr/src/tools/smatch/src/dissect.c
65
static inline int is_ptr(struct symbol *type)
usr/src/tools/smatch/src/dissect.c
82
static usage_t u_lval(struct symbol *type)
usr/src/tools/smatch/src/dissect.c
89
static usage_t fix_mode(struct symbol *type, usage_t mode)
usr/src/tools/smatch/src/dissect.h
21
void (*r_symdef)(struct symbol *);
usr/src/tools/smatch/src/dissect.h
23
void (*r_symbol)(unsigned, struct position *, struct symbol *);
usr/src/tools/smatch/src/dissect.h
24
void (*r_member)(unsigned, struct position *, struct symbol *, struct symbol *);
usr/src/tools/smatch/src/evaluate.c
100
struct symbol *sym = alloc_symbol(expr->pos, SYM_NODE);
usr/src/tools/smatch/src/evaluate.c
1008
static struct symbol *evaluate_comma(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
101
struct symbol *array = alloc_symbol(expr->pos, SYM_ARRAY);
usr/src/tools/smatch/src/evaluate.c
1045
static struct symbol *evaluate_compare(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
1048
struct symbol *ltype, *rtype, *lbase, *rbase;
usr/src/tools/smatch/src/evaluate.c
1051
struct symbol *ctype;
usr/src/tools/smatch/src/evaluate.c
1153
static struct symbol *evaluate_conditional_expression(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
1156
struct symbol *ctype, *ltype, *rtype, *lbase, *rbase;
usr/src/tools/smatch/src/evaluate.c
123
addr->symbol = sym;
usr/src/tools/smatch/src/evaluate.c
1296
struct symbol *sym = alloc_symbol(ctype->pos, SYM_PTR);
usr/src/tools/smatch/src/evaluate.c
1317
struct symbol *target = expr->left->ctype;
usr/src/tools/smatch/src/evaluate.c
1318
struct symbol *source = expr->right->ctype;
usr/src/tools/smatch/src/evaluate.c
1319
struct symbol *t, *s;
usr/src/tools/smatch/src/evaluate.c
135
static inline struct symbol *integer_promotion(struct symbol *type)
usr/src/tools/smatch/src/evaluate.c
1378
static int whitelist_pointers(struct symbol *t1, struct symbol *t2)
usr/src/tools/smatch/src/evaluate.c
1399
static int check_assignment_types(struct symbol *target, struct expression **rp,
usr/src/tools/smatch/src/evaluate.c
1402
struct symbol *source = degenerate(*rp);
usr/src/tools/smatch/src/evaluate.c
1403
struct symbol *t, *s;
usr/src/tools/smatch/src/evaluate.c
1430
struct symbol *b1, *b2;
usr/src/tools/smatch/src/evaluate.c
1496
static int compatible_assignment_types(struct expression *expr, struct symbol *target,
usr/src/tools/smatch/src/evaluate.c
1500
struct symbol *source = degenerate(*rp);
usr/src/tools/smatch/src/evaluate.c
1513
static int compatible_transparent_union(struct symbol *target,
usr/src/tools/smatch/src/evaluate.c
1516
struct symbol *t, *member;
usr/src/tools/smatch/src/evaluate.c
1530
static int compatible_argument_type(struct expression *expr, struct symbol *target,
usr/src/tools/smatch/src/evaluate.c
1541
struct symbol *sym;
usr/src/tools/smatch/src/evaluate.c
1547
sym = expr->symbol;
usr/src/tools/smatch/src/evaluate.c
1572
static void evaluate_assign_to(struct expression *left, struct symbol *type)
usr/src/tools/smatch/src/evaluate.c
1581
static struct symbol *evaluate_assignment(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
1584
struct symbol *ltype;
usr/src/tools/smatch/src/evaluate.c
1607
static void examine_fn_arguments(struct symbol *fn)
usr/src/tools/smatch/src/evaluate.c
1609
struct symbol *s;
usr/src/tools/smatch/src/evaluate.c
1612
struct symbol *arg = evaluate_symbol(s);
usr/src/tools/smatch/src/evaluate.c
1615
struct symbol *ptr;
usr/src/tools/smatch/src/evaluate.c
1642
static struct symbol *convert_to_as_mod(struct symbol *sym, struct ident *as, int mod)
usr/src/tools/smatch/src/evaluate.c
1647
struct symbol *newsym = alloc_symbol(sym->pos, SYM_NODE);
usr/src/tools/smatch/src/evaluate.c
1656
static struct symbol *create_pointer(struct expression *expr, struct symbol *sym, int degenerate)
usr/src/tools/smatch/src/evaluate.c
1658
struct symbol *node = alloc_symbol(expr->pos, SYM_NODE);
usr/src/tools/smatch/src/evaluate.c
1659
struct symbol *ptr = alloc_symbol(expr->pos, SYM_PTR);
usr/src/tools/smatch/src/evaluate.c
1689
static struct symbol *degenerate(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
1691
struct symbol *ctype, *base;
usr/src/tools/smatch/src/evaluate.c
1711
struct symbol *a = alloc_symbol(expr->pos, SYM_NODE);
usr/src/tools/smatch/src/evaluate.c
1719
e0->symbol = a;
usr/src/tools/smatch/src/evaluate.c
1767
static struct symbol *evaluate_addressof(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
1770
struct symbol *ctype;
usr/src/tools/smatch/src/evaluate.c
178
static struct symbol *bigger_int_type(struct symbol *left, struct symbol *right)
usr/src/tools/smatch/src/evaluate.c
1780
struct symbol *sym = expr->symbol;
usr/src/tools/smatch/src/evaluate.c
1797
static struct symbol *evaluate_dereference(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
1800
struct symbol *ctype = op->ctype, *node, *target;
usr/src/tools/smatch/src/evaluate.c
1860
static struct symbol *evaluate_postop(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
1863
struct symbol *ctype = op->ctype;
usr/src/tools/smatch/src/evaluate.c
1882
struct symbol *target = examine_pointer_target(ctype);
usr/src/tools/smatch/src/evaluate.c
1898
static struct symbol *evaluate_sign(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
1900
struct symbol *ctype = expr->unop->ctype;
usr/src/tools/smatch/src/evaluate.c
1929
static struct symbol *evaluate_preop(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
1931
struct symbol *ctype = expr->unop->ctype;
usr/src/tools/smatch/src/evaluate.c
1991
struct symbol *find_identifier(struct ident *ident, struct symbol_list *_list, int *offset)
usr/src/tools/smatch/src/evaluate.c
2001
struct symbol *sym = (struct symbol *) list->list[i];
usr/src/tools/smatch/src/evaluate.c
2008
struct symbol *ctype = sym->ctype.base_type;
usr/src/tools/smatch/src/evaluate.c
2009
struct symbol *sub;
usr/src/tools/smatch/src/evaluate.c
2060
static struct symbol *evaluate_member_dereference(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
2063
struct symbol *ctype, *member;
usr/src/tools/smatch/src/evaluate.c
207
static int same_cast_type(struct symbol *orig, struct symbol *new)
usr/src/tools/smatch/src/evaluate.c
213
static struct symbol *base_type(struct symbol *node, unsigned long *modp, struct ident **asp)
usr/src/tools/smatch/src/evaluate.c
2174
static struct symbol *evaluate_cast(struct expression *);
usr/src/tools/smatch/src/evaluate.c
2176
static struct symbol *evaluate_type_information(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
2178
struct symbol *sym = expr->cast_type;
usr/src/tools/smatch/src/evaluate.c
2202
static struct symbol *evaluate_sizeof(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
2204
struct symbol *type;
usr/src/tools/smatch/src/evaluate.c
2233
struct symbol *base_type;
usr/src/tools/smatch/src/evaluate.c
2273
static struct symbol *evaluate_ptrsizeof(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
2275
struct symbol *type;
usr/src/tools/smatch/src/evaluate.c
2307
static struct symbol *evaluate_alignof(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
2309
struct symbol *type;
usr/src/tools/smatch/src/evaluate.c
232
static int is_same_type(struct expression *expr, struct symbol *new)
usr/src/tools/smatch/src/evaluate.c
2322
static int evaluate_arguments(struct symbol *fn, struct expression_list *head)
usr/src/tools/smatch/src/evaluate.c
2326
struct symbol *argtype;
usr/src/tools/smatch/src/evaluate.c
2332
struct symbol *ctype, *target;
usr/src/tools/smatch/src/evaluate.c
234
struct symbol *old = expr->ctype;
usr/src/tools/smatch/src/evaluate.c
2340
struct symbol *type;
usr/src/tools/smatch/src/evaluate.c
2411
static struct expression *first_subobject(struct symbol *ctype, int class,
usr/src/tools/smatch/src/evaluate.c
2426
struct symbol *field, *p;
usr/src/tools/smatch/src/evaluate.c
2448
struct symbol *ctype)
usr/src/tools/smatch/src/evaluate.c
2456
struct symbol *type;
usr/src/tools/smatch/src/evaluate.c
2515
struct symbol *ctype,
usr/src/tools/smatch/src/evaluate.c
2547
struct symbol *field;
usr/src/tools/smatch/src/evaluate.c
2587
int class, struct symbol *ctype, unsigned long mods);
usr/src/tools/smatch/src/evaluate.c
2593
int class, struct symbol *ctype, unsigned long mods)
usr/src/tools/smatch/src/evaluate.c
2600
struct symbol *type;
usr/src/tools/smatch/src/evaluate.c
2604
struct symbol *struct_sym;
usr/src/tools/smatch/src/evaluate.c
272
struct symbol *typea,
usr/src/tools/smatch/src/evaluate.c
273
struct symbol *typeb)
usr/src/tools/smatch/src/evaluate.c
2745
int class, struct symbol *ctype, unsigned long mods)
usr/src/tools/smatch/src/evaluate.c
2749
struct symbol *type;
usr/src/tools/smatch/src/evaluate.c
2839
static void evaluate_initializer(struct symbol *ctype, struct expression **ep)
usr/src/tools/smatch/src/evaluate.c
2841
struct symbol *type;
usr/src/tools/smatch/src/evaluate.c
2847
static struct symbol *cast_to_bool(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
2851
struct symbol *otype;
usr/src/tools/smatch/src/evaluate.c
2853
struct symbol *ctype;
usr/src/tools/smatch/src/evaluate.c
2871
struct symbol *t;
usr/src/tools/smatch/src/evaluate.c
2922
static struct symbol *evaluate_cast(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
2925
struct symbol *ctype;
usr/src/tools/smatch/src/evaluate.c
2926
struct symbol *ttype, *stype;
usr/src/tools/smatch/src/evaluate.c
293
static struct symbol *cast_to_bool(struct expression *expr);
usr/src/tools/smatch/src/evaluate.c
2944
struct symbol *sym = expr->cast_type;
usr/src/tools/smatch/src/evaluate.c
2951
addr->symbol = sym;
usr/src/tools/smatch/src/evaluate.c
302
static struct expression * cast_to(struct expression *old, struct symbol *type)
usr/src/tools/smatch/src/evaluate.c
3088
struct symbol *ctype = fn->ctype;
usr/src/tools/smatch/src/evaluate.c
3098
struct symbol *curr = current_fn;
usr/src/tools/smatch/src/evaluate.c
3115
static struct symbol *evaluate_call(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
3118
struct symbol *ctype, *sym;
usr/src/tools/smatch/src/evaluate.c
3170
static struct symbol *evaluate_offsetof(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
3173
struct symbol *ctype = expr->in;
usr/src/tools/smatch/src/evaluate.c
3177
struct symbol *field;
usr/src/tools/smatch/src/evaluate.c
3221
struct symbol *i_type = evaluate_expression(idx);
usr/src/tools/smatch/src/evaluate.c
3262
struct symbol *evaluate_expression(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
3338
evaluate_symbol(expr->symbol);
usr/src/tools/smatch/src/evaluate.c
3363
void check_duplicates(struct symbol *sym)
usr/src/tools/smatch/src/evaluate.c
3366
struct symbol *next = sym;
usr/src/tools/smatch/src/evaluate.c
3402
static struct symbol *evaluate_symbol(struct symbol *sym)
usr/src/tools/smatch/src/evaluate.c
3404
struct symbol *base_type;
usr/src/tools/smatch/src/evaluate.c
3423
struct symbol *curr = current_fn;
usr/src/tools/smatch/src/evaluate.c
3444
struct symbol *sym;
usr/src/tools/smatch/src/evaluate.c
3453
static struct symbol *evaluate_return_expression(struct statement *stmt)
usr/src/tools/smatch/src/evaluate.c
3456
struct symbol *fntype;
usr/src/tools/smatch/src/evaluate.c
3522
struct symbol *sym;
usr/src/tools/smatch/src/evaluate.c
3595
struct symbol *switch_type, *case_type;
usr/src/tools/smatch/src/evaluate.c
3641
struct symbol *sym;
usr/src/tools/smatch/src/evaluate.c
3662
struct symbol *label = stmt->goto_label;
usr/src/tools/smatch/src/evaluate.c
367
static inline int classify_type(struct symbol *type, struct symbol **base)
usr/src/tools/smatch/src/evaluate.c
3670
struct symbol *evaluate_statement(struct statement *stmt)
usr/src/tools/smatch/src/evaluate.c
3677
struct symbol *s;
usr/src/tools/smatch/src/evaluate.c
3696
struct symbol *type = NULL;
usr/src/tools/smatch/src/evaluate.c
402
static inline int is_string_type(struct symbol *type)
usr/src/tools/smatch/src/evaluate.c
409
static struct symbol *bad_expr_type(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
435
static int restricted_value(struct expression *v, struct symbol *type)
usr/src/tools/smatch/src/evaluate.c
444
static int restricted_binop(int op, struct symbol *type)
usr/src/tools/smatch/src/evaluate.c
46
struct symbol *current_fn;
usr/src/tools/smatch/src/evaluate.c
465
static int restricted_unop(int op, struct symbol **type)
usr/src/tools/smatch/src/evaluate.c
477
static inline struct symbol *unfoul(struct symbol *type)
usr/src/tools/smatch/src/evaluate.c
482
static struct symbol *restricted_binop_type(int op,
usr/src/tools/smatch/src/evaluate.c
486
struct symbol *ltype,
usr/src/tools/smatch/src/evaluate.c
487
struct symbol *rtype)
usr/src/tools/smatch/src/evaluate.c
489
struct symbol *ctype = NULL;
usr/src/tools/smatch/src/evaluate.c
50
static struct symbol *degenerate(struct expression *expr);
usr/src/tools/smatch/src/evaluate.c
51
static struct symbol *evaluate_symbol(struct symbol *sym);
usr/src/tools/smatch/src/evaluate.c
528
int class, struct symbol **ctype)
usr/src/tools/smatch/src/evaluate.c
539
static struct symbol *usual_conversions(int op,
usr/src/tools/smatch/src/evaluate.c
543
struct symbol *ltype,
usr/src/tools/smatch/src/evaluate.c
544
struct symbol *rtype)
usr/src/tools/smatch/src/evaluate.c
546
struct symbol *ctype;
usr/src/tools/smatch/src/evaluate.c
586
static struct symbol *evaluate_ptr_add(struct expression *expr, struct symbol *itype)
usr/src/tools/smatch/src/evaluate.c
589
struct symbol *ctype, *base;
usr/src/tools/smatch/src/evaluate.c
64
static struct symbol *evaluate_symbol_expression(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
659
static void examine_fn_arguments(struct symbol *fn);
usr/src/tools/smatch/src/evaluate.c
667
struct symbol *t1 = c1->base_type;
usr/src/tools/smatch/src/evaluate.c
668
struct symbol *t2 = c2->base_type;
usr/src/tools/smatch/src/evaluate.c
67
struct symbol *sym = expr->symbol;
usr/src/tools/smatch/src/evaluate.c
675
struct symbol *base1 = t1->ctype.base_type;
usr/src/tools/smatch/src/evaluate.c
676
struct symbol *base2 = t2->ctype.base_type;
usr/src/tools/smatch/src/evaluate.c
68
struct symbol *base_type;
usr/src/tools/smatch/src/evaluate.c
755
struct symbol *arg1, *arg2;
usr/src/tools/smatch/src/evaluate.c
827
static unsigned long target_qualifiers(struct symbol *type)
usr/src/tools/smatch/src/evaluate.c
835
static struct symbol *evaluate_ptr_sub(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
838
struct symbol *ltype, *rtype;
usr/src/tools/smatch/src/evaluate.c
84
addr->symbol = sym;
usr/src/tools/smatch/src/evaluate.c
841
struct symbol *lbase;
usr/src/tools/smatch/src/evaluate.c
891
static struct symbol *evaluate_conditional(struct expression *expr, int iterator)
usr/src/tools/smatch/src/evaluate.c
893
struct symbol *ctype;
usr/src/tools/smatch/src/evaluate.c
922
static struct symbol *evaluate_logical(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
936
static struct symbol *evaluate_binop(struct expression *expr)
usr/src/tools/smatch/src/evaluate.c
938
struct symbol *ltype, *rtype, *ctype;
usr/src/tools/smatch/src/evaluate.c
98
static struct symbol *evaluate_string(struct expression *expr)
usr/src/tools/smatch/src/evaluate.h
14
struct symbol *evaluate_expression(struct expression *expr);
usr/src/tools/smatch/src/evaluate.h
21
struct symbol *evaluate_statement(struct statement *stmt);
usr/src/tools/smatch/src/evaluate.h
6
struct symbol;
usr/src/tools/smatch/src/example.c
1368
struct symbol *sym = insn->bb->ep->name;
usr/src/tools/smatch/src/example.c
161
struct symbol *sym;
usr/src/tools/smatch/src/example.c
1806
struct symbol *sym, *argtype;
usr/src/tools/smatch/src/example.c
1933
struct symbol *sym;
usr/src/tools/smatch/src/example.c
748
struct symbol *sym = pseudo->sym;
usr/src/tools/smatch/src/expand.c
1114
int expand_symbol(struct symbol *sym)
usr/src/tools/smatch/src/expand.c
1117
struct symbol *base_type;
usr/src/tools/smatch/src/expand.c
1210
struct symbol *sym;
usr/src/tools/smatch/src/expand.c
1286
struct symbol *ctype;
usr/src/tools/smatch/src/expand.c
1339
struct symbol *ctype;
usr/src/tools/smatch/src/expand.c
166
static void warn_shift_count(struct expression *expr, struct symbol *ctype, long long count)
usr/src/tools/smatch/src/expand.c
185
struct symbol *ctype = expr->ctype;
usr/src/tools/smatch/src/expand.c
202
static int simplify_int_binop(struct expression *expr, struct symbol *ctype)
usr/src/tools/smatch/src/expand.c
318
static int simplify_cmp_binop(struct expression *expr, struct symbol *ctype)
usr/src/tools/smatch/src/expand.c
399
static int simplify_float_cmp(struct expression *expr, struct symbol *ctype)
usr/src/tools/smatch/src/expand.c
507
static int compare_types(int op, struct symbol *left, struct symbol *right)
usr/src/tools/smatch/src/expand.c
541
expr->value = compare_types(op, left->symbol, right->symbol);
usr/src/tools/smatch/src/expand.c
59
struct symbol *sym = expr->symbol;
usr/src/tools/smatch/src/expand.c
624
static struct expression *constant_symbol_value(struct symbol *sym, int offset)
usr/src/tools/smatch/src/expand.c
683
struct symbol *sym = unop->symbol;
usr/src/tools/smatch/src/expand.c
834
struct symbol *ctype = fn->ctype;
usr/src/tools/smatch/src/expand.c
853
struct symbol *sym;
usr/src/tools/smatch/src/expand.c
89
void cast_value(struct expression *expr, struct symbol *newtype,
usr/src/tools/smatch/src/expand.c
90
struct expression *old, struct symbol *oldtype)
usr/src/tools/smatch/src/expression.c
138
struct symbol *sym;
usr/src/tools/smatch/src/expression.c
145
(*tree)->symbol = sym;
usr/src/tools/smatch/src/expression.c
180
struct symbol *sym;
usr/src/tools/smatch/src/expression.c
396
expr->symbol = &zero_int;
usr/src/tools/smatch/src/expression.c
403
struct symbol *sym = lookup_symbol(token->ident, NS_SYMBOL | NS_TYPEDEF);
usr/src/tools/smatch/src/expression.c
439
expr->symbol = sym;
usr/src/tools/smatch/src/expression.c
467
token = typename(token->next, &expr->symbol, NULL);
usr/src/tools/smatch/src/expression.c
680
struct symbol *sym = label_symbol(token->next);
usr/src/tools/smatch/src/expression.c
711
struct symbol *sym;
usr/src/tools/smatch/src/expression.c
90
static struct symbol *handle_func(struct token *token)
usr/src/tools/smatch/src/expression.c
93
struct symbol *decl, *array;
usr/src/tools/smatch/src/expression.h
151
struct symbol *ctype;
usr/src/tools/smatch/src/expression.h
177
struct symbol *symbol;
usr/src/tools/smatch/src/expression.h
202
struct symbol *cast_type;
usr/src/tools/smatch/src/expression.h
217
struct symbol *label_symbol;
usr/src/tools/smatch/src/expression.h
225
struct symbol *field;
usr/src/tools/smatch/src/expression.h
240
struct symbol *in;
usr/src/tools/smatch/src/expression.h
285
extern struct symbol *evaluate_statement(struct statement *stmt);
usr/src/tools/smatch/src/expression.h
286
extern struct symbol *evaluate_expression(struct expression *);
usr/src/tools/smatch/src/expression.h
287
struct symbol *find_identifier(struct ident *ident, struct symbol_list *_list, int *offset);
usr/src/tools/smatch/src/expression.h
289
extern int expand_symbol(struct symbol *);
usr/src/tools/smatch/src/expression.h
312
struct token *typename(struct token *, struct symbol **, int *);
usr/src/tools/smatch/src/expression.h
317
struct symbol *sym = lookup_symbol(token->ident, NS_SYMBOL | NS_TYPEDEF);
usr/src/tools/smatch/src/expression.h
332
void cast_value(struct expression *expr, struct symbol *newtype,
usr/src/tools/smatch/src/expression.h
333
struct expression *old, struct symbol *oldtype);
usr/src/tools/smatch/src/flow.c
474
struct symbol *sym = pseudo->sym;
usr/src/tools/smatch/src/graph.c
141
struct symbol * sym;
usr/src/tools/smatch/src/graph.c
169
struct symbol *sym;
usr/src/tools/smatch/src/inline.c
160
struct symbol *sym = expr->cast_type;
usr/src/tools/smatch/src/inline.c
233
struct symbol *label_symbol = copy_symbol(expr->pos, expr->label_symbol);
usr/src/tools/smatch/src/inline.c
300
static void set_replace(struct symbol *old, struct symbol *new)
usr/src/tools/smatch/src/inline.c
306
static void unset_replace(struct symbol *sym)
usr/src/tools/smatch/src/inline.c
308
struct symbol *r = sym->replace;
usr/src/tools/smatch/src/inline.c
319
struct symbol *sym;
usr/src/tools/smatch/src/inline.c
333
struct symbol *sym;
usr/src/tools/smatch/src/inline.c
337
struct symbol *newsym = copy_symbol(stmt->pos, sym);
usr/src/tools/smatch/src/inline.c
388
struct symbol *sym = copy_symbol(stmt->pos, stmt->ret_target);
usr/src/tools/smatch/src/inline.c
405
struct symbol *switch_break = copy_symbol(stmt->pos, stmt->switch_break);
usr/src/tools/smatch/src/inline.c
406
struct symbol *switch_case = copy_symbol(stmt->pos, stmt->switch_case);
usr/src/tools/smatch/src/inline.c
481
static struct symbol *create_copy_symbol(struct symbol *orig)
usr/src/tools/smatch/src/inline.c
483
struct symbol *sym = orig;
usr/src/tools/smatch/src/inline.c
498
struct symbol *sym;
usr/src/tools/smatch/src/inline.c
501
struct symbol *newsym = create_copy_symbol(sym);
usr/src/tools/smatch/src/inline.c
507
int inline_function(struct expression *expr, struct symbol *sym)
usr/src/tools/smatch/src/inline.c
510
struct symbol *fn = sym->ctype.base_type;
usr/src/tools/smatch/src/inline.c
514
struct symbol *name;
usr/src/tools/smatch/src/inline.c
53
static struct symbol *copy_symbol(struct position pos, struct symbol *sym)
usr/src/tools/smatch/src/inline.c
537
struct symbol *a = alloc_symbol(arg->pos, SYM_NODE);
usr/src/tools/smatch/src/inline.c
569
void uninline(struct symbol *sym)
usr/src/tools/smatch/src/inline.c
571
struct symbol *fn = sym->ctype.base_type;
usr/src/tools/smatch/src/inline.c
573
struct symbol *p;
usr/src/tools/smatch/src/inline.c
69
struct symbol *sym;
usr/src/tools/smatch/src/inline.c
72
struct symbol *newsym = copy_symbol(sym->pos, sym);
usr/src/tools/smatch/src/inline.c
89
struct symbol *sym = copy_symbol(expr->pos, expr->symbol);
usr/src/tools/smatch/src/inline.c
90
if (sym == expr->symbol)
usr/src/tools/smatch/src/inline.c
93
expr->symbol = sym;
usr/src/tools/smatch/src/ir.c
112
struct symbol *ctype = insn->type;
usr/src/tools/smatch/src/lib.c
1172
static void predefined_max(const char *name, struct symbol *type)
usr/src/tools/smatch/src/lib.c
1183
static void predefined_min(const char *name, struct symbol *type)
usr/src/tools/smatch/src/lib.c
1196
static void predefined_type(const char *name, struct symbol *type)
usr/src/tools/smatch/src/lib.c
1202
static void predefined_ctype(const char *name, struct symbol *type, int flags)
usr/src/tools/smatch/src/lib.h
310
static inline void add_symbol(struct symbol_list **list, struct symbol *sym)
usr/src/tools/smatch/src/lib.h
69
struct symbol;
usr/src/tools/smatch/src/lib.h
78
DECLARE_PTR_LIST(symbol_list, struct symbol);
usr/src/tools/smatch/src/linearize.c
1005
pseudo_t ori, pseudo_t val, struct symbol *ctype, struct symbol *btype)
usr/src/tools/smatch/src/linearize.c
1027
struct symbol *ctype = ad->type;
usr/src/tools/smatch/src/linearize.c
1028
struct symbol *btype;
usr/src/tools/smatch/src/linearize.c
1060
static pseudo_t add_binary_op(struct entrypoint *ep, struct symbol *ctype, int op, pseudo_t left, pseudo_t right)
usr/src/tools/smatch/src/linearize.c
1071
static pseudo_t add_setval(struct entrypoint *ep, struct symbol *ctype, struct expression *val)
usr/src/tools/smatch/src/linearize.c
1081
static pseudo_t add_setfval(struct entrypoint *ep, struct symbol *ctype, long double fval)
usr/src/tools/smatch/src/linearize.c
1091
static pseudo_t add_symbol_address(struct entrypoint *ep, struct symbol *sym)
usr/src/tools/smatch/src/linearize.c
1103
pseudo_t val, struct symbol *ctype, struct symbol *btype)
usr/src/tools/smatch/src/linearize.c
1117
struct symbol *ctype = ad->type;
usr/src/tools/smatch/src/linearize.c
1118
struct symbol *btype;
usr/src/tools/smatch/src/linearize.c
116
struct symbol *sym = pseudo->sym;
usr/src/tools/smatch/src/linearize.c
1166
static pseudo_t add_unop(struct entrypoint *ep, struct symbol *ctype, int op, pseudo_t src)
usr/src/tools/smatch/src/linearize.c
1177
static pseudo_t add_cast(struct entrypoint *ep, struct symbol *to,
usr/src/tools/smatch/src/linearize.c
1178
struct symbol *from, int op, pseudo_t src)
usr/src/tools/smatch/src/linearize.c
1202
struct symbol *ctype = expr->ctype;
usr/src/tools/smatch/src/linearize.c
1252
static enum mtype get_mtype(struct symbol *s)
usr/src/tools/smatch/src/linearize.c
1283
static int get_cast_opcode(struct symbol *dst, struct symbol *src)
usr/src/tools/smatch/src/linearize.c
1356
static pseudo_t cast_pseudo(struct entrypoint *ep, pseudo_t src, struct symbol *from, struct symbol *to)
usr/src/tools/smatch/src/linearize.c
1404
static int map_opcode(int opcode, struct symbol *ctype)
usr/src/tools/smatch/src/linearize.c
1417
static inline pseudo_t add_convert_to_bool(struct entrypoint *ep, pseudo_t src, struct symbol *type)
usr/src/tools/smatch/src/linearize.c
1451
struct symbol *ctype;
usr/src/tools/smatch/src/linearize.c
1494
struct symbol *fntype;
usr/src/tools/smatch/src/linearize.c
1517
call = symbol_pseudo(ep, fn->symbol);
usr/src/tools/smatch/src/linearize.c
1692
static void insert_phis(struct basic_block *bb, pseudo_t src, struct symbol *ctype,
usr/src/tools/smatch/src/linearize.c
1707
struct symbol *ctype = expr->ctype;
usr/src/tools/smatch/src/linearize.c
1856
static void linearize_argument(struct entrypoint *ep, struct symbol *arg, int nr)
usr/src/tools/smatch/src/linearize.c
1873
linearize_one_symbol(ep, expr->symbol);
usr/src/tools/smatch/src/linearize.c
1874
return add_symbol_address(ep, expr->symbol);
usr/src/tools/smatch/src/linearize.c
1945
static pseudo_t linearize_one_symbol(struct entrypoint *ep, struct symbol *sym)
usr/src/tools/smatch/src/linearize.c
1988
static void add_return(struct entrypoint *ep, struct basic_block *bb, struct symbol *ctype, pseudo_t src)
usr/src/tools/smatch/src/linearize.c
2033
struct symbol *sym;
usr/src/tools/smatch/src/linearize.c
2170
struct symbol *sym;
usr/src/tools/smatch/src/linearize.c
2183
struct symbol *ret = stmt->ret_target;
usr/src/tools/smatch/src/linearize.c
2197
struct symbol *sym;
usr/src/tools/smatch/src/linearize.c
2273
struct symbol *sym;
usr/src/tools/smatch/src/linearize.c
2353
struct symbol *label = stmt->label_identifier;
usr/src/tools/smatch/src/linearize.c
2362
struct symbol *sym;
usr/src/tools/smatch/src/linearize.c
2447
static struct entrypoint *linearize_fn(struct symbol *sym, struct symbol *base_type)
usr/src/tools/smatch/src/linearize.c
2452
struct symbol *ret_type;
usr/src/tools/smatch/src/linearize.c
2453
struct symbol *arg;
usr/src/tools/smatch/src/linearize.c
2496
struct entrypoint *linearize_symbol(struct symbol *sym)
usr/src/tools/smatch/src/linearize.c
2498
struct symbol *base_type;
usr/src/tools/smatch/src/linearize.c
29
static pseudo_t add_cast(struct entrypoint *ep, struct symbol *to, struct symbol *from, int op, pseudo_t src);
usr/src/tools/smatch/src/linearize.c
30
static pseudo_t add_binary_op(struct entrypoint *ep, struct symbol *ctype, int op, pseudo_t left, pseudo_t right);
usr/src/tools/smatch/src/linearize.c
31
static pseudo_t add_setval(struct entrypoint *ep, struct symbol *ctype, struct expression *val);
usr/src/tools/smatch/src/linearize.c
32
static pseudo_t linearize_one_symbol(struct entrypoint *ep, struct symbol *sym);
usr/src/tools/smatch/src/linearize.c
366
buf += sprintf(buf, "%s", show_ident(expr->symbol->ident));
usr/src/tools/smatch/src/linearize.c
369
buf += sprintf(buf, "%s", show_label(expr->symbol->bb_target));
usr/src/tools/smatch/src/linearize.c
37
static pseudo_t cast_pseudo(struct entrypoint *ep, pseudo_t src, struct symbol *from, struct symbol *to);
usr/src/tools/smatch/src/linearize.c
54
static inline int type_size(struct symbol *type)
usr/src/tools/smatch/src/linearize.c
574
struct symbol *sym;
usr/src/tools/smatch/src/linearize.c
59
static struct instruction *alloc_typed_instruction(int opcode, struct symbol *type)
usr/src/tools/smatch/src/linearize.c
608
static void bind_label(struct symbol *label, struct basic_block *bb, struct position pos)
usr/src/tools/smatch/src/linearize.c
615
static struct basic_block * get_bound_block(struct entrypoint *ep, struct symbol *label)
usr/src/tools/smatch/src/linearize.c
734
static struct basic_block * add_label(struct entrypoint *ep, struct symbol *label)
usr/src/tools/smatch/src/linearize.c
779
static pseudo_t symbol_pseudo(struct entrypoint *ep, struct symbol *sym)
usr/src/tools/smatch/src/linearize.c
843
struct instruction *alloc_phisrc(pseudo_t pseudo, struct symbol *type)
usr/src/tools/smatch/src/linearize.c
858
pseudo_t alloc_phi(struct basic_block *source, pseudo_t pseudo, struct symbol *type)
usr/src/tools/smatch/src/linearize.c
871
struct instruction *alloc_phi_node(struct basic_block *bb, struct symbol *type, struct ident *ident)
usr/src/tools/smatch/src/linearize.c
900
struct instruction *insert_phi_node(struct basic_block *bb, struct symbol *var)
usr/src/tools/smatch/src/linearize.c
913
struct symbol *type; // ctype
usr/src/tools/smatch/src/linearize.c
914
struct symbol *btype; // base type of bitfields
usr/src/tools/smatch/src/linearize.c
924
linearize_one_symbol(ep, addr->symbol);
usr/src/tools/smatch/src/linearize.c
925
ad->address = symbol_pseudo(ep, addr->symbol);
usr/src/tools/smatch/src/linearize.c
940
static struct symbol *bitfield_base_type(struct symbol *sym)
usr/src/tools/smatch/src/linearize.c
942
struct symbol *base = sym;
usr/src/tools/smatch/src/linearize.c
957
struct symbol *ctype = expr->ctype;
usr/src/tools/smatch/src/linearize.h
115
struct symbol *orig_type; /* casts */
usr/src/tools/smatch/src/linearize.h
21
DECLARE_PTRMAP(phi_map, struct symbol *, pseudo_t);
usr/src/tools/smatch/src/linearize.h
299
struct symbol *name;
usr/src/tools/smatch/src/linearize.h
311
struct instruction *alloc_phisrc(pseudo_t pseudo, struct symbol *type);
usr/src/tools/smatch/src/linearize.h
312
struct instruction *alloc_phi_node(struct basic_block *bb, struct symbol *type, struct ident *ident);
usr/src/tools/smatch/src/linearize.h
313
struct instruction *insert_phi_node(struct basic_block *bb, struct symbol *var);
usr/src/tools/smatch/src/linearize.h
316
pseudo_t alloc_phi(struct basic_block *source, pseudo_t pseudo, struct symbol *type);
usr/src/tools/smatch/src/linearize.h
321
struct entrypoint *linearize_symbol(struct symbol *sym);
usr/src/tools/smatch/src/linearize.h
40
struct symbol *sym;
usr/src/tools/smatch/src/linearize.h
90
struct symbol *type;
usr/src/tools/smatch/src/memops.c
204
struct symbol *var = pseudo->sym;
usr/src/tools/smatch/src/obfuscate.c
48
static void emit_symbol(struct symbol *sym)
usr/src/tools/smatch/src/obfuscate.c
58
struct symbol *sym;
usr/src/tools/smatch/src/opcode.h
26
static inline int opcode_float(int opcode, struct symbol *type)
usr/src/tools/smatch/src/parse.c
1053
struct symbol *sym;
usr/src/tools/smatch/src/parse.c
1064
struct symbol *typeof_sym = alloc_symbol(token->pos, SYM_TYPEOF);
usr/src/tools/smatch/src/parse.c
1077
static struct token *ignore_attribute(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1085
static struct token *attribute_packed(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1092
static struct token *attribute_aligned(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1117
static struct token *attribute_modifier(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1123
static struct token *attribute_ext_visible(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1129
static struct token *attribute_bitwise(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1146
static struct token *attribute_address_space(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1182
static struct symbol *to_QI_mode(struct symbol *ctype)
usr/src/tools/smatch/src/parse.c
1192
static struct symbol *to_HI_mode(struct symbol *ctype)
usr/src/tools/smatch/src/parse.c
1200
static struct symbol *to_SI_mode(struct symbol *ctype)
usr/src/tools/smatch/src/parse.c
1208
static struct symbol *to_DI_mode(struct symbol *ctype)
usr/src/tools/smatch/src/parse.c
1216
static struct symbol *to_TI_mode(struct symbol *ctype)
usr/src/tools/smatch/src/parse.c
1224
static struct symbol *to_pointer_mode(struct symbol *ctype)
usr/src/tools/smatch/src/parse.c
1232
static struct symbol *to_word_mode(struct symbol *ctype)
usr/src/tools/smatch/src/parse.c
1240
static struct token *attribute_mode(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1244
struct symbol *mode = lookup_keyword(token->ident, NS_KEYWORD);
usr/src/tools/smatch/src/parse.c
1256
static struct token *attribute_context(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1281
static struct token *attribute_designated_init(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1290
static struct token *attribute_transparent_union(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1321
struct symbol *attr;
usr/src/tools/smatch/src/parse.c
1433
static struct token *attribute_force(struct token *token, struct symbol *attr, struct decl_state *ctx)
usr/src/tools/smatch/src/parse.c
1460
struct symbol *sym = NULL;
usr/src/tools/smatch/src/parse.c
1559
static struct symbol * const int_types[] =
usr/src/tools/smatch/src/parse.c
1561
static struct symbol * const signed_types[] =
usr/src/tools/smatch/src/parse.c
1564
static struct symbol * const unsigned_types[] =
usr/src/tools/smatch/src/parse.c
1567
static struct symbol * const real_types[] =
usr/src/tools/smatch/src/parse.c
1569
static struct symbol * const char_types[] =
usr/src/tools/smatch/src/parse.c
1571
static struct symbol * const * const types[] = {
usr/src/tools/smatch/src/parse.c
1576
struct symbol *ctype_integer(int size, int want_unsigned)
usr/src/tools/smatch/src/parse.c
1584
struct symbol *s = lookup_symbol(t->ident, NS_TYPEDEF);
usr/src/tools/smatch/src/parse.c
1605
struct symbol *s = lookup_symbol(token->ident,
usr/src/tools/smatch/src/parse.c
1651
struct symbol *base = &incomplete_ctype;
usr/src/tools/smatch/src/parse.c
1658
struct symbol *type;
usr/src/tools/smatch/src/parse.c
1688
static struct token *abstract_array_declarator(struct token *token, struct symbol *sym)
usr/src/tools/smatch/src/parse.c
1702
static struct token *parameter_type_list(struct token *, struct symbol *);
usr/src/tools/smatch/src/parse.c
1703
static struct token *identifier_list(struct token *, struct symbol *);
usr/src/tools/smatch/src/parse.c
1727
struct symbol *keyword;
usr/src/tools/smatch/src/parse.c
1758
struct symbol *keyword;
usr/src/tools/smatch/src/parse.c
1853
struct symbol *base_type = ctype->base_type;
usr/src/tools/smatch/src/parse.c
1866
struct symbol *fn;
usr/src/tools/smatch/src/parse.c
1879
struct symbol *array;
usr/src/tools/smatch/src/parse.c
1892
struct symbol *ptr = alloc_symbol(token->pos, SYM_PTR);
usr/src/tools/smatch/src/parse.c
1919
struct symbol *bitfield;
usr/src/tools/smatch/src/parse.c
1942
struct symbol *base_type = bitfield->ctype.base_type;
usr/src/tools/smatch/src/parse.c
1943
struct symbol *bitfield_type = base_type == &int_type ? bitfield : base_type;
usr/src/tools/smatch/src/parse.c
1973
struct symbol *decl = alloc_symbol(token->pos, SYM_NODE);
usr/src/tools/smatch/src/parse.c
2013
static struct token *parameter_declaration(struct token *token, struct symbol *sym)
usr/src/tools/smatch/src/parse.c
2029
struct token *typename(struct token *token, struct symbol **p, int *forced)
usr/src/tools/smatch/src/parse.c
2033
struct symbol *sym = alloc_symbol(token->pos, SYM_NODE);
usr/src/tools/smatch/src/parse.c
2116
struct symbol *label;
usr/src/tools/smatch/src/parse.c
2136
struct symbol *s = lookup_keyword(token->ident, NS_TYPEDEF);
usr/src/tools/smatch/src/parse.c
2216
struct symbol *cont, *brk;
usr/src/tools/smatch/src/parse.c
2236
static struct statement *start_function(struct symbol *sym)
usr/src/tools/smatch/src/parse.c
2238
struct symbol *ret;
usr/src/tools/smatch/src/parse.c
2256
static void end_function(struct symbol *sym)
usr/src/tools/smatch/src/parse.c
2276
struct symbol *brk, *switch_case;
usr/src/tools/smatch/src/parse.c
2303
struct symbol *target = lookup_symbol(&case_ident, NS_ITERATOR);
usr/src/tools/smatch/src/parse.c
2304
struct symbol *sym;
usr/src/tools/smatch/src/parse.c
2320
struct symbol *target = lookup_symbol(&return_ident, NS_ITERATOR);
usr/src/tools/smatch/src/parse.c
2329
static void validate_for_loop_decl(struct symbol *sym)
usr/src/tools/smatch/src/parse.c
2450
struct symbol *target = lookup_symbol(token->ident, NS_ITERATOR);
usr/src/tools/smatch/src/parse.c
2523
struct symbol *s = lookup_keyword(token->ident, NS_KEYWORD);
usr/src/tools/smatch/src/parse.c
2528
struct symbol *s = label_symbol(token);
usr/src/tools/smatch/src/parse.c
2559
struct symbol *sym = alloc_symbol(token->pos, SYM_LABEL);
usr/src/tools/smatch/src/parse.c
2604
static struct token *identifier_list(struct token *token, struct symbol *fn)
usr/src/tools/smatch/src/parse.c
2608
struct symbol *sym = alloc_symbol(token->pos, SYM_NODE);
usr/src/tools/smatch/src/parse.c
2623
static struct token *parameter_type_list(struct token *token, struct symbol *fn)
usr/src/tools/smatch/src/parse.c
2628
struct symbol *sym;
usr/src/tools/smatch/src/parse.c
2769
static void declare_argument(struct symbol *sym, struct symbol *fn)
usr/src/tools/smatch/src/parse.c
2778
static int is_syscall(struct symbol *sym)
usr/src/tools/smatch/src/parse.c
2802
static struct token *parse_function_body(struct token *token, struct symbol *decl,
usr/src/tools/smatch/src/parse.c
2806
struct symbol *base_type = decl->ctype.base_type;
usr/src/tools/smatch/src/parse.c
2808
struct symbol *prev;
usr/src/tools/smatch/src/parse.c
2809
struct symbol *arg;
usr/src/tools/smatch/src/parse.c
2876
static void promote_k_r_types(struct symbol *arg)
usr/src/tools/smatch/src/parse.c
2878
struct symbol *base = arg->ctype.base_type;
usr/src/tools/smatch/src/parse.c
2884
static void apply_k_r_types(struct symbol_list *argtypes, struct symbol *fn)
usr/src/tools/smatch/src/parse.c
2887
struct symbol *arg;
usr/src/tools/smatch/src/parse.c
2890
struct symbol *type;
usr/src/tools/smatch/src/parse.c
2919
static struct token *parse_k_r_arguments(struct token *token, struct symbol *decl,
usr/src/tools/smatch/src/parse.c
2947
struct symbol *anon = alloc_symbol(token->pos, SYM_NODE);
usr/src/tools/smatch/src/parse.c
2948
struct symbol *fn = alloc_symbol(token->pos, SYM_FN);
usr/src/tools/smatch/src/parse.c
2965
struct symbol *decl;
usr/src/tools/smatch/src/parse.c
2968
struct symbol *base_type;
usr/src/tools/smatch/src/parse.c
2977
struct symbol *s = lookup_keyword(token->ident, NS_KEYWORD);
usr/src/tools/smatch/src/parse.c
454
struct symbol *type;
usr/src/tools/smatch/src/parse.c
617
struct symbol *sym = create_symbol(stream, ptr->name, SYM_KEYWORD, ptr->ns);
usr/src/tools/smatch/src/parse.c
628
struct symbol *sym = create_symbol(stream, name, SYM_KEYWORD,
usr/src/tools/smatch/src/parse.c
639
static void fn_local_symbol(struct symbol *sym)
usr/src/tools/smatch/src/parse.c
677
struct symbol *ctype;
usr/src/tools/smatch/src/parse.c
689
static struct symbol * alloc_indirect_symbol(struct position pos, struct ctype *ctype, int type)
usr/src/tools/smatch/src/parse.c
691
struct symbol *sym = alloc_symbol(pos, type);
usr/src/tools/smatch/src/parse.c
706
struct symbol *label_symbol(struct token *token)
usr/src/tools/smatch/src/parse.c
708
struct symbol *sym = lookup_symbol(token->ident, NS_LABEL);
usr/src/tools/smatch/src/parse.c
719
struct token *(*parse)(struct token *, struct symbol *))
usr/src/tools/smatch/src/parse.c
721
struct symbol *sym;
usr/src/tools/smatch/src/parse.c
778
static struct token *parse_struct_declaration(struct token *token, struct symbol *sym)
usr/src/tools/smatch/src/parse.c
780
struct symbol *field, *last = NULL;
usr/src/tools/smatch/src/parse.c
785
struct symbol *base = field->ctype.base_type;
usr/src/tools/smatch/src/parse.c
796
static struct token *parse_union_declaration(struct token *token, struct symbol *sym)
usr/src/tools/smatch/src/parse.c
829
static void update_range(struct range *range, unsigned long long uval, struct symbol *vtype)
usr/src/tools/smatch/src/parse.c
842
static int type_is_ok(struct symbol *type, struct range range)
usr/src/tools/smatch/src/parse.c
860
static struct range type_range(struct symbol *type)
usr/src/tools/smatch/src/parse.c
880
static int val_in_range(struct range *range, long long sval, struct symbol *vtype)
usr/src/tools/smatch/src/parse.c
890
static void cast_enum_list(struct symbol_list *list, struct symbol *base_type)
usr/src/tools/smatch/src/parse.c
893
struct symbol *sym;
usr/src/tools/smatch/src/parse.c
897
struct symbol *ctype;
usr/src/tools/smatch/src/parse.c
916
static struct token *parse_enum_declaration(struct token *token, struct symbol *parent)
usr/src/tools/smatch/src/parse.c
919
struct symbol *ctype = NULL, *base_type = NULL;
usr/src/tools/smatch/src/parse.c
92
typedef struct symbol *to_mode_t(struct symbol *);
usr/src/tools/smatch/src/parse.c
928
struct symbol *sym;
usr/src/tools/smatch/src/parse.h
102
struct symbol *goto_label;
usr/src/tools/smatch/src/parse.h
127
extern struct symbol *label_symbol(struct token *token);
usr/src/tools/smatch/src/parse.h
133
typedef void (*validate_decl_t)(struct symbol *decl);
usr/src/tools/smatch/src/parse.h
136
extern struct symbol *ctype_integer(int size, int want_unsigned);
usr/src/tools/smatch/src/parse.h
138
extern int inline_function(struct expression *expr, struct symbol *sym);
usr/src/tools/smatch/src/parse.h
139
extern void uninline(struct symbol *sym);
usr/src/tools/smatch/src/parse.h
61
struct symbol *ret_target;
usr/src/tools/smatch/src/parse.h
70
struct symbol *ret;
usr/src/tools/smatch/src/parse.h
71
struct symbol *inline_fn;
usr/src/tools/smatch/src/parse.h
75
struct symbol *label_identifier;
usr/src/tools/smatch/src/parse.h
82
struct symbol *case_label;
usr/src/tools/smatch/src/parse.h
87
struct symbol *switch_break, *switch_case;
usr/src/tools/smatch/src/parse.h
90
struct symbol *iterator_break;
usr/src/tools/smatch/src/parse.h
91
struct symbol *iterator_continue;
usr/src/tools/smatch/src/pre-process.c
107
static int expand(struct token **, struct symbol *);
usr/src/tools/smatch/src/pre-process.c
128
static struct symbol *lookup_macro(struct ident *ident)
usr/src/tools/smatch/src/pre-process.c
130
struct symbol *sym = lookup_symbol(ident, NS_MACRO | NS_UNDEF);
usr/src/tools/smatch/src/pre-process.c
139
struct symbol *sym = lookup_macro(token->ident);
usr/src/tools/smatch/src/pre-process.c
1483
struct symbol *sym;
usr/src/tools/smatch/src/pre-process.c
1627
struct symbol *sym;
usr/src/tools/smatch/src/pre-process.c
166
struct symbol *sym = lookup_symbol(token->ident, NS_SYMBOL);
usr/src/tools/smatch/src/pre-process.c
172
struct symbol *sym = lookup_symbol(token->ident, NS_KEYWORD);
usr/src/tools/smatch/src/pre-process.c
2185
struct symbol *sym;
usr/src/tools/smatch/src/pre-process.c
2191
struct symbol *sym;
usr/src/tools/smatch/src/pre-process.c
2197
struct symbol *sym;
usr/src/tools/smatch/src/pre-process.c
2215
struct symbol *sym = lookup_symbol(token->ident, NS_PREPROCESSOR);
usr/src/tools/smatch/src/pre-process.c
225
struct symbol *sym;
usr/src/tools/smatch/src/pre-process.c
2354
static void dump_macro(struct symbol *sym)
usr/src/tools/smatch/src/pre-process.c
2408
struct symbol *sym = lookup_macro(name);
usr/src/tools/smatch/src/pre-process.c
755
static int expand(struct token **list, struct symbol *sym)
usr/src/tools/smatch/src/scope.c
109
struct symbol *sym;
usr/src/tools/smatch/src/scope.c
43
void bind_scope(struct symbol *sym, struct scope *scope)
usr/src/tools/smatch/src/scope.c
49
void rebind_scope(struct symbol *sym, struct scope *new)
usr/src/tools/smatch/src/scope.c
96
static void remove_symbol_scope(struct symbol *sym)
usr/src/tools/smatch/src/scope.c
98
struct symbol **ptr = &sym->ident->symbols;
usr/src/tools/smatch/src/scope.h
28
struct symbol;
usr/src/tools/smatch/src/scope.h
58
extern void bind_scope(struct symbol *, struct scope *);
usr/src/tools/smatch/src/scope.h
59
extern void rebind_scope(struct symbol *, struct scope *);
usr/src/tools/smatch/src/show-parse.c
103
void debug_symbol(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
1050
static int show_position_expr(struct expression *expr, struct symbol *base)
usr/src/tools/smatch/src/show-parse.c
1053
struct symbol *ctype = expr->init_expr->ctype;
usr/src/tools/smatch/src/show-parse.c
1064
static int show_initializer_expr(struct expression *expr, struct symbol *ctype)
usr/src/tools/smatch/src/show-parse.c
1100
int show_symbol_expr_init(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
1144
return show_symbol_expr(expr->symbol);
usr/src/tools/smatch/src/show-parse.c
168
static void show_struct_member(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
176
struct symbol *sym;
usr/src/tools/smatch/src/show-parse.c
227
struct symbol *sym;
usr/src/tools/smatch/src/show-parse.c
263
const char *builtin_typename(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
273
const char *builtin_type_suffix(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
293
static void do_show_type(struct symbol *sym, struct type_name *name)
usr/src/tools/smatch/src/show-parse.c
430
void show_type(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
44
static int show_symbol_expr(struct symbol *sym);
usr/src/tools/smatch/src/show-parse.c
441
const char *show_typename(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
452
void show_symbol(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
454
struct symbol *type;
usr/src/tools/smatch/src/show-parse.c
47
static void do_debug_symbol(struct symbol *sym, int indent)
usr/src/tools/smatch/src/show-parse.c
473
struct symbol *member;
usr/src/tools/smatch/src/show-parse.c
508
static int show_symbol_init(struct symbol *sym);
usr/src/tools/smatch/src/show-parse.c
525
struct symbol *sym;
usr/src/tools/smatch/src/show-parse.c
569
struct symbol *sym;
usr/src/tools/smatch/src/show-parse.c
735
struct symbol *direct;
usr/src/tools/smatch/src/show-parse.c
759
struct symbol *sym = fn->unop->symbol;
usr/src/tools/smatch/src/show-parse.c
874
struct symbol *target = stmt->ret_target;
usr/src/tools/smatch/src/show-parse.c
886
static int show_initialization(struct symbol *sym, struct expression *expr)
usr/src/tools/smatch/src/show-parse.c
91
struct symbol *arg;
usr/src/tools/smatch/src/show-parse.c
943
static int show_symbol_expr(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
962
static int show_symbol_init(struct symbol *sym)
usr/src/tools/smatch/src/show-parse.c
979
struct symbol *old_type, *new_type;
usr/src/tools/smatch/src/simplify.c
770
struct symbol *ctype = insn->type;
usr/src/tools/smatch/src/smatch.h
1009
void sql_insert_data_info_var_sym(const char *var, struct symbol *sym, int type, const char *value);
usr/src/tools/smatch/src/smatch.h
1066
int last_member_is_resizable(struct symbol *type);
usr/src/tools/smatch/src/smatch.h
1073
int is_capped_var_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1082
int get_user_rl_var_sym(const char *name, struct symbol *sym, struct range_list **rl);
usr/src/tools/smatch/src/smatch.h
1092
struct expression *get_assigned_expr_name_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1095
char *map_call_to_param_name_sym(struct expression *expr, struct symbol **sym);
usr/src/tools/smatch/src/smatch.h
1131
char *get_printed_param_name(struct expression *call, const char *param_name, struct symbol *param_sym);
usr/src/tools/smatch/src/smatch.h
1132
char *name_sym_to_param_comparison(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1150
sval_t sval_type_val(struct symbol *type, long long val);
usr/src/tools/smatch/src/smatch.h
1151
sval_t sval_type_fval(struct symbol *type, long double fval);
usr/src/tools/smatch/src/smatch.h
1167
int sval_cmp_t(struct symbol *type, sval_t one, sval_t two);
usr/src/tools/smatch/src/smatch.h
1171
int sval_too_low(struct symbol *type, sval_t sval);
usr/src/tools/smatch/src/smatch.h
1172
int sval_too_high(struct symbol *type, sval_t sval);
usr/src/tools/smatch/src/smatch.h
1173
int sval_fits(struct symbol *type, sval_t sval);
usr/src/tools/smatch/src/smatch.h
1174
sval_t sval_cast(struct symbol *type, sval_t sval);
usr/src/tools/smatch/src/smatch.h
1198
int has_symbol(struct expression *expr, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1223
int param_was_set_var_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1231
void store_link(int link_id, const char *name, struct symbol *sym, const char *link_name, struct symbol *link_sym);
usr/src/tools/smatch/src/smatch.h
1254
int get_member_offset(struct symbol *type, const char *member_name);
usr/src/tools/smatch/src/smatch.h
1258
void __get_state_hook(int owner, const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1268
int was_inced(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1269
void set_refcount_inc(char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1270
void set_refcount_dec(char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1286
int get_toplevel_mtag(struct symbol *sym, mtag_t *tag);
usr/src/tools/smatch/src/smatch.h
1293
const char *get_syscall_arg_type(struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1298
struct bit_info *get_bit_info_var_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1309
bool is_nul_terminated_var_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1314
bool is_fresh_alloc_var_sym(const char *var, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
1316
static inline bool type_is_ptr(struct symbol *type)
usr/src/tools/smatch/src/smatch.h
1324
static inline bool type_is_fp(struct symbol *type)
usr/src/tools/smatch/src/smatch.h
1332
static inline int type_bits(struct symbol *type)
usr/src/tools/smatch/src/smatch.h
1343
static inline int type_unsigned(struct symbol *base_type)
usr/src/tools/smatch/src/smatch.h
1354
static inline int type_positive_bits(struct symbol *type)
usr/src/tools/smatch/src/smatch.h
1376
struct symbol *type;
usr/src/tools/smatch/src/smatch.h
1415
struct symbol *type;
usr/src/tools/smatch/src/smatch.h
217
extern struct symbol *cur_func_sym;
usr/src/tools/smatch/src/smatch.h
298
static struct symbol *last_printed = NULL;
usr/src/tools/smatch/src/smatch.h
353
struct smatch_state *__get_state(int owner, const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
354
struct smatch_state *get_state(int owner, const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
357
struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
359
struct sm_state *set_state(int owner, const char *name, struct symbol *sym,
usr/src/tools/smatch/src/smatch.h
363
void delete_state(int owner, const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
365
void __delete_all_states_sym(struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
366
void set_true_false_states(int owner, const char *name, struct symbol *sym,
usr/src/tools/smatch/src/smatch.h
37
struct symbol *type;
usr/src/tools/smatch/src/smatch.h
377
void add_get_state_hook(void (*fn)(int owner, const char *name, struct symbol *sym));
usr/src/tools/smatch/src/smatch.h
395
struct symbol *expr_to_sym(struct expression *expr);
usr/src/tools/smatch/src/smatch.h
398
struct symbol **sym_ptr);
usr/src/tools/smatch/src/smatch.h
400
struct symbol **sym_ptr);
usr/src/tools/smatch/src/smatch.h
401
char *expr_to_known_chunk_sym(struct expression *expr, struct symbol **sym);
usr/src/tools/smatch/src/smatch.h
402
char *expr_to_chunk_sym_vsl(struct expression *expr, struct symbol **sym, struct var_sym_list **vsl);
usr/src/tools/smatch/src/smatch.h
421
char *get_value_in_terms_of_parameter_math_var_sym(const char *var, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
427
int can_integer_overflow(struct symbol *type, struct expression *expr);
usr/src/tools/smatch/src/smatch.h
440
void scoped_state(int my_id, const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
457
int get_param_num_from_sym(struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
459
struct symbol *get_param_sym_from_num(int num);
usr/src/tools/smatch/src/smatch.h
462
int parent_is_gone_var_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
471
struct symbol *get_real_base_type(struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
472
int type_bytes(struct symbol *type);
usr/src/tools/smatch/src/smatch.h
473
int array_bytes(struct symbol *type);
usr/src/tools/smatch/src/smatch.h
474
struct symbol *get_pointer_type(struct expression *expr);
usr/src/tools/smatch/src/smatch.h
475
struct symbol *get_type(struct expression *expr);
usr/src/tools/smatch/src/smatch.h
476
struct symbol *get_final_type(struct expression *expr);
usr/src/tools/smatch/src/smatch.h
477
struct symbol *get_promoted_type(struct symbol *left, struct symbol *right);
usr/src/tools/smatch/src/smatch.h
478
int type_signed(struct symbol *base_type);
usr/src/tools/smatch/src/smatch.h
481
int returns_unsigned(struct symbol *base_type);
usr/src/tools/smatch/src/smatch.h
483
int returns_pointer(struct symbol *base_type);
usr/src/tools/smatch/src/smatch.h
484
sval_t sval_type_max(struct symbol *base_type);
usr/src/tools/smatch/src/smatch.h
485
sval_t sval_type_min(struct symbol *base_type);
usr/src/tools/smatch/src/smatch.h
490
bool is_struct_ptr(struct symbol *type);
usr/src/tools/smatch/src/smatch.h
493
int types_equiv(struct symbol *one, struct symbol *two);
usr/src/tools/smatch/src/smatch.h
494
bool type_fits(struct symbol *type, struct symbol *test);
usr/src/tools/smatch/src/smatch.h
497
struct symbol *cur_func_return_type(void);
usr/src/tools/smatch/src/smatch.h
498
struct symbol *get_arg_type(struct expression *fn, int arg);
usr/src/tools/smatch/src/smatch.h
499
struct symbol *get_member_type_from_key(struct expression *expr, const char *key);
usr/src/tools/smatch/src/smatch.h
500
struct symbol *get_arg_type_from_key(struct expression *fn, int param, struct expression *arg, const char *key);
usr/src/tools/smatch/src/smatch.h
502
char *type_to_str(struct symbol *type);
usr/src/tools/smatch/src/smatch.h
505
void add_ignore(int owner, const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
506
int is_ignored(int owner, const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
511
struct var_sym *alloc_var_sym(const char *var, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
513
void add_var_sym(struct var_sym_list **list, const char *var, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
515
void del_var_sym(struct var_sym_list **list, const char *var, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
516
int in_var_sym_list(struct var_sym_list *list, const char *var, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
525
struct tracker *alloc_tracker(int owner, const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
527
struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
530
struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
532
struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
695
char *get_other_name_sym(const char *name, struct symbol *sym, struct symbol **new_sym);
usr/src/tools/smatch/src/smatch.h
696
char *map_call_to_other_name_sym(const char *name, struct symbol *sym, struct symbol **new_sym);
usr/src/tools/smatch/src/smatch.h
697
char *map_long_to_short_name_sym(const char *name, struct symbol *sym, struct symbol **new_sym, bool use_stack);
usr/src/tools/smatch/src/smatch.h
73
struct symbol *sym;
usr/src/tools/smatch/src/smatch.h
740
struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
790
void __save_gotos(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
791
void __merge_gotos(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
795
typedef void (check_tracker_hook)(int owner, const char *name, struct symbol *sym, struct smatch_state *state);
usr/src/tools/smatch/src/smatch.h
813
void __match_initializer_call(struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
83
struct symbol *sym;
usr/src/tools/smatch/src/smatch.h
902
void select_caller_info_hook(void (*callback)(const char *name, struct symbol *sym, char *key, char *value), int type);
usr/src/tools/smatch/src/smatch.h
912
char *return_state_to_var_sym(struct expression *expr, int param, const char *key, struct symbol **sym);
usr/src/tools/smatch/src/smatch.h
913
char *get_chunk_from_key(struct expression *arg, char *key, struct symbol **sym, struct var_sym_list **vsl);
usr/src/tools/smatch/src/smatch.h
914
char *get_variable_from_key(struct expression *arg, const char *key, struct symbol **sym);
usr/src/tools/smatch/src/smatch.h
916
const char *get_param_name_var_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
918
const char *get_mtag_name_var_sym(const char *state_name, struct symbol *sym);
usr/src/tools/smatch/src/smatch.h
96
struct symbol *sym;
usr/src/tools/smatch/src/smatch.h
992
char *get_static_filter(struct symbol *sym);
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
109
static char *get_data_member(char *fn_member, struct expression *expr, struct symbol **sym)
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
111
struct symbol *tmp_sym;
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
150
struct symbol *sym;
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
152
struct symbol *type;
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
189
if (call->fn->symbol == cur_func_sym)
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
197
struct symbol *type;
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
216
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
53
struct symbol *type;
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
71
struct symbol *next_param_sym;
usr/src/tools/smatch/src/smatch_about_fn_ptr_arg.c
75
struct symbol *sym;
usr/src/tools/smatch/src/smatch_address.c
118
struct symbol *type;
usr/src/tools/smatch/src/smatch_address.c
205
static struct range_list *where_allocated_rl(struct symbol *sym)
usr/src/tools/smatch/src/smatch_address.c
216
struct symbol *type;
usr/src/tools/smatch/src/smatch_address.c
24
struct symbol *type;
usr/src/tools/smatch/src/smatch_address.c
25
struct symbol *sym;
usr/src/tools/smatch/src/smatch_address.c
26
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_address.c
270
struct symbol *type;
usr/src/tools/smatch/src/smatch_address.c
278
*rl = where_allocated_rl(expr->symbol);
usr/src/tools/smatch/src/smatch_address.c
286
struct symbol *type;
usr/src/tools/smatch/src/smatch_address.c
65
static bool matches_anonymous_union(struct symbol *sym, const char *member_name)
usr/src/tools/smatch/src/smatch_address.c
67
struct symbol *type, *tmp;
usr/src/tools/smatch/src/smatch_address.c
85
int get_member_offset(struct symbol *type, const char *member_name)
usr/src/tools/smatch/src/smatch_address.c
87
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_array_values.c
112
struct symbol *type;
usr/src/tools/smatch/src/smatch_array_values.c
142
static struct range_list *get_saved_rl(struct symbol *type, char *name)
usr/src/tools/smatch/src/smatch_array_values.c
163
struct symbol *type;
usr/src/tools/smatch/src/smatch_array_values.c
194
struct symbol *type;
usr/src/tools/smatch/src/smatch_array_values.c
26
struct symbol *type;
usr/src/tools/smatch/src/smatch_array_values.c
43
struct symbol *sym = NULL;
usr/src/tools/smatch/src/smatch_array_values.c
92
struct symbol *type;
usr/src/tools/smatch/src/smatch_assigned_expr.c
105
struct symbol *sym;
usr/src/tools/smatch/src/smatch_assigned_expr.c
50
struct expression *get_assigned_expr_name_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_assigned_expr.c
63
struct symbol *left_sym, *right_sym;
usr/src/tools/smatch/src/smatch_bits.c
266
struct symbol *type;
usr/src/tools/smatch/src/smatch_bits.c
439
static void set_param_bits(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_bits.c
76
static int is_unknown_binfo(struct symbol *type, struct bit_info *binfo)
usr/src/tools/smatch/src/smatch_bits.c
92
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_comparison.c
130
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_comparison.c
316
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_comparison.c
585
static int get_param(int param, char **name, struct symbol **sym)
usr/src/tools/smatch/src/smatch_buf_comparison.c
587
struct symbol *arg;
usr/src/tools/smatch/src/smatch_buf_comparison.c
613
static void set_param_compare(const char *array_name, struct symbol *array_sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_buf_comparison.c
617
struct symbol *size_sym;
usr/src/tools/smatch/src/smatch_buf_comparison.c
641
struct symbol *size_sym;
usr/src/tools/smatch/src/smatch_buf_comparison.c
786
src_param = get_param_num_from_sym(src->symbol);
usr/src/tools/smatch/src/smatch_buf_comparison.c
787
size_param = get_param_num_from_sym(size->symbol);
usr/src/tools/smatch/src/smatch_buf_size.c
108
void set_param_buf_size(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_buf_size.c
128
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_size.c
241
struct symbol *sym;
usr/src/tools/smatch/src/smatch_buf_size.c
245
sym = expr->symbol;
usr/src/tools/smatch/src/smatch_buf_size.c
285
static int get_real_array_size_from_type(struct symbol *type)
usr/src/tools/smatch/src/smatch_buf_size.c
313
if (expr->type != EXPR_SYMBOL || !expr->symbol || !expr->symbol->initializer)
usr/src/tools/smatch/src/smatch_buf_size.c
315
if (expr->symbol->initializer == expr) /* int a = a; */
usr/src/tools/smatch/src/smatch_buf_size.c
317
return get_initializer_size(expr->symbol->initializer);
usr/src/tools/smatch/src/smatch_buf_size.c
332
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_size.c
379
static int is_last_member_of_struct(struct symbol *sym, struct ident *member)
usr/src/tools/smatch/src/smatch_buf_size.c
381
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_buf_size.c
396
int last_member_is_resizable(struct symbol *sym)
usr/src/tools/smatch/src/smatch_buf_size.c
398
struct symbol *last_member;
usr/src/tools/smatch/src/smatch_buf_size.c
399
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_size.c
426
struct symbol *sym;
usr/src/tools/smatch/src/smatch_buf_size.c
427
struct symbol *base_sym;
usr/src/tools/smatch/src/smatch_buf_size.c
489
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_size.c
603
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_size.c
637
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_size.c
666
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_size.c
801
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_size.c
824
struct symbol *type;
usr/src/tools/smatch/src/smatch_buf_size.c
893
static void record_global_size(struct symbol *sym)
usr/src/tools/smatch/src/smatch_capped.c
126
int is_capped_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_capped.c
133
void set_param_capped_data(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_capped.c
201
struct symbol *type;
usr/src/tools/smatch/src/smatch_capped.c
253
struct symbol *ret_sym;
usr/src/tools/smatch/src/smatch_capped.c
324
struct symbol *sym;
usr/src/tools/smatch/src/smatch_capped.c
71
struct symbol *type;
usr/src/tools/smatch/src/smatch_comparison.c
1152
struct symbol *iter_sym, *cap_sym;
usr/src/tools/smatch/src/smatch_comparison.c
1263
struct symbol *left_sym, *right_sym;
usr/src/tools/smatch/src/smatch_comparison.c
1462
struct symbol *left_sym, *right_sym;
usr/src/tools/smatch/src/smatch_comparison.c
1478
struct symbol *tmp_sym = left_sym;
usr/src/tools/smatch/src/smatch_comparison.c
1591
struct symbol *left_sym, *right_sym;
usr/src/tools/smatch/src/smatch_comparison.c
172
struct symbol *type = &int_ctype;
usr/src/tools/smatch/src/smatch_comparison.c
1906
struct symbol *left_sym, *right_sym;
usr/src/tools/smatch/src/smatch_comparison.c
2001
struct symbol *param;
usr/src/tools/smatch/src/smatch_comparison.c
2046
char *name_sym_to_param_comparison(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_comparison.c
2048
struct symbol *param;
usr/src/tools/smatch/src/smatch_comparison.c
2082
struct symbol *param;
usr/src/tools/smatch/src/smatch_comparison.c
2114
char *get_printed_param_name(struct expression *call, const char *param_name, struct symbol *param_sym)
usr/src/tools/smatch/src/smatch_comparison.c
2118
struct symbol *sym;
usr/src/tools/smatch/src/smatch_comparison.c
221
struct symbol *sym;
usr/src/tools/smatch/src/smatch_comparison.c
2269
struct symbol *sym;
usr/src/tools/smatch/src/smatch_comparison.c
2457
struct symbol *left_sym;
usr/src/tools/smatch/src/smatch_comparison.c
2459
struct symbol *right_sym;
usr/src/tools/smatch/src/smatch_comparison.c
2515
struct symbol *left_sym, *right_sym;
usr/src/tools/smatch/src/smatch_comparison.c
2592
static void free_data(struct symbol *sym)
usr/src/tools/smatch/src/smatch_comparison.c
48
static struct symbol *vsl_to_sym(struct var_sym_list *vsl)
usr/src/tools/smatch/src/smatch_comparison.c
608
struct symbol *param;
usr/src/tools/smatch/src/smatch_comparison.c
649
static void save_link_var_sym(const char *var, struct symbol *sym, const char *link)
usr/src/tools/smatch/src/smatch_comparison.c
907
static char *chunk_to_var_sym(struct expression *expr, struct symbol **sym)
usr/src/tools/smatch/src/smatch_comparison.c
938
struct symbol *sym;
usr/src/tools/smatch/src/smatch_comparison.c
953
struct symbol *sym;
usr/src/tools/smatch/src/smatch_constraints.c
176
struct symbol *sym;
usr/src/tools/smatch/src/smatch_constraints.c
180
if (expr->type != EXPR_SYMBOL || !expr->symbol || !expr->symbol->ident)
usr/src/tools/smatch/src/smatch_constraints.c
183
sym = expr->symbol;
usr/src/tools/smatch/src/smatch_constraints.c
459
static void set_param_constrained(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_constraints.c
504
struct symbol *sym;
usr/src/tools/smatch/src/smatch_constraints_required.c
100
struct symbol *type, *array, *array_type;
usr/src/tools/smatch/src/smatch_constraints_required.c
318
!right->fn->symbol ||
usr/src/tools/smatch/src/smatch_constraints_required.c
319
!right->fn->symbol->ident)
usr/src/tools/smatch/src/smatch_constraints_required.c
323
if (strcmp(right->fn->symbol->ident->name,
usr/src/tools/smatch/src/smatch_constraints_required.c
334
if (strcmp(right->fn->symbol->ident->name,
usr/src/tools/smatch/src/smatch_constraints_required.c
342
if (strcmp(right->fn->symbol->ident->name,
usr/src/tools/smatch/src/smatch_constraints_required.c
433
struct symbol *type;
usr/src/tools/smatch/src/smatch_constraints_required.c
61
struct symbol *type;
usr/src/tools/smatch/src/smatch_container_of.c
213
if (get_param_sym_from_num(param) == container->symbol)
usr/src/tools/smatch/src/smatch_container_of.c
220
struct symbol *container_sym, *sym;
usr/src/tools/smatch/src/smatch_container_of.c
28
struct symbol *type;
usr/src/tools/smatch/src/smatch_container_of.c
288
struct symbol *type;
usr/src/tools/smatch/src/smatch_container_of.c
367
static void db_passed_container(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_container_of.c
376
struct symbol *arg;
usr/src/tools/smatch/src/smatch_container_of.c
383
static struct symbol *get_member_from_offset(struct symbol *sym, int offset)
usr/src/tools/smatch/src/smatch_container_of.c
385
struct symbol *type, *tmp;
usr/src/tools/smatch/src/smatch_container_of.c
405
static struct symbol *get_member_type_from_offset(struct symbol *sym, int offset)
usr/src/tools/smatch/src/smatch_container_of.c
407
struct symbol *base_type;
usr/src/tools/smatch/src/smatch_container_of.c
408
struct symbol *member;
usr/src/tools/smatch/src/smatch_container_of.c
422
static const char *get_name_from_offset(struct symbol *arg, int offset)
usr/src/tools/smatch/src/smatch_container_of.c
424
struct symbol *member, *type;
usr/src/tools/smatch/src/smatch_container_of.c
450
static void set_param_value(struct stree **stree, struct symbol *arg, int offset, struct range_list *rl)
usr/src/tools/smatch/src/smatch_container_of.c
463
struct symbol *type;
usr/src/tools/smatch/src/smatch_container_of.c
502
static struct stree *load_tag_info_sym(mtag_t tag, struct symbol *arg, int arg_offset, int star)
usr/src/tools/smatch/src/smatch_container_of.c
509
struct symbol *type;
usr/src/tools/smatch/src/smatch_container_of.c
549
static void load_container_data(struct symbol *arg, const char *info)
usr/src/tools/smatch/src/smatch_container_of.c
59
struct symbol *type;
usr/src/tools/smatch/src/smatch_container_of.c
617
static void handle_passed_container(struct symbol *sym)
usr/src/tools/smatch/src/smatch_container_of.c
619
struct symbol *arg;
usr/src/tools/smatch/src/smatch_data_source.c
28
struct symbol *sym;
usr/src/tools/smatch/src/smatch_db.c
1020
static int get_param(int param, char **name, struct symbol **sym)
usr/src/tools/smatch/src/smatch_db.c
1022
struct symbol *arg;
usr/src/tools/smatch/src/smatch_db.c
1069
struct symbol *sym = NULL;
usr/src/tools/smatch/src/smatch_db.c
1171
static void match_data_from_db(struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
1296
struct symbol *sym;
usr/src/tools/smatch/src/smatch_db.c
1330
!expr->fn->symbol)
usr/src/tools/smatch/src/smatch_db.c
1333
info.sym = expr->fn->symbol;
usr/src/tools/smatch/src/smatch_db.c
1338
static void match_call_implies(struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
183
static void set_fn_mtag(struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
1949
struct symbol *arg;
usr/src/tools/smatch/src/smatch_db.c
2046
struct symbol *arg;
usr/src/tools/smatch/src/smatch_db.c
2179
struct symbol *type;
usr/src/tools/smatch/src/smatch_db.c
2215
static void reset_memdb(struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
2223
static void match_end_func_info(struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
2230
static void match_after_func(struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
2559
char *return_state_to_var_sym(struct expression *expr, int param, const char *key, struct symbol **sym)
usr/src/tools/smatch/src/smatch_db.c
2600
char *get_variable_from_key(struct expression *arg, const char *key, struct symbol **sym)
usr/src/tools/smatch/src/smatch_db.c
2602
struct symbol *type;
usr/src/tools/smatch/src/smatch_db.c
2683
char *get_chunk_from_key(struct expression *arg, char *key, struct symbol **sym, struct var_sym_list **vsl)
usr/src/tools/smatch/src/smatch_db.c
2731
const char *get_param_name_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
2739
const char *get_mtag_name_var_sym(const char *state_name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
2741
struct symbol *type;
usr/src/tools/smatch/src/smatch_db.c
2777
struct symbol *sym;
usr/src/tools/smatch/src/smatch_db.c
2797
struct symbol *sym;
usr/src/tools/smatch/src/smatch_db.c
348
void sql_insert_data_info_var_sym(const char *var, struct symbol *sym, int type, const char *value)
usr/src/tools/smatch/src/smatch_db.c
385
if (fn->type != EXPR_SYMBOL || !fn->symbol->ident)
usr/src/tools/smatch/src/smatch_db.c
389
(fn->symbol->ctype.modifiers & MOD_STATIC) ? get_base_file() : "extern",
usr/src/tools/smatch/src/smatch_db.c
390
fn->symbol->ident->name,
usr/src/tools/smatch/src/smatch_db.c
391
!!(fn->symbol->ctype.modifiers & MOD_STATIC),
usr/src/tools/smatch/src/smatch_db.c
40
void (*callback)(const char *name, struct symbol *sym, char *key, char *value);
usr/src/tools/smatch/src/smatch_db.c
460
char *get_static_filter(struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
535
if (expr->symbol->ctype.modifiers & (MOD_NONLOCAL | MOD_STATIC | MOD_ADDRESSABLE))
usr/src/tools/smatch/src/smatch_db.c
550
if (fn->type != EXPR_SYMBOL || !fn->symbol || is_local_symbol(fn)) {
usr/src/tools/smatch/src/smatch_db.c
563
get_static_filter(fn->symbol));
usr/src/tools/smatch/src/smatch_db.c
568
cols, get_static_filter(fn->symbol));
usr/src/tools/smatch/src/smatch_db.c
578
struct symbol *sym;
usr/src/tools/smatch/src/smatch_db.c
608
const char *cols, struct symbol *sym)
usr/src/tools/smatch/src/smatch_db.c
630
void select_caller_info_hook(void (*callback)(const char *name, struct symbol *sym, char *key, char *value), int type)
usr/src/tools/smatch/src/smatch_db.c
699
struct symbol *return_type;
usr/src/tools/smatch/src/smatch_db.c
734
if (expr->fn->type != EXPR_SYMBOL || !expr->fn->symbol)
usr/src/tools/smatch/src/smatch_db.c
745
get_static_filter(expr->fn->symbol));
usr/src/tools/smatch/src/smatch_db.c
786
get_static_filter(expr->symbol));
usr/src/tools/smatch/src/smatch_db.c
793
struct symbol *type;
usr/src/tools/smatch/src/smatch_db.c
837
struct symbol *sym;
usr/src/tools/smatch/src/smatch_db.c
897
struct symbol *sym;
usr/src/tools/smatch/src/smatch_db.c
902
struct symbol *type;
usr/src/tools/smatch/src/smatch_equiv.c
105
static void add_related(struct related_list **rlist, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_equiv.c
127
static struct related_list *del_related(struct smatch_state *state, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_equiv.c
144
void remove_from_equiv(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_equiv.c
174
struct symbol *sym;
usr/src/tools/smatch/src/smatch_equiv.c
201
struct symbol *left_sym;
usr/src/tools/smatch/src/smatch_equiv.c
204
struct symbol *other_sym;
usr/src/tools/smatch/src/smatch_equiv.c
36
static struct relation *alloc_relation(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_estate.c
205
struct symbol *estate_type(struct smatch_state *state)
usr/src/tools/smatch/src/smatch_estate.c
374
struct smatch_state *alloc_estate_whole(struct symbol *type)
usr/src/tools/smatch/src/smatch_estate.c
424
struct smatch_state *clone_estate_cast(struct symbol *type, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_expressions.c
127
struct expression *symbol_expression(struct symbol *sym)
usr/src/tools/smatch/src/smatch_expressions.c
132
expr->symbol = sym;
usr/src/tools/smatch/src/smatch_expressions.c
226
struct expression *gen_expression_from_name_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_extra.c
1005
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
101
static void set_union_info(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_extra.c
1027
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
103
struct symbol *type, *tmp, *inner_type, *inner, *new_type;
usr/src/tools/smatch/src/smatch_extra.c
1030
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
1073
struct symbol *right_sym;
usr/src/tools/smatch/src/smatch_extra.c
1074
struct symbol *left_type;
usr/src/tools/smatch/src/smatch_extra.c
1075
struct symbol *right_type;
usr/src/tools/smatch/src/smatch_extra.c
1077
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
1170
struct symbol *left_type;
usr/src/tools/smatch/src/smatch_extra.c
1171
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
1270
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
1324
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
1394
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
1430
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
146
struct symbol *tmp_type;
usr/src/tools/smatch/src/smatch_extra.c
1512
static void handle_comparison(struct symbol *type, struct expression *left, int op, struct expression *right)
usr/src/tools/smatch/src/smatch_extra.c
172
void set_extra_mod_helper(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_extra.c
1899
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
191
static void set_extra_nomod_helper(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_extra.c
1945
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
197
static char *get_pointed_at(const char *name, struct symbol *sym, struct symbol **new_sym)
usr/src/tools/smatch/src/smatch_extra.c
221
char *get_other_name_sym_from_chunk(const char *name, const char *chunk, int len, struct symbol *sym, struct symbol **new_sym)
usr/src/tools/smatch/src/smatch_extra.c
2229
struct symbol *offset_type;
usr/src/tools/smatch/src/smatch_extra.c
2268
int implied_not_equal_name_sym(char *name, struct symbol *sym, long long val)
usr/src/tools/smatch/src/smatch_extra.c
2280
int parent_is_null_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_extra.c
2321
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
2391
if (!call->fn->symbol)
usr/src/tools/smatch/src/smatch_extra.c
2399
get_static_filter(call->fn->symbol), PARAM_USED, param, printed_name);
usr/src/tools/smatch/src/smatch_extra.c
2406
get_static_filter(call->fn->symbol), PARAM_USED);
usr/src/tools/smatch/src/smatch_extra.c
2413
struct range_list *intersect_with_real_abs_var_sym(const char *name, struct symbol *sym, struct range_list *start)
usr/src/tools/smatch/src/smatch_extra.c
2484
struct symbol *returned_sym;
usr/src/tools/smatch/src/smatch_extra.c
2579
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
258
static char *get_long_name_sym(const char *name, struct symbol *sym, struct symbol **new_sym, bool use_stack)
usr/src/tools/smatch/src/smatch_extra.c
2582
struct symbol *compare_type, *var_type;
usr/src/tools/smatch/src/smatch_extra.c
2587
struct symbol *other_sym;
usr/src/tools/smatch/src/smatch_extra.c
2664
struct symbol *sym, *other_sym;
usr/src/tools/smatch/src/smatch_extra.c
2665
struct symbol *param_type, *arg_type;
usr/src/tools/smatch/src/smatch_extra.c
2744
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
2745
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
276
if (tmp->symbol == sym)
usr/src/tools/smatch/src/smatch_extra.c
2774
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
2801
static void set_param_value(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_extra.c
2806
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
2824
static void set_param_fuzzy_max(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_extra.c
2829
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
283
if (!use_stack && name[tmp->symbol->ident->len] != '-')
usr/src/tools/smatch/src/smatch_extra.c
2848
static void set_param_hard_max(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_extra.c
2868
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
288
else if (name[tmp->symbol->ident->len] == '-' ||
usr/src/tools/smatch/src/smatch_extra.c
289
name[tmp->symbol->ident->len] == '.')
usr/src/tools/smatch/src/smatch_extra.c
290
snprintf(buf, sizeof(buf), "%s%s", sm->name, name + tmp->symbol->ident->len);
usr/src/tools/smatch/src/smatch_extra.c
300
char *get_other_name_sym_helper(const char *name, struct symbol *sym, struct symbol **new_sym, bool use_stack)
usr/src/tools/smatch/src/smatch_extra.c
341
char *get_other_name_sym(const char *name, struct symbol *sym, struct symbol **new_sym)
usr/src/tools/smatch/src/smatch_extra.c
346
char *get_other_name_sym_nostack(const char *name, struct symbol *sym, struct symbol **new_sym)
usr/src/tools/smatch/src/smatch_extra.c
351
void set_extra_mod(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_extra.c
354
struct symbol *new_sym;
usr/src/tools/smatch/src/smatch_extra.c
396
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
418
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
435
void set_extra_nomod(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_extra.c
438
struct symbol *new_sym;
usr/src/tools/smatch/src/smatch_extra.c
469
void set_extra_nomod_vsl(const char *name, struct symbol *sym, struct var_sym_list *vsl, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_extra.c
488
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
502
static void set_extra_true_false(const char *name, struct symbol *sym,
usr/src/tools/smatch/src/smatch_extra.c
507
struct symbol *new_sym;
usr/src/tools/smatch/src/smatch_extra.c
546
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
548
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
576
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
63
typedef void (mod_hook)(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_extra.c
643
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
705
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.c
82
void call_extra_hooks(struct void_fn_list *hooks, const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_extra.c
909
static bool get_global_rl(const char *name, struct symbol *sym, struct range_list **rl)
usr/src/tools/smatch/src/smatch_extra.c
91
void call_extra_mod_hooks(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_extra.c
944
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.c
96
void call_extra_nomod_hooks(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_extra.c
968
struct symbol *type;
usr/src/tools/smatch/src/smatch_extra.h
101
struct range_list *rl_truncate_cast(struct symbol *type, struct range_list *rl);
usr/src/tools/smatch/src/smatch_extra.h
102
struct range_list *cast_rl(struct symbol *type, struct range_list *rl);
usr/src/tools/smatch/src/smatch_extra.h
111
int get_implied_rl_var_sym(const char *var, struct symbol *sym, struct range_list **rl);
usr/src/tools/smatch/src/smatch_extra.h
125
struct smatch_state *alloc_estate_whole(struct symbol *type);
usr/src/tools/smatch/src/smatch_extra.h
127
struct smatch_state *clone_estate_cast(struct symbol *type, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_extra.h
141
struct symbol *estate_type(struct smatch_state *state);
usr/src/tools/smatch/src/smatch_extra.h
170
void call_extra_mod_hooks(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_extra.h
171
void set_extra_mod(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_extra.h
173
void set_extra_nomod(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_extra.h
174
void set_extra_nomod_vsl(const char *name, struct symbol *sym, struct var_sym_list *vsl, struct expression *expr, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_extra.h
176
void set_extra_mod_helper(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_extra.h
180
void add_extra_mod_hook(void (*fn)(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state));
usr/src/tools/smatch/src/smatch_extra.h
181
void add_extra_nomod_hook(void (*fn)(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state));
usr/src/tools/smatch/src/smatch_extra.h
183
int implied_not_equal_name_sym(char *name, struct symbol *sym, long long val);
usr/src/tools/smatch/src/smatch_extra.h
184
int parent_is_null_var_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch_extra.h
186
int parent_is_free_var_sym_strict(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch_extra.h
187
int parent_is_free_var_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch_extra.h
202
void remove_from_equiv(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch_extra.h
218
struct expression *symbol_expression(struct symbol *sym);
usr/src/tools/smatch/src/smatch_extra.h
224
struct expression *gen_expression_from_name_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch_extra.h
23
struct symbol *sym;
usr/src/tools/smatch/src/smatch_extra.h
233
struct smatch_state *get_orig_estate(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch_extra.h
237
struct smatch_state *get_real_absolute_state_var_sym(const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch_extra.h
46
void str_to_rl(struct symbol *type, char *value, struct range_list **rl);
usr/src/tools/smatch/src/smatch_extra.h
47
void call_results_to_rl(struct expression *call, struct symbol *type, const char *value, struct range_list **rl);
usr/src/tools/smatch/src/smatch_extra.h
52
int rl_fits_in_type(struct range_list *rl, struct symbol *type);
usr/src/tools/smatch/src/smatch_extra.h
57
struct range_list *alloc_whole_rl(struct symbol *type);
usr/src/tools/smatch/src/smatch_extra.h
89
struct symbol *rl_type(struct range_list *rl);
usr/src/tools/smatch/src/smatch_flow.c
1024
struct symbol *fn = get_base_type(cur_func_sym);
usr/src/tools/smatch/src/smatch_flow.c
1049
struct symbol *sym;
usr/src/tools/smatch/src/smatch_flow.c
1233
static void split_sym(struct symbol *sym)
usr/src/tools/smatch/src/smatch_flow.c
1250
struct symbol *sym;
usr/src/tools/smatch/src/smatch_flow.c
1261
struct symbol *type, *tmp;
usr/src/tools/smatch/src/smatch_flow.c
1286
struct symbol *type, *member;
usr/src/tools/smatch/src/smatch_flow.c
1303
static void set_inner_struct_members(struct expression *expr, struct symbol *member)
usr/src/tools/smatch/src/smatch_flow.c
1306
struct symbol *base = get_real_base_type(member);
usr/src/tools/smatch/src/smatch_flow.c
1307
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_flow.c
1313
struct symbol *type;
usr/src/tools/smatch/src/smatch_flow.c
1338
static void set_unset_to_zero(struct symbol *type, struct expression *expr)
usr/src/tools/smatch/src/smatch_flow.c
1340
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_flow.c
1375
static void fake_member_assigns_helper(struct expression *symbol, struct expression_list *members, fake_cb *fake_cb)
usr/src/tools/smatch/src/smatch_flow.c
1378
struct symbol *struct_type, *type;
usr/src/tools/smatch/src/smatch_flow.c
1382
struct_type = get_type(symbol);
usr/src/tools/smatch/src/smatch_flow.c
1403
member_idx = member_to_number(symbol, tmp->expr_ident);
usr/src/tools/smatch/src/smatch_flow.c
1410
deref = member_expression(symbol, '.', member);
usr/src/tools/smatch/src/smatch_flow.c
1413
member = number_to_member(symbol, member_idx);
usr/src/tools/smatch/src/smatch_flow.c
1414
deref = member_expression(symbol, '.', member);
usr/src/tools/smatch/src/smatch_flow.c
1430
set_unset_to_zero(struct_type, symbol);
usr/src/tools/smatch/src/smatch_flow.c
1433
static void fake_member_assigns(struct symbol *sym, fake_cb *fake_cb)
usr/src/tools/smatch/src/smatch_flow.c
1442
struct symbol *type;
usr/src/tools/smatch/src/smatch_flow.c
1475
static void fake_element_assigns(struct symbol *sym, fake_cb *fake_cb)
usr/src/tools/smatch/src/smatch_flow.c
1480
static void fake_assign_expr(struct symbol *sym)
usr/src/tools/smatch/src/smatch_flow.c
1482
struct expression *assign, *symbol;
usr/src/tools/smatch/src/smatch_flow.c
1484
symbol = symbol_expression(sym);
usr/src/tools/smatch/src/smatch_flow.c
1485
assign = assign_expression(symbol, '=', sym->initializer);
usr/src/tools/smatch/src/smatch_flow.c
1489
static void do_initializer_stuff(struct symbol *sym)
usr/src/tools/smatch/src/smatch_flow.c
1506
struct symbol *sym;
usr/src/tools/smatch/src/smatch_flow.c
1520
static void fake_global_assign(struct symbol *sym)
usr/src/tools/smatch/src/smatch_flow.c
1522
struct expression *assign, *symbol;
usr/src/tools/smatch/src/smatch_flow.c
1528
symbol = symbol_expression(sym);
usr/src/tools/smatch/src/smatch_flow.c
1529
assign = assign_expression(symbol, '=', sym->initializer);
usr/src/tools/smatch/src/smatch_flow.c
1538
symbol = symbol_expression(sym);
usr/src/tools/smatch/src/smatch_flow.c
1539
assign = assign_expression(symbol, '=', sym->initializer);
usr/src/tools/smatch/src/smatch_flow.c
1545
symbol = symbol_expression(sym);
usr/src/tools/smatch/src/smatch_flow.c
1547
assign = assign_expression(symbol, '=', sym->initializer);
usr/src/tools/smatch/src/smatch_flow.c
1550
assign = assign_expression(symbol, '=', zero_expr());
usr/src/tools/smatch/src/smatch_flow.c
1556
static void start_function_definition(struct symbol *sym)
usr/src/tools/smatch/src/smatch_flow.c
1565
static void split_function(struct symbol *sym)
usr/src/tools/smatch/src/smatch_flow.c
1567
struct symbol *base_type = get_base_type(sym);
usr/src/tools/smatch/src/smatch_flow.c
1664
struct symbol *base_type;
usr/src/tools/smatch/src/smatch_flow.c
1681
base_type = get_base_type(call->fn->symbol);
usr/src/tools/smatch/src/smatch_flow.c
1682
cur_func_sym = call->fn->symbol;
usr/src/tools/smatch/src/smatch_flow.c
1683
if (call->fn->symbol->ident)
usr/src/tools/smatch/src/smatch_flow.c
1684
cur_func = call->fn->symbol->ident->name;
usr/src/tools/smatch/src/smatch_flow.c
1687
set_position(call->fn->symbol->pos);
usr/src/tools/smatch/src/smatch_flow.c
1699
start_function_definition(call->fn->symbol);
usr/src/tools/smatch/src/smatch_flow.c
170
if (expr->type != EXPR_SYMBOL || !expr->symbol)
usr/src/tools/smatch/src/smatch_flow.c
1702
__pass_to_client(call->fn->symbol, END_FUNC_HOOK);
usr/src/tools/smatch/src/smatch_flow.c
1703
__pass_to_client(call->fn->symbol, AFTER_FUNC_HOOK);
usr/src/tools/smatch/src/smatch_flow.c
172
if (expr->symbol->ctype.modifiers & MOD_INLINE)
usr/src/tools/smatch/src/smatch_flow.c
1722
static void add_inline_function(struct symbol *sym)
usr/src/tools/smatch/src/smatch_flow.c
1725
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_flow.c
1738
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_flow.c
1746
static struct symbol *get_last_scoped_symbol(struct symbol_list *big_list, int use_static)
usr/src/tools/smatch/src/smatch_flow.c
1748
struct symbol *sym;
usr/src/tools/smatch/src/smatch_flow.c
1762
static bool interesting_function(struct symbol *sym)
usr/src/tools/smatch/src/smatch_flow.c
1785
static void split_inlines_in_scope(struct symbol *sym)
usr/src/tools/smatch/src/smatch_flow.c
1787
struct symbol *base;
usr/src/tools/smatch/src/smatch_flow.c
179
if (expr->type != EXPR_SYMBOL || !expr->symbol)
usr/src/tools/smatch/src/smatch_flow.c
181
if (expr->symbol->ctype.modifiers & MOD_NORETURN)
usr/src/tools/smatch/src/smatch_flow.c
1817
struct symbol *sym;
usr/src/tools/smatch/src/smatch_flow.c
1842
struct symbol *sym;
usr/src/tools/smatch/src/smatch_flow.c
190
struct symbol *sym;
usr/src/tools/smatch/src/smatch_flow.c
196
if (expr->type != EXPR_SYMBOL || !expr->symbol)
usr/src/tools/smatch/src/smatch_flow.c
198
if (is_no_inline_function(expr->symbol->ident->name))
usr/src/tools/smatch/src/smatch_flow.c
200
sym = get_base_type(expr->symbol);
usr/src/tools/smatch/src/smatch_flow.c
536
add_inline_function(expr->fn->symbol);
usr/src/tools/smatch/src/smatch_flow.c
72
static void add_inline_function(struct symbol *sym);
usr/src/tools/smatch/src/smatch_flow.c
77
struct symbol *cur_func_sym = NULL;
usr/src/tools/smatch/src/smatch_flow.c
786
struct symbol *switch_type;
usr/src/tools/smatch/src/smatch_flow.c
891
struct symbol *fn;
usr/src/tools/smatch/src/smatch_flow.c
916
struct symbol *base_type = get_base_type(cur_func_sym);
usr/src/tools/smatch/src/smatch_flow.c
959
struct symbol *return_type;
usr/src/tools/smatch/src/smatch_fn_arg_link.c
103
struct symbol *fn_sym;
usr/src/tools/smatch/src/smatch_fn_arg_link.c
104
struct symbol *arg_sym = NULL;
usr/src/tools/smatch/src/smatch_fn_arg_link.c
138
if (call->fn->symbol == cur_func_sym)
usr/src/tools/smatch/src/smatch_fn_arg_link.c
147
struct symbol *fn_sym, *arg_sym;
usr/src/tools/smatch/src/smatch_fn_arg_link.c
148
struct symbol *type;
usr/src/tools/smatch/src/smatch_fn_arg_link.c
32
struct symbol *fn_sym, *arg_sym;
usr/src/tools/smatch/src/smatch_fn_arg_link.c
33
struct symbol *type;
usr/src/tools/smatch/src/smatch_fresh_alloc.c
95
get_static_filter(call->fn->symbol), FRESH_ALLOC);
usr/src/tools/smatch/src/smatch_fresh_alloc.c
99
bool is_fresh_alloc_var_sym(const char *var, struct symbol *sym)
usr/src/tools/smatch/src/smatch_function_hooks.c
1050
if (right->fn->type != EXPR_SYMBOL || !right->fn->symbol) {
usr/src/tools/smatch/src/smatch_function_hooks.c
1061
fn = right->fn->symbol->ident->name;
usr/src/tools/smatch/src/smatch_function_hooks.c
1241
if (fn->type == EXPR_SYMBOL && fn->symbol) {
usr/src/tools/smatch/src/smatch_function_hooks.c
1242
call_backs = search_callback(func_hash, (char *)fn->symbol->ident->name);
usr/src/tools/smatch/src/smatch_function_hooks.c
1245
fn->symbol->ident->name, expr);
usr/src/tools/smatch/src/smatch_function_hooks.c
253
struct symbol *sym;
usr/src/tools/smatch/src/smatch_function_hooks.c
315
if (expr->fn->type != EXPR_SYMBOL || !expr->fn->symbol)
usr/src/tools/smatch/src/smatch_function_hooks.c
317
fn = expr->fn->symbol->ident->name;
usr/src/tools/smatch/src/smatch_function_hooks.c
318
call_backs = search_callback(func_hash, (char *)expr->fn->symbol->ident->name);
usr/src/tools/smatch/src/smatch_function_hooks.c
553
struct symbol *compare_type;
usr/src/tools/smatch/src/smatch_function_hooks.c
571
struct symbol *sym;
usr/src/tools/smatch/src/smatch_function_hooks.c
616
struct symbol *type;
usr/src/tools/smatch/src/smatch_function_info.c
28
static void match_def(struct symbol *sym)
usr/src/tools/smatch/src/smatch_function_info.c
30
struct symbol *arg;
usr/src/tools/smatch/src/smatch_function_ptrs.c
132
static int is_local_symbol(struct symbol *sym)
usr/src/tools/smatch/src/smatch_function_ptrs.c
140
static char *ptr_prefix(struct symbol *sym)
usr/src/tools/smatch/src/smatch_function_ptrs.c
157
struct symbol *type;
usr/src/tools/smatch/src/smatch_function_ptrs.c
212
struct symbol *sym;
usr/src/tools/smatch/src/smatch_function_ptrs.c
213
struct symbol *type;
usr/src/tools/smatch/src/smatch_function_ptrs.c
215
param = get_param_num_from_sym(expr->symbol);
usr/src/tools/smatch/src/smatch_function_ptrs.c
238
struct symbol *type;
usr/src/tools/smatch/src/smatch_function_ptrs.c
288
struct symbol *type;
usr/src/tools/smatch/src/smatch_function_ptrs.c
316
struct symbol *type;
usr/src/tools/smatch/src/smatch_function_ptrs.c
371
struct symbol *type;
usr/src/tools/smatch/src/smatch_function_ptrs.c
399
struct symbol *struct_type)
usr/src/tools/smatch/src/smatch_function_ptrs.c
402
struct symbol *base_type;
usr/src/tools/smatch/src/smatch_function_ptrs.c
428
static void global_variable(struct symbol *sym)
usr/src/tools/smatch/src/smatch_function_ptrs.c
430
struct symbol *struct_type;
usr/src/tools/smatch/src/smatch_function_ptrs.c
55
struct symbol *type;
usr/src/tools/smatch/src/smatch_function_ptrs.c
96
struct symbol *type;
usr/src/tools/smatch/src/smatch_helper.c
1062
int get_param_num_from_sym(struct symbol *sym)
usr/src/tools/smatch/src/smatch_helper.c
1064
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_helper.c
1096
struct symbol *sym;
usr/src/tools/smatch/src/smatch_helper.c
1108
struct symbol *get_param_sym_from_num(int num)
usr/src/tools/smatch/src/smatch_helper.c
1110
struct symbol *sym;
usr/src/tools/smatch/src/smatch_helper.c
1135
int parent_is_gone_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_helper.c
1148
struct symbol *sym;
usr/src/tools/smatch/src/smatch_helper.c
1211
struct symbol *one_sym = NULL;
usr/src/tools/smatch/src/smatch_helper.c
1212
struct symbol *two_sym = NULL;
usr/src/tools/smatch/src/smatch_helper.c
153
struct symbol *type;
usr/src/tools/smatch/src/smatch_helper.c
175
static void __get_variable_from_expr(struct symbol **sym_ptr, char *buf,
usr/src/tools/smatch/src/smatch_helper.c
225
*sym_ptr = expr->symbol;
usr/src/tools/smatch/src/smatch_helper.c
384
struct symbol *sym;
usr/src/tools/smatch/src/smatch_helper.c
388
static void get_variable_from_expr(struct symbol **sym_ptr, char *buf,
usr/src/tools/smatch/src/smatch_helper.c
393
struct symbol *tmp_sym = NULL;
usr/src/tools/smatch/src/smatch_helper.c
431
char *expr_to_str_sym(struct expression *expr, struct symbol **sym_ptr)
usr/src/tools/smatch/src/smatch_helper.c
461
struct symbol **sym_ptr)
usr/src/tools/smatch/src/smatch_helper.c
489
struct symbol *expr_to_sym(struct expression *expr)
usr/src/tools/smatch/src/smatch_helper.c
491
struct symbol *sym;
usr/src/tools/smatch/src/smatch_helper.c
561
char *expr_to_chunk_helper(struct expression *expr, struct symbol **sym, struct var_sym_list **vsl)
usr/src/tools/smatch/src/smatch_helper.c
565
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_helper.c
611
char *expr_to_known_chunk_sym(struct expression *expr, struct symbol **sym)
usr/src/tools/smatch/src/smatch_helper.c
616
char *expr_to_chunk_sym_vsl(struct expression *expr, struct symbol **sym, struct var_sym_list **vsl)
usr/src/tools/smatch/src/smatch_helper.c
643
struct symbol *type;
usr/src/tools/smatch/src/smatch_helper.c
764
struct symbol *type = get_type(unop->unop);
usr/src/tools/smatch/src/smatch_helper.c
822
void scoped_state(int my_id, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_helper.c
832
struct symbol *cur_func = cur_func_sym;
usr/src/tools/smatch/src/smatch_helper.c
880
struct symbol *sym;
usr/src/tools/smatch/src/smatch_helper.c
904
struct symbol *sym;
usr/src/tools/smatch/src/smatch_hooks.c
138
((sym_func *)fn)((struct symbol *)data);
usr/src/tools/smatch/src/smatch_hooks.c
38
typedef void (sym_func)(struct symbol *sym);
usr/src/tools/smatch/src/smatch_ignore.c
25
void add_ignore(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_ignore.c
30
int is_ignored(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_ignore.c
37
struct symbol *sym;
usr/src/tools/smatch/src/smatch_ignore.c
49
struct symbol *sym;
usr/src/tools/smatch/src/smatch_implied.c
1013
struct symbol *compare_type;
usr/src/tools/smatch/src/smatch_implied.c
1015
struct symbol *sym;
usr/src/tools/smatch/src/smatch_implied.c
1022
struct symbol *left_sym = NULL;
usr/src/tools/smatch/src/smatch_implied.c
1094
struct symbol *sym;
usr/src/tools/smatch/src/smatch_implied.c
1131
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/smatch_implied.c
712
static void delete_gate_sm_equiv(struct stree **stree, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_implied.c
725
static void delete_gate_sm(struct stree **stree, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_implied.c
738
struct symbol *type;
usr/src/tools/smatch/src/smatch_implied.c
782
struct symbol *sym;
usr/src/tools/smatch/src/smatch_implied.c
85
static struct range_list *tmp_range_list(struct symbol *type, long long num)
usr/src/tools/smatch/src/smatch_integer_overflow.c
101
struct symbol *sym;
usr/src/tools/smatch/src/smatch_integer_overflow.c
137
int can_integer_overflow(struct symbol *type, struct expression *expr)
usr/src/tools/smatch/src/smatch_integer_overflow.c
183
struct symbol *type;
usr/src/tools/smatch/src/smatch_integer_overflow.c
186
struct symbol *sym;
usr/src/tools/smatch/src/smatch_integer_overflow.c
36
static char *save_links(struct expression *expr, struct symbol **sym, struct var_sym_list **vsl)
usr/src/tools/smatch/src/smatch_integer_overflow.c
57
struct symbol *type;
usr/src/tools/smatch/src/smatch_integer_overflow.c
59
struct symbol *sym;
usr/src/tools/smatch/src/smatch_integer_overflow.c
99
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1024
int get_user_rl_var_sym(const char *name, struct symbol *sym, struct range_list **rl)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1036
static char *get_user_rl_str(struct expression *expr, struct symbol *type)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
105
static void extra_nomod_hook(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1054
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1074
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1114
struct symbol *sym;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1152
static void set_param_user_data(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1157
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1184
struct symbol *tmp = type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1204
static void set_called(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1209
static void match_syscall_definition(struct symbol *sym)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1211
struct symbol *arg;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1242
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1259
struct symbol *sym;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1260
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1348
struct symbol *ret_sym;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1442
struct symbol *sym;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
1462
static void match_function_def(struct symbol *sym)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
200
static void tag_inner_struct_members(struct expression *expr, struct symbol *member)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
203
struct symbol *base = get_real_base_type(member);
usr/src/tools/smatch/src/smatch_kernel_user_data.c
204
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
210
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
229
static void tag_struct_members(struct symbol *type, struct expression *expr)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
231
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
272
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
374
struct symbol *sym;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
414
!expr->fn->symbol)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
446
struct symbol *sym;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
483
struct symbol *sym;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
485
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
519
struct symbol *left_type, *right_type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
713
struct symbol *type;
usr/src/tools/smatch/src/smatch_kernel_user_data.c
851
static int has_user_data(struct symbol *sym)
usr/src/tools/smatch/src/smatch_kernel_user_data.c
865
struct symbol *sym;
usr/src/tools/smatch/src/smatch_links.c
68
void store_link(int link_id, const char *var, struct symbol *sym, const char *link_name, struct symbol *link_sym)
usr/src/tools/smatch/src/smatch_math.c
1110
struct symbol *sym;
usr/src/tools/smatch/src/smatch_math.c
1267
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
1293
struct symbol *type = expr->in;
usr/src/tools/smatch/src/smatch_math.c
1295
struct symbol *field;
usr/src/tools/smatch/src/smatch_math.c
1360
struct symbol *type = get_real_base_type(expr->in);
usr/src/tools/smatch/src/smatch_math.c
1361
struct symbol *field;
usr/src/tools/smatch/src/smatch_math.c
1396
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
1718
int get_implied_rl_var_sym(const char *var, struct symbol *sym, struct range_list **rl)
usr/src/tools/smatch/src/smatch_math.c
1770
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
1790
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
185
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
276
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
300
struct symbol *left_sym, *right_sym;
usr/src/tools/smatch/src/smatch_math.c
301
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
361
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
484
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
511
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
642
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
733
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
760
struct symbol *left, *right;
usr/src/tools/smatch/src/smatch_math.c
765
left = get_real_base_type(expr->left->symbol);
usr/src/tools/smatch/src/smatch_math.c
766
right = get_real_base_type(expr->right->symbol);
usr/src/tools/smatch/src/smatch_math.c
862
struct symbol *type;
usr/src/tools/smatch/src/smatch_math.c
949
struct symbol *sym;
usr/src/tools/smatch/src/smatch_math.c
952
if (expr->type != EXPR_SYMBOL || !expr->symbol)
usr/src/tools/smatch/src/smatch_math.c
954
sym = expr->symbol;
usr/src/tools/smatch/src/smatch_math.c
991
struct symbol *type;
usr/src/tools/smatch/src/smatch_mem_tracker.c
69
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/smatch_modification_hooks.c
111
static void call_modification_hooks_name_sym(char *name, struct symbol *sym, struct expression *mod_expr, int late)
usr/src/tools/smatch/src/smatch_modification_hooks.c
144
struct symbol *sym;
usr/src/tools/smatch/src/smatch_modification_hooks.c
158
struct symbol *sym, *other_sym;
usr/src/tools/smatch/src/smatch_modification_hooks.c
86
static int matches(char *name, struct symbol *sym, struct sm_state *sm)
usr/src/tools/smatch/src/smatch_mtag.c
129
struct symbol *left_sym;
usr/src/tools/smatch/src/smatch_mtag.c
183
int get_toplevel_mtag(struct symbol *sym, mtag_t *tag)
usr/src/tools/smatch/src/smatch_mtag.c
201
bool get_symbol_mtag(struct symbol *sym, mtag_t *tag)
usr/src/tools/smatch/src/smatch_mtag.c
220
static void global_variable(struct symbol *sym)
usr/src/tools/smatch/src/smatch_mtag.c
235
struct symbol *type;
usr/src/tools/smatch/src/smatch_mtag.c
313
struct symbol *type;
usr/src/tools/smatch/src/smatch_mtag.c
381
return get_symbol_mtag(expr->symbol, tag);
usr/src/tools/smatch/src/smatch_mtag.c
385
return get_symbol_mtag(expr->symbol, tag);
usr/src/tools/smatch/src/smatch_mtag.c
406
struct symbol *type;
usr/src/tools/smatch/src/smatch_mtag.c
432
get_toplevel_mtag(expr->symbol, &tag))
usr/src/tools/smatch/src/smatch_mtag_data.c
133
static bool invalid_type(struct symbol *type)
usr/src/tools/smatch/src/smatch_mtag_data.c
148
struct symbol *sym;
usr/src/tools/smatch/src/smatch_mtag_data.c
159
struct symbol *type;
usr/src/tools/smatch/src/smatch_mtag_data.c
244
struct symbol *type;
usr/src/tools/smatch/src/smatch_mtag_data.c
268
static int get_rl_from_mtag_offset(mtag_t tag, int offset, struct symbol *type, struct range_list **rl)
usr/src/tools/smatch/src/smatch_mtag_data.c
308
static void clear_cache(struct symbol *sym)
usr/src/tools/smatch/src/smatch_mtag_data.c
315
struct symbol *type;
usr/src/tools/smatch/src/smatch_mtag_data.c
86
struct symbol *type;
usr/src/tools/smatch/src/smatch_nul_terminator.c
170
static void caller_info_terminated(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_nul_terminator.c
186
struct symbol *returned_sym;
usr/src/tools/smatch/src/smatch_nul_terminator.c
235
struct symbol *sym;
usr/src/tools/smatch/src/smatch_nul_terminator.c
261
bool is_nul_terminated_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_nul_terminator.c
28
static void set_terminated_var_sym(const char *name, struct symbol *sym, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_nul_terminator.c
37
struct symbol *sym;
usr/src/tools/smatch/src/smatch_nul_terminator.c
50
struct symbol *type;
usr/src/tools/smatch/src/smatch_nul_terminator.c
72
static struct smatch_state *get_terminated_state_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_param_cleared.c
151
struct symbol *type;
usr/src/tools/smatch/src/smatch_param_cleared.c
42
struct symbol *sym;
usr/src/tools/smatch/src/smatch_param_compare_limit.c
134
struct symbol *left_sym, *right_sym, *tmp_sym;
usr/src/tools/smatch/src/smatch_param_compare_limit.c
310
struct symbol *left_sym;
usr/src/tools/smatch/src/smatch_param_compare_limit.c
312
struct symbol *right_sym;
usr/src/tools/smatch/src/smatch_param_compare_limit.c
72
static void save_link_var_sym(const char *var, struct symbol *sym, const char *link)
usr/src/tools/smatch/src/smatch_param_filter.c
93
static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_param_limit.c
169
static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_param_limit.c
75
struct smatch_state *get_orig_estate(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_param_limit.c
89
struct smatch_state *get_orig_estate_type(const char *name, struct symbol *sym, struct symbol *type)
usr/src/tools/smatch/src/smatch_param_set.c
103
struct symbol *sym;
usr/src/tools/smatch/src/smatch_param_set.c
279
int param_was_set_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_param_set.c
316
struct symbol *sym;
usr/src/tools/smatch/src/smatch_param_set.c
47
static int parent_is_set(const char *name, struct symbol *sym, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_param_set.c
86
static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_param_to_mtag_data.c
116
struct symbol *sym;
usr/src/tools/smatch/src/smatch_param_to_mtag_data.c
82
struct symbol *right_sym;
usr/src/tools/smatch/src/smatch_param_used.c
28
static void get_state_hook(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_param_used.c
48
struct symbol *sym;
usr/src/tools/smatch/src/smatch_param_used.c
94
static void match_function_def(struct symbol *sym)
usr/src/tools/smatch/src/smatch_parameter_names.c
20
static void match_def(struct symbol *sym)
usr/src/tools/smatch/src/smatch_parameter_names.c
22
struct symbol *param;
usr/src/tools/smatch/src/smatch_parse_call_math.c
123
struct symbol *sym;
usr/src/tools/smatch/src/smatch_parse_call_math.c
270
struct symbol *sym;
usr/src/tools/smatch/src/smatch_parse_call_math.c
271
struct symbol *arg;
usr/src/tools/smatch/src/smatch_parse_call_math.c
277
sym = expr->symbol;
usr/src/tools/smatch/src/smatch_parse_call_math.c
289
static int format_name_sym_helper(char *buf, int remaining, char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_parse_call_math.c
328
struct symbol *sym;
usr/src/tools/smatch/src/smatch_parse_call_math.c
339
struct symbol *sym;
usr/src/tools/smatch/src/smatch_parse_call_math.c
442
char *get_value_in_terms_of_parameter_math_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_parse_call_math.c
554
struct symbol *sym;
usr/src/tools/smatch/src/smatch_parse_call_math.c
563
sym = expr->fn->symbol;
usr/src/tools/smatch/src/smatch_passes_array_size.c
42
struct symbol *type, *arg_type;
usr/src/tools/smatch/src/smatch_ranges.c
108
static int sval_too_big(struct symbol *type, sval_t sval)
usr/src/tools/smatch/src/smatch_ranges.c
1236
struct symbol *type;
usr/src/tools/smatch/src/smatch_ranges.c
1267
struct symbol *type;
usr/src/tools/smatch/src/smatch_ranges.c
1295
struct symbol *type;
usr/src/tools/smatch/src/smatch_ranges.c
132
static int truncates_nicely(struct symbol *type, sval_t min, sval_t max)
usr/src/tools/smatch/src/smatch_ranges.c
1321
struct symbol *type;
usr/src/tools/smatch/src/smatch_ranges.c
1409
struct range_list *rl_truncate_cast(struct symbol *type, struct range_list *rl)
usr/src/tools/smatch/src/smatch_ranges.c
1438
int rl_fits_in_type(struct range_list *rl, struct symbol *type)
usr/src/tools/smatch/src/smatch_ranges.c
1453
struct symbol *type;
usr/src/tools/smatch/src/smatch_ranges.c
147
static void add_range_t(struct symbol *type, struct range_list **rl, sval_t min, sval_t max)
usr/src/tools/smatch/src/smatch_ranges.c
1495
struct range_list *cast_rl(struct symbol *type, struct range_list *rl)
usr/src/tools/smatch/src/smatch_ranges.c
1586
struct symbol *ret_type;
usr/src/tools/smatch/src/smatch_ranges.c
1587
struct symbol *small_type;
usr/src/tools/smatch/src/smatch_ranges.c
1588
struct symbol *large_type;
usr/src/tools/smatch/src/smatch_ranges.c
1776
struct symbol *type;
usr/src/tools/smatch/src/smatch_ranges.c
1989
struct symbol *cast_type;
usr/src/tools/smatch/src/smatch_ranges.c
300
static int get_val_from_key(int use_max, struct symbol *type, const char *c, struct expression *call, const char **endp, sval_t *sval)
usr/src/tools/smatch/src/smatch_ranges.c
352
struct symbol *cast_type;
usr/src/tools/smatch/src/smatch_ranges.c
405
struct symbol *type;
usr/src/tools/smatch/src/smatch_ranges.c
433
static sval_t parse_val(int use_max, struct expression *call, struct symbol *type, const char *c, const char **endp)
usr/src/tools/smatch/src/smatch_ranges.c
533
static void str_to_rl_helper(struct expression *call, struct symbol *type, const char *str, const char **endp, struct range_list **rl)
usr/src/tools/smatch/src/smatch_ranges.c
605
static void str_to_dinfo(struct expression *call, struct symbol *type, const char *value, struct data_info *dinfo)
usr/src/tools/smatch/src/smatch_ranges.c
662
struct symbol *type;
usr/src/tools/smatch/src/smatch_ranges.c
677
void str_to_rl(struct symbol *type, char *value, struct range_list **rl)
usr/src/tools/smatch/src/smatch_ranges.c
687
void call_results_to_rl(struct expression *expr, struct symbol *type, const char *value, struct range_list **rl)
usr/src/tools/smatch/src/smatch_ranges.c
786
struct symbol *rl_type(struct range_list *rl)
usr/src/tools/smatch/src/smatch_ranges.c
827
struct range_list *alloc_whole_rl(struct symbol *type)
usr/src/tools/smatch/src/smatch_real_absolute.c
101
struct symbol *type;
usr/src/tools/smatch/src/smatch_real_absolute.c
135
struct smatch_state *get_real_absolute_state_var_sym(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_real_absolute.c
44
static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_recurse.c
116
struct symbol *sym = _sym;
usr/src/tools/smatch/src/smatch_recurse.c
120
if (expr->symbol == sym)
usr/src/tools/smatch/src/smatch_recurse.c
125
int has_symbol(struct expression *expr, struct symbol *sym)
usr/src/tools/smatch/src/smatch_recurse.c
133
struct symbol *sym;
usr/src/tools/smatch/src/smatch_recurse.c
140
struct symbol *sym;
usr/src/tools/smatch/src/smatch_return_to_param.c
121
char *map_call_to_param_name_sym(struct expression *expr, struct symbol **sym)
usr/src/tools/smatch/src/smatch_return_to_param.c
124
struct symbol *start_sym;
usr/src/tools/smatch/src/smatch_return_to_param.c
144
static void store_mapping_helper(char *left_name, struct symbol *left_sym, struct expression *call, const char *return_string)
usr/src/tools/smatch/src/smatch_return_to_param.c
151
struct symbol *right_sym;
usr/src/tools/smatch/src/smatch_return_to_param.c
192
struct symbol *left_sym;
usr/src/tools/smatch/src/smatch_return_to_param.c
34
static struct smatch_state *alloc_my_state(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_return_to_param.c
51
char *map_call_to_other_name_sym(const char *name, struct symbol *sym, struct symbol **new_sym)
usr/src/tools/smatch/src/smatch_return_to_param.c
69
static char *map_my_state_long_to_short(struct sm_state *sm, const char *name, struct symbol *sym, struct symbol **new_sym, bool stack)
usr/src/tools/smatch/src/smatch_return_to_param.c
98
char *map_long_to_short_name_sym(const char *name, struct symbol *sym, struct symbol **new_sym, bool use_stack)
usr/src/tools/smatch/src/smatch_returns.c
118
static void free_resources(struct symbol *sym)
usr/src/tools/smatch/src/smatch_returns.c
80
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/smatch_scope.c
24
struct symbol *fn = get_base_type(cur_func_sym);
usr/src/tools/smatch/src/smatch_scope.c
42
struct symbol *sym;
usr/src/tools/smatch/src/smatch_scope.c
61
struct symbol *fn;
usr/src/tools/smatch/src/smatch_scope.c
99
static void match_end_func(struct symbol *sym)
usr/src/tools/smatch/src/smatch_slist.c
1070
struct symbol *sym)
usr/src/tools/smatch/src/smatch_slist.c
189
struct symbol *sym, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_slist.c
210
struct symbol *sym,
usr/src/tools/smatch/src/smatch_slist.c
286
static struct symbol *oom_func;
usr/src/tools/smatch/src/smatch_slist.c
432
struct symbol *sym,
usr/src/tools/smatch/src/smatch_slist.c
521
struct symbol *sym)
usr/src/tools/smatch/src/smatch_slist.c
538
struct symbol *sym)
usr/src/tools/smatch/src/smatch_slist.c
565
struct symbol *sym, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_slist.c
574
struct symbol *sym, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_slist.c
590
struct symbol *sym)
usr/src/tools/smatch/src/smatch_slist.c
602
struct symbol *sym)
usr/src/tools/smatch/src/smatch_slist.c
651
struct symbol *sym, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_slist.c
668
struct symbol *sym)
usr/src/tools/smatch/src/smatch_slist.c
681
struct symbol *sym)
usr/src/tools/smatch/src/smatch_slist.h
10
struct symbol *sym;
usr/src/tools/smatch/src/smatch_slist.h
27
struct symbol *sym, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_slist.h
41
struct symbol *sym);
usr/src/tools/smatch/src/smatch_slist.h
44
struct symbol *sym);
usr/src/tools/smatch/src/smatch_slist.h
49
struct symbol *sym, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_slist.h
51
struct symbol *sym, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_slist.h
53
struct symbol *sym);
usr/src/tools/smatch/src/smatch_slist.h
56
struct symbol *sym);
usr/src/tools/smatch/src/smatch_slist.h
68
struct symbol *sym, struct smatch_state *state);
usr/src/tools/smatch/src/smatch_slist.h
72
struct symbol *sym);
usr/src/tools/smatch/src/smatch_slist.h
74
const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch_slist.h
91
struct symbol *sym);
usr/src/tools/smatch/src/smatch_states.c
1203
static struct named_stree *alloc_named_stree(const char *name, struct symbol *sym, struct stree *stree)
usr/src/tools/smatch/src/smatch_states.c
1213
void __save_gotos(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
1231
void __merge_gotos(const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
131
static void call_tracker_hooks(int owner, const char *name, struct symbol *sym, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_states.c
151
struct sm_state *set_state(int owner, const char *name, struct symbol *sym, struct smatch_state *state)
usr/src/tools/smatch/src/smatch_states.c
190
struct symbol *sym;
usr/src/tools/smatch/src/smatch_states.c
338
typedef void (get_state_hook)(int owner, const char *name, struct symbol *sym);
usr/src/tools/smatch/src/smatch_states.c
349
static void call_get_state_hooks(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
365
struct smatch_state *__get_state(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
375
struct smatch_state *get_state(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
385
struct symbol *sym;
usr/src/tools/smatch/src/smatch_states.c
398
struct state_list *get_possible_states(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
411
struct symbol *sym;
usr/src/tools/smatch/src/smatch_states.c
424
struct sm_state *get_sm_state(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
438
struct symbol *sym;
usr/src/tools/smatch/src/smatch_states.c
451
void delete_state(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
464
struct symbol *sym;
usr/src/tools/smatch/src/smatch_states.c
475
static void delete_all_states_stree_sym(struct stree **stree, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
492
static void delete_all_states_stree_stack_sym(struct stree_stack **stack, struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
504
void __delete_all_states_sym(struct symbol *sym)
usr/src/tools/smatch/src/smatch_states.c
556
void set_true_false_states(int owner, const char *name, struct symbol *sym,
usr/src/tools/smatch/src/smatch_states.c
591
struct symbol *sym;
usr/src/tools/smatch/src/smatch_states.c
606
struct symbol *sym;
usr/src/tools/smatch/src/smatch_stored_conditions.c
111
static void save_link_var_sym(const char *var, struct symbol *sym, struct expression *condition)
usr/src/tools/smatch/src/smatch_stored_conditions.c
157
struct symbol *sym;
usr/src/tools/smatch/src/smatch_strlen.c
291
void set_param_strlen(const char *name, struct symbol *sym, char *key, char *value)
usr/src/tools/smatch/src/smatch_struct_assignment.c
115
struct symbol *type;
usr/src/tools/smatch/src/smatch_struct_assignment.c
151
struct symbol *type;
usr/src/tools/smatch/src/smatch_struct_assignment.c
180
static void set_inner_struct_members(int mode, struct expression *faked, struct expression *left, struct expression *right, struct symbol *member)
usr/src/tools/smatch/src/smatch_struct_assignment.c
185
struct symbol *base = get_real_base_type(member);
usr/src/tools/smatch/src/smatch_struct_assignment.c
186
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_struct_assignment.c
195
struct symbol *type;
usr/src/tools/smatch/src/smatch_struct_assignment.c
234
struct symbol *struct_type, *tmp, *type;
usr/src/tools/smatch/src/smatch_struct_assignment.c
329
struct symbol *left_sym, *right_sym;
usr/src/tools/smatch/src/smatch_struct_assignment.c
408
struct symbol *left_type;
usr/src/tools/smatch/src/smatch_struct_assignment.c
69
static struct symbol *get_struct_type(struct expression *expr)
usr/src/tools/smatch/src/smatch_struct_assignment.c
71
struct symbol *type;
usr/src/tools/smatch/src/smatch_struct_assignment.c
88
static struct expression *get_right_base_expr(struct symbol *left_type, struct expression *right)
usr/src/tools/smatch/src/smatch_struct_assignment.c
90
struct symbol *struct_type;
usr/src/tools/smatch/src/smatch_sval.c
267
int sval_cmp_t(struct symbol *type, sval_t one, sval_t two)
usr/src/tools/smatch/src/smatch_sval.c
298
int sval_too_low(struct symbol *type, sval_t sval)
usr/src/tools/smatch/src/smatch_sval.c
312
int sval_too_high(struct symbol *type, sval_t sval)
usr/src/tools/smatch/src/smatch_sval.c
321
int sval_fits(struct symbol *type, sval_t sval)
usr/src/tools/smatch/src/smatch_sval.c
337
static sval_t cast_to_fp(struct symbol *type, sval_t sval)
usr/src/tools/smatch/src/smatch_sval.c
385
static sval_t cast_from_fp(struct symbol *type, sval_t sval)
usr/src/tools/smatch/src/smatch_sval.c
402
sval_t sval_cast(struct symbol *type, sval_t sval)
usr/src/tools/smatch/src/smatch_sval.c
462
static sval_t sval_binop_unsigned(struct symbol *type, sval_t left, int op, sval_t right)
usr/src/tools/smatch/src/smatch_sval.c
517
static sval_t sval_binop_signed(struct symbol *type, sval_t left, int op, sval_t right)
usr/src/tools/smatch/src/smatch_sval.c
574
static sval_t ptr_binop(struct symbol *type, sval_t left, int op, sval_t right)
usr/src/tools/smatch/src/smatch_sval.c
613
struct symbol *type;
usr/src/tools/smatch/src/smatch_sval.c
648
struct symbol *type;
usr/src/tools/smatch/src/smatch_sval.c
65
sval_t sval_type_val(struct symbol *type, long long val)
usr/src/tools/smatch/src/smatch_sval.c
718
struct symbol *type;
usr/src/tools/smatch/src/smatch_sval.c
77
sval_t sval_type_fval(struct symbol *type, long double fval)
usr/src/tools/smatch/src/smatch_sval.c
870
static void free_svals(struct symbol *sym)
usr/src/tools/smatch/src/smatch_tracker.c
22
struct tracker *alloc_tracker(int owner, const char *name, struct symbol *sym)
usr/src/tools/smatch/src/smatch_tracker.c
34
struct symbol *sym)
usr/src/tools/smatch/src/smatch_tracker.c
47
struct symbol *sym;
usr/src/tools/smatch/src/smatch_tracker.c
64
struct symbol *sym)
usr/src/tools/smatch/src/smatch_tracker.c
79
struct symbol *sym)
usr/src/tools/smatch/src/smatch_type.c
115
static struct symbol *get_type_symbol(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
117
if (!expr || expr->type != EXPR_SYMBOL || !expr->symbol)
usr/src/tools/smatch/src/smatch_type.c
120
return get_real_base_type(expr->symbol);
usr/src/tools/smatch/src/smatch_type.c
123
static struct symbol *get_member_symbol(struct symbol_list *symbol_list, struct ident *member)
usr/src/tools/smatch/src/smatch_type.c
125
struct symbol *tmp, *sub;
usr/src/tools/smatch/src/smatch_type.c
142
static struct symbol *get_symbol_from_deref(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
145
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
164
static struct symbol *handle__builtin_choose_expr(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
181
static struct symbol *get_return_type(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
183
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_type.c
197
static struct symbol *get_expr_stmt_type(struct statement *stmt)
usr/src/tools/smatch/src/smatch_type.c
209
static struct symbol *get_select_type(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
211
struct symbol *one, *two;
usr/src/tools/smatch/src/smatch_type.c
227
struct symbol *get_pointer_type(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
229
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
244
static struct symbol *fake_pointer_sym(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
246
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
247
struct symbol *base;
usr/src/tools/smatch/src/smatch_type.c
258
static struct symbol *get_type_helper(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
26
struct symbol *get_real_base_type(struct symbol *sym)
usr/src/tools/smatch/src/smatch_type.c
260
struct symbol *ret;
usr/src/tools/smatch/src/smatch_type.c
28
struct symbol *ret;
usr/src/tools/smatch/src/smatch_type.c
330
static struct symbol *get_final_type_helper(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
350
struct symbol *get_type(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
355
struct symbol *get_final_type(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
357
struct symbol *ret;
usr/src/tools/smatch/src/smatch_type.c
365
struct symbol *get_promoted_type(struct symbol *left, struct symbol *right)
usr/src/tools/smatch/src/smatch_type.c
367
struct symbol *ret = &int_ctype;
usr/src/tools/smatch/src/smatch_type.c
382
int type_signed(struct symbol *base_type)
usr/src/tools/smatch/src/smatch_type.c
393
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
405
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
415
int returns_unsigned(struct symbol *sym)
usr/src/tools/smatch/src/smatch_type.c
42
int type_bytes(struct symbol *type)
usr/src/tools/smatch/src/smatch_type.c
431
int returns_pointer(struct symbol *sym)
usr/src/tools/smatch/src/smatch_type.c
444
static sval_t fp_max(struct symbol *type)
usr/src/tools/smatch/src/smatch_type.c
458
sval_t sval_type_max(struct symbol *base_type)
usr/src/tools/smatch/src/smatch_type.c
473
static sval_t fp_min(struct symbol *type)
usr/src/tools/smatch/src/smatch_type.c
487
sval_t sval_type_min(struct symbol *base_type)
usr/src/tools/smatch/src/smatch_type.c
510
struct symbol *type;
usr/src/tools/smatch/src/smatch_type.c
520
struct symbol *type;
usr/src/tools/smatch/src/smatch_type.c
533
struct symbol *type;
usr/src/tools/smatch/src/smatch_type.c
55
int array_bytes(struct symbol *type)
usr/src/tools/smatch/src/smatch_type.c
554
bool is_struct_ptr(struct symbol *type)
usr/src/tools/smatch/src/smatch_type.c
567
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
583
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
585
if (!expr || expr->type != EXPR_SYMBOL || !expr->symbol)
usr/src/tools/smatch/src/smatch_type.c
587
sym = expr->symbol;
usr/src/tools/smatch/src/smatch_type.c
593
int types_equiv(struct symbol *one, struct symbol *two)
usr/src/tools/smatch/src/smatch_type.c
608
bool type_fits(struct symbol *type, struct symbol *test)
usr/src/tools/smatch/src/smatch_type.c
62
static struct symbol *get_binop_type(struct expression *expr)
usr/src/tools/smatch/src/smatch_type.c
638
struct symbol *cur_func_return_type(void)
usr/src/tools/smatch/src/smatch_type.c
64
struct symbol *left, *right;
usr/src/tools/smatch/src/smatch_type.c
640
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
649
struct symbol *get_arg_type(struct expression *fn, int arg)
usr/src/tools/smatch/src/smatch_type.c
651
struct symbol *fn_type;
usr/src/tools/smatch/src/smatch_type.c
652
struct symbol *tmp;
usr/src/tools/smatch/src/smatch_type.c
653
struct symbol *arg_type;
usr/src/tools/smatch/src/smatch_type.c
676
static struct symbol *get_member_from_string(struct symbol_list *symbol_list, const char *name)
usr/src/tools/smatch/src/smatch_type.c
678
struct symbol *tmp, *sub;
usr/src/tools/smatch/src/smatch_type.c
712
struct symbol *get_member_type_from_key(struct expression *expr, const char *key)
usr/src/tools/smatch/src/smatch_type.c
714
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
756
struct symbol *get_arg_type_from_key(struct expression *fn, int param, struct expression *arg, const char *key)
usr/src/tools/smatch/src/smatch_type.c
758
struct symbol *type;
usr/src/tools/smatch/src/smatch_type.c
775
struct symbol *type;
usr/src/tools/smatch/src/smatch_type.c
784
struct symbol *sym;
usr/src/tools/smatch/src/smatch_type.c
820
static const char *base_type_str(struct symbol *sym)
usr/src/tools/smatch/src/smatch_type.c
831
static int type_str_helper(char *buf, int size, struct symbol *type)
usr/src/tools/smatch/src/smatch_type.c
860
struct symbol *arg, *return_type, *arg_type;
usr/src/tools/smatch/src/smatch_type.c
900
char *type_to_str(struct symbol *type)
usr/src/tools/smatch/src/smatch_type_links.c
52
struct symbol *type;
usr/src/tools/smatch/src/smatch_type_val.c
188
struct symbol *type;
usr/src/tools/smatch/src/smatch_type_val.c
349
struct symbol *left_type, *right_type;
usr/src/tools/smatch/src/smatch_type_val.c
421
struct symbol *left_type;
usr/src/tools/smatch/src/smatch_type_val.c
465
struct symbol *type;
usr/src/tools/smatch/src/smatch_type_val.c
524
struct symbol *type;
usr/src/tools/smatch/src/smatch_type_val.c
544
struct symbol *type;
usr/src/tools/smatch/src/smatch_type_val.c
594
struct symbol *type;
usr/src/tools/smatch/src/smatch_type_val.c
636
static void match_end_func_info(struct symbol *sym)
usr/src/tools/smatch/src/smatch_type_val.c
645
static void clear_cache(struct symbol *sym)
usr/src/tools/smatch/src/smatch_type_val.c
650
static void match_after_func(struct symbol *sym)
usr/src/tools/smatch/src/smatch_type_val.c
96
struct symbol *type;
usr/src/tools/smatch/src/smatch_unknown_value.c
33
static struct symbol fake_fn_symbol = {
usr/src/tools/smatch/src/smatch_unknown_value.c
38
static struct symbol fake_node_symbol = {
usr/src/tools/smatch/src/smatch_unknown_value.c
57
fake_fn_expr.symbol = &fake_node_symbol;
usr/src/tools/smatch/src/smatch_untracked_param.c
108
struct symbol *sym;
usr/src/tools/smatch/src/smatch_untracked_param.c
143
struct symbol *fn;
usr/src/tools/smatch/src/smatch_untracked_param.c
163
struct symbol *type;
usr/src/tools/smatch/src/smatch_untracked_param.c
190
struct symbol *arg;
usr/src/tools/smatch/src/smatch_untracked_param.c
218
struct symbol *arg;
usr/src/tools/smatch/src/smatch_untracked_param.c
249
struct symbol *type;
usr/src/tools/smatch/src/smatch_untracked_param.c
272
struct symbol *type;
usr/src/tools/smatch/src/smatch_untracked_param.c
88
static char *get_array_from_key(struct expression *expr, int param, const char *key, struct symbol **sym)
usr/src/tools/smatch/src/smatch_var_sym.c
106
void add_var_sym(struct var_sym_list **list, const char *var, struct symbol *sym)
usr/src/tools/smatch/src/smatch_var_sym.c
130
struct symbol *sym;
usr/src/tools/smatch/src/smatch_var_sym.c
146
void del_var_sym(struct var_sym_list **list, const char *var, struct symbol *sym)
usr/src/tools/smatch/src/smatch_var_sym.c
159
int in_var_sym_list(struct var_sym_list *list, const char *var, struct symbol *sym)
usr/src/tools/smatch/src/smatch_var_sym.c
22
struct var_sym *alloc_var_sym(const char *var, struct symbol *sym)
usr/src/tools/smatch/src/smatch_var_sym.c
37
struct symbol *sym;
usr/src/tools/smatch/src/sparse-llvm.c
1135
struct symbol *sym = ep->name;
usr/src/tools/smatch/src/sparse-llvm.c
1136
struct symbol *base_type = sym->ctype.base_type;
usr/src/tools/smatch/src/sparse-llvm.c
114
static LLVMTypeRef sym_ptr_type(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
1199
static LLVMValueRef output_data(LLVMModuleRef module, struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
1215
struct symbol *sym = initializer->symbol;
usr/src/tools/smatch/src/sparse-llvm.c
1260
static int is_prototype(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
1269
struct symbol *sym;
usr/src/tools/smatch/src/sparse-llvm.c
127
static LLVMTypeRef sym_basetype_type(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
175
static LLVMTypeRef symbol_type(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
240
static LLVMLinkage data_linkage(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
248
static LLVMLinkage function_linkage(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
28
static LLVMTypeRef symbol_type(struct symbol *sym);
usr/src/tools/smatch/src/sparse-llvm.c
283
static LLVMValueRef get_sym_value(LLVMModuleRef module, struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
30
static LLVMTypeRef func_return_type(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
35
static LLVMTypeRef sym_func_type(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
355
static LLVMValueRef val_to_value(unsigned long long val, struct symbol *ctype)
usr/src/tools/smatch/src/sparse-llvm.c
369
static LLVMValueRef pseudo_to_value(struct function *fn, struct symbol *ctype, pseudo_t pseudo)
usr/src/tools/smatch/src/sparse-llvm.c
40
struct symbol *arg;
usr/src/tools/smatch/src/sparse-llvm.c
403
static LLVMValueRef pseudo_to_rvalue(struct function *fn, struct symbol *ctype, pseudo_t pseudo)
usr/src/tools/smatch/src/sparse-llvm.c
413
static LLVMValueRef value_to_ivalue(struct function *fn, struct symbol *ctype, LLVMValueRef val)
usr/src/tools/smatch/src/sparse-llvm.c
428
static LLVMValueRef value_to_pvalue(struct function *fn, struct symbol *ctype, LLVMValueRef val)
usr/src/tools/smatch/src/sparse-llvm.c
44
struct symbol *arg_sym = arg->ctype.base_type;
usr/src/tools/smatch/src/sparse-llvm.c
447
static LLVMValueRef adjust_type(struct function *fn, struct symbol *ctype, LLVMValueRef val)
usr/src/tools/smatch/src/sparse-llvm.c
460
static LLVMValueRef get_operand(struct function *fn, struct symbol *ctype, pseudo_t pseudo)
usr/src/tools/smatch/src/sparse-llvm.c
471
static LLVMValueRef get_ioperand(struct function *fn, struct symbol *ctype, pseudo_t pseudo)
usr/src/tools/smatch/src/sparse-llvm.c
52
static LLVMTypeRef sym_array_type(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
55
struct symbol *base_type;
usr/src/tools/smatch/src/sparse-llvm.c
70
static LLVMTypeRef sym_struct_type(struct symbol *sym)
usr/src/tools/smatch/src/sparse-llvm.c
73
struct symbol *member;
usr/src/tools/smatch/src/sparse-llvm.c
800
struct symbol *ctype;
usr/src/tools/smatch/src/sparse-llvm.c
866
struct symbol *otype = insn->orig_type;
usr/src/tools/smatch/src/sparse-llvm.c
904
struct symbol *otype = insn->orig_type;
usr/src/tools/smatch/src/sparse-llvm.c
938
struct symbol *otype = insn->orig_type;
usr/src/tools/smatch/src/sparse-llvm.c
968
target = LLVMBlockAddress(fn->fn, val->symbol->bb_target->priv);
usr/src/tools/smatch/src/sparse-llvm.c
97
static LLVMTypeRef sym_union_type(struct symbol *sym)
usr/src/tools/smatch/src/sparse.c
120
struct symbol *orig_type = insn->orig_type;
usr/src/tools/smatch/src/sparse.c
256
struct symbol *sym = ep->name;
usr/src/tools/smatch/src/sparse.c
279
static void list_compound_symbol(struct symbol *sym)
usr/src/tools/smatch/src/sparse.c
281
struct symbol *base;
usr/src/tools/smatch/src/sparse.c
311
struct symbol *sym;
usr/src/tools/smatch/src/sparse.c
73
struct symbol *sym = ep->name;
usr/src/tools/smatch/src/ssa.c
169
static void ssa_convert_one_var(struct entrypoint *ep, struct symbol *var)
usr/src/tools/smatch/src/ssa.c
18
static inline bool is_promotable(struct symbol *type)
usr/src/tools/smatch/src/ssa.c
20
struct symbol *member;
usr/src/tools/smatch/src/ssa.c
257
static pseudo_t lookup_var(struct basic_block *bb, struct symbol *var)
usr/src/tools/smatch/src/ssa.c
272
struct symbol *var;
usr/src/tools/smatch/src/ssa.c
339
struct symbol *var;
usr/src/tools/smatch/src/storage.h
38
struct symbol *sym;
usr/src/tools/smatch/src/symbol.c
111
static int bitfield_base_size(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
123
static void lay_out_struct(struct symbol *sym, struct struct_union_info *info)
usr/src/tools/smatch/src/symbol.c
182
static struct symbol * examine_struct_union_type(struct symbol *sym, int advance)
usr/src/tools/smatch/src/symbol.c
190
void (*fn)(struct symbol *, struct struct_union_info *);
usr/src/tools/smatch/src/symbol.c
191
struct symbol *member;
usr/src/tools/smatch/src/symbol.c
209
static struct symbol *examine_base_type(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
211
struct symbol *base_type;
usr/src/tools/smatch/src/symbol.c
228
static struct symbol * examine_array_type(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
230
struct symbol *base_type = examine_base_type(sym);
usr/src/tools/smatch/src/symbol.c
253
static struct symbol *examine_bitfield_type(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
255
struct symbol *base_type = examine_base_type(sym);
usr/src/tools/smatch/src/symbol.c
279
void merge_type(struct symbol *sym, struct symbol *base_type)
usr/src/tools/smatch/src/symbol.c
290
static int count_array_initializer(struct symbol *t, struct expression *expr)
usr/src/tools/smatch/src/symbol.c
359
static struct expression *get_symbol_initializer(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
368
static unsigned int implicit_array_size(struct symbol *node, unsigned int count)
usr/src/tools/smatch/src/symbol.c
370
struct symbol *arr_ori = node->ctype.base_type;
usr/src/tools/smatch/src/symbol.c
371
struct symbol *arr_new = alloc_symbol(node->pos, SYM_ARRAY);
usr/src/tools/smatch/src/symbol.c
372
struct symbol *elem_type = arr_ori->ctype.base_type;
usr/src/tools/smatch/src/symbol.c
385
static struct symbol * examine_node_type(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
387
struct symbol *base_type = examine_base_type(sym);
usr/src/tools/smatch/src/symbol.c
410
struct symbol *node_type = base_type->ctype.base_type;
usr/src/tools/smatch/src/symbol.c
422
static struct symbol *examine_enum_type(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
424
struct symbol *base_type = examine_base_type(sym);
usr/src/tools/smatch/src/symbol.c
436
static struct symbol *examine_pointer_type(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
455
struct symbol *examine_symbol_type(struct symbol * sym)
usr/src/tools/smatch/src/symbol.c
485
struct symbol *base = evaluate_expression(sym->initializer);
usr/src/tools/smatch/src/symbol.c
49
void access_symbol(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
552
struct symbol *examine_pointer_target(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
559
void create_fouled(struct symbol *type)
usr/src/tools/smatch/src/symbol.c
562
struct symbol *new = alloc_symbol(type->pos, type->type);
usr/src/tools/smatch/src/symbol.c
572
struct symbol *befoul(struct symbol *type)
usr/src/tools/smatch/src/symbol.c
574
struct symbol *t1, *t2;
usr/src/tools/smatch/src/symbol.c
59
struct symbol *lookup_symbol(struct ident *ident, enum namespace ns)
usr/src/tools/smatch/src/symbol.c
592
void check_declaration(struct symbol *sym)
usr/src/tools/smatch/src/symbol.c
595
struct symbol *next = sym;
usr/src/tools/smatch/src/symbol.c
61
struct symbol *sym;
usr/src/tools/smatch/src/symbol.c
622
void bind_symbol(struct symbol *sym, struct ident *ident, enum namespace ns)
usr/src/tools/smatch/src/symbol.c
660
struct symbol *create_symbol(int stream, const char *name, int type, int namespace)
usr/src/tools/smatch/src/symbol.c
663
struct symbol *sym = lookup_symbol(ident, namespace);
usr/src/tools/smatch/src/symbol.c
682
struct symbol int_type,
usr/src/tools/smatch/src/symbol.c
689
struct symbol bool_ctype, void_ctype, type_ctype,
usr/src/tools/smatch/src/symbol.c
700
struct symbol int_ptr_ctype, uint_ptr_ctype;
usr/src/tools/smatch/src/symbol.c
701
struct symbol long_ptr_ctype, ulong_ptr_ctype;
usr/src/tools/smatch/src/symbol.c
702
struct symbol llong_ptr_ctype, ullong_ptr_ctype;
usr/src/tools/smatch/src/symbol.c
703
struct symbol float32_ctype, float32x_ctype;
usr/src/tools/smatch/src/symbol.c
704
struct symbol float64_ctype, float64x_ctype;
usr/src/tools/smatch/src/symbol.c
705
struct symbol float128_ctype;
usr/src/tools/smatch/src/symbol.c
706
struct symbol const_void_ctype, const_char_ctype;
usr/src/tools/smatch/src/symbol.c
707
struct symbol const_ptr_ctype, const_string_ctype;
usr/src/tools/smatch/src/symbol.c
709
struct symbol zero_int;
usr/src/tools/smatch/src/symbol.c
743
struct symbol *ptr;
usr/src/tools/smatch/src/symbol.c
748
struct symbol *base_type;
usr/src/tools/smatch/src/symbol.c
77
struct symbol *alloc_symbol(struct position pos, int type)
usr/src/tools/smatch/src/symbol.c
79
struct symbol *sym = __alloc_symbol(0);
usr/src/tools/smatch/src/symbol.c
812
struct symbol *sym = ctype->ptr;
usr/src/tools/smatch/src/symbol.c
95
static void lay_out_union(struct symbol *sym, struct struct_union_info *info)
usr/src/tools/smatch/src/symbol.h
105
struct symbol *base_type;
usr/src/tools/smatch/src/symbol.h
126
struct token *(*attribute)(struct token *token, struct symbol *attr, struct decl_state *ctx);
usr/src/tools/smatch/src/symbol.h
127
struct symbol *(*to_mode)(struct symbol *);
usr/src/tools/smatch/src/symbol.h
145
struct symbol *next_id; /* Next semantic symbol that shares this identifier */
usr/src/tools/smatch/src/symbol.h
146
struct symbol *replace; /* What is this symbol shadowed by in copy-expression */
usr/src/tools/smatch/src/symbol.h
149
struct symbol *same_symbol;
usr/src/tools/smatch/src/symbol.h
150
struct symbol *next_subobject;
usr/src/tools/smatch/src/symbol.h
191
struct symbol *definition;
usr/src/tools/smatch/src/symbol.h
259
extern struct symbol *current_fn;
usr/src/tools/smatch/src/symbol.h
262
extern struct symbol int_type,
usr/src/tools/smatch/src/symbol.h
266
extern struct symbol bool_ctype, void_ctype, type_ctype,
usr/src/tools/smatch/src/symbol.h
277
extern struct symbol int_ptr_ctype, uint_ptr_ctype;
usr/src/tools/smatch/src/symbol.h
278
extern struct symbol long_ptr_ctype, ulong_ptr_ctype;
usr/src/tools/smatch/src/symbol.h
279
extern struct symbol llong_ptr_ctype, ullong_ptr_ctype;
usr/src/tools/smatch/src/symbol.h
280
extern struct symbol float32_ctype, float32x_ctype;
usr/src/tools/smatch/src/symbol.h
281
extern struct symbol float64_ctype, float64x_ctype;
usr/src/tools/smatch/src/symbol.h
282
extern struct symbol float128_ctype;
usr/src/tools/smatch/src/symbol.h
283
extern struct symbol const_void_ctype, const_char_ctype;
usr/src/tools/smatch/src/symbol.h
284
extern struct symbol const_ptr_ctype, const_string_ctype;
usr/src/tools/smatch/src/symbol.h
290
extern struct symbol zero_int;
usr/src/tools/smatch/src/symbol.h
299
extern void access_symbol(struct symbol *);
usr/src/tools/smatch/src/symbol.h
304
extern struct symbol *lookup_symbol(struct ident *, enum namespace);
usr/src/tools/smatch/src/symbol.h
305
extern struct symbol *create_symbol(int stream, const char *name, int type, int namespace);
usr/src/tools/smatch/src/symbol.h
311
extern struct symbol *alloc_symbol(struct position, int type);
usr/src/tools/smatch/src/symbol.h
312
extern void show_type(struct symbol *);
usr/src/tools/smatch/src/symbol.h
314
extern void show_symbol(struct symbol *);
usr/src/tools/smatch/src/symbol.h
315
extern int show_symbol_expr_init(struct symbol *sym);
usr/src/tools/smatch/src/symbol.h
316
extern void show_type_list(struct symbol *);
usr/src/tools/smatch/src/symbol.h
318
extern void add_symbol(struct symbol_list **, struct symbol *);
usr/src/tools/smatch/src/symbol.h
319
extern void bind_symbol(struct symbol *, struct ident *, enum namespace);
usr/src/tools/smatch/src/symbol.h
321
extern struct symbol *examine_symbol_type(struct symbol *);
usr/src/tools/smatch/src/symbol.h
322
extern struct symbol *examine_pointer_target(struct symbol *);
usr/src/tools/smatch/src/symbol.h
324
extern const char *show_typename(struct symbol *sym);
usr/src/tools/smatch/src/symbol.h
325
extern const char *builtin_typename(struct symbol *sym);
usr/src/tools/smatch/src/symbol.h
326
extern const char *builtin_type_suffix(struct symbol *sym);
usr/src/tools/smatch/src/symbol.h
330
extern void debug_symbol(struct symbol *);
usr/src/tools/smatch/src/symbol.h
331
extern void merge_type(struct symbol *sym, struct symbol *base_type);
usr/src/tools/smatch/src/symbol.h
332
extern void check_declaration(struct symbol *sym);
usr/src/tools/smatch/src/symbol.h
333
extern void check_duplicates(struct symbol *sym);
usr/src/tools/smatch/src/symbol.h
335
static inline int valid_type(const struct symbol *ctype)
usr/src/tools/smatch/src/symbol.h
340
static inline struct symbol *get_base_type(const struct symbol *sym)
usr/src/tools/smatch/src/symbol.h
350
static inline int is_int_type(const struct symbol *type)
usr/src/tools/smatch/src/symbol.h
360
static inline int is_enum_type(const struct symbol *type)
usr/src/tools/smatch/src/symbol.h
367
static inline int is_signed_type(struct symbol *sym)
usr/src/tools/smatch/src/symbol.h
376
static inline int is_type_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
381
static inline int is_ptr_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
390
static inline int is_func_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
397
static inline int is_array_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
404
static inline int is_float_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
411
static inline int is_byte_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
416
static inline int is_void_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
423
static inline int is_bool_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
430
static inline int is_scalar_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
451
static inline bool is_integral_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
468
static inline int is_function(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
473
static inline int is_extern_inline(struct symbol *sym)
usr/src/tools/smatch/src/symbol.h
480
static inline int get_sym_type(struct symbol *type)
usr/src/tools/smatch/src/symbol.h
489
static inline long long extend_value(long long val, struct symbol *ctype)
usr/src/tools/smatch/src/symbol.h
497
static inline struct symbol *lookup_keyword(struct ident *ident, enum namespace ns)
usr/src/tools/smatch/src/symbol.h
508
void create_fouled(struct symbol *type);
usr/src/tools/smatch/src/symbol.h
509
struct symbol *befoul(struct symbol *type);
usr/src/tools/smatch/src/target.c
10
struct symbol *uintmax_ctype = &ullong_ctype;
usr/src/tools/smatch/src/target.c
11
struct symbol *int64_ctype = &long_ctype;
usr/src/tools/smatch/src/target.c
12
struct symbol *uint64_ctype = &ulong_ctype;
usr/src/tools/smatch/src/target.c
13
struct symbol *int32_ctype = &int_ctype;
usr/src/tools/smatch/src/target.c
14
struct symbol *uint32_ctype = &uint_ctype;
usr/src/tools/smatch/src/target.c
15
struct symbol *wchar_ctype = &int_ctype;
usr/src/tools/smatch/src/target.c
16
struct symbol *wint_ctype = &uint_ctype;
usr/src/tools/smatch/src/target.c
7
struct symbol *size_t_ctype = &ulong_ctype;
usr/src/tools/smatch/src/target.c
8
struct symbol *ssize_t_ctype = &long_ctype;
usr/src/tools/smatch/src/target.c
9
struct symbol *intmax_ctype = &llong_ctype;
usr/src/tools/smatch/src/target.h
10
extern struct symbol *int32_ctype;
usr/src/tools/smatch/src/target.h
11
extern struct symbol *uint32_ctype;
usr/src/tools/smatch/src/target.h
12
extern struct symbol *wchar_ctype;
usr/src/tools/smatch/src/target.h
13
extern struct symbol *wint_ctype;
usr/src/tools/smatch/src/target.h
4
extern struct symbol *size_t_ctype;
usr/src/tools/smatch/src/target.h
5
extern struct symbol *ssize_t_ctype;
usr/src/tools/smatch/src/target.h
6
extern struct symbol *intmax_ctype;
usr/src/tools/smatch/src/target.h
7
extern struct symbol *uintmax_ctype;
usr/src/tools/smatch/src/target.h
8
extern struct symbol *int64_ctype;
usr/src/tools/smatch/src/target.h
9
extern struct symbol *uint64_ctype;
usr/src/tools/smatch/src/test-dissect.c
32
static void print_usage(struct position *pos, struct symbol *sym, unsigned mode)
usr/src/tools/smatch/src/test-dissect.c
45
static void r_symbol(unsigned mode, struct position *pos, struct symbol *sym)
usr/src/tools/smatch/src/test-dissect.c
5
static inline char storage(struct symbol *sym)
usr/src/tools/smatch/src/test-dissect.c
57
static void r_member(unsigned mode, struct position *pos, struct symbol *sym, struct symbol *mem)
usr/src/tools/smatch/src/test-dissect.c
74
static void r_symdef(struct symbol *sym)
usr/src/tools/smatch/src/test-inspect.c
21
struct symbol *sym;
usr/src/tools/smatch/src/test-linearize.c
43
struct symbol *sym;
usr/src/tools/smatch/src/test-parsing.c
44
struct symbol *sym;
usr/src/tools/smatch/src/test-unssa.c
31
struct symbol *sym = ep->name;
usr/src/tools/smatch/src/test-unssa.c
49
static int output_data(struct symbol *sym)
usr/src/tools/smatch/src/test-unssa.c
60
struct symbol *sym;
usr/src/tools/smatch/src/token.h
73
struct symbol *symbols; /* Pointer to semantic meaning list */
usr/src/tools/smatch/src/validation/backend/struct.c
16
static struct symbol sym;
usr/src/tools/smatch/src/validation/backend/struct.c
17
static struct symbol *sym_p;
usr/src/tools/smatch/src/validation/backend/struct.c
18
static struct symbol *sym_q = &sym;
usr/src/tools/smatch/src/validation/backend/struct.c
9
struct symbol *next_id;
usr/src/uts/common/io/ppm/ppm_subr.c
1062
ppm_convert(char *symbol, uint_t *val)
usr/src/uts/common/io/ppm/ppm_subr.c
1068
if ((s = strchr(symbol, '=')) == NULL) {
usr/src/uts/common/io/ppm/ppm_subr.c
1070
"ppm.conf file", symbol);
usr/src/uts/common/io/ppm/ppm_subr.c
1081
"in ppm.conf file", symbol);
usr/src/uts/intel/sys/acpi/platform/aclinux.h
243
#define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol);
usr/src/uts/sparc/os/obpsym.c
125
value_to_name(uintptr_t value, char *symbol)
usr/src/uts/sparc/os/obpsym.c
136
(void) strcpy(symbol, modp->mod_modname);
usr/src/uts/sparc/os/obpsym.c
137
(void) strcat(symbol, ":");
usr/src/uts/sparc/os/obpsym.c
138
(void) strcat(symbol, name);
usr/src/uts/sparc/os/obpsym.c
143
*symbol = (char)0;
usr/src/uts/sparc/os/obpsym_1275.c
115
static char symbol[MAX_NAME];
usr/src/uts/sparc/os/obpsym_1275.c
123
char *name = symbol;
usr/src/uts/sparc/os/obpsym_1275.c
124
extern u_long value_to_name(uintptr_t value, char *symbol);
usr/src/uts/sun4u/sys/cheetahasm.h
38
#define ASM_LD(reg, symbol) \
usr/src/uts/sun4u/sys/cheetahasm.h
39
sethi %hi(symbol), reg; \
usr/src/uts/sun4u/sys/cheetahasm.h
40
ld [reg + %lo(symbol)], reg; \
usr/src/uts/sun4u/sys/cheetahasm.h
42
#define ASM_LDX(reg, symbol) \
usr/src/uts/sun4u/sys/cheetahasm.h
43
sethi %hi(symbol), reg; \
usr/src/uts/sun4u/sys/cheetahasm.h
44
ldx [reg + %lo(symbol)], reg; \
usr/src/uts/sun4u/sys/cheetahasm.h
46
#define ASM_JMP(reg, symbol) \
usr/src/uts/sun4u/sys/cheetahasm.h
47
sethi %hi(symbol), reg; \
usr/src/uts/sun4u/sys/cheetahasm.h
48
jmp reg + %lo(symbol); \