Home
last modified time | relevance | path

Searched refs:symbol (Results 1 – 25 of 3413) sorted by relevance

12345678910>>...137

/external/rust/crates/libz-sys/src/zlib/contrib/puff/
Dpuff.c208 short *symbol; /* canonically ordered symbols */ member
248 return h->symbol[index + (code - first)]; in decode()
287 return h->symbol[index + (code - first)]; in decode()
342 int symbol; /* current symbol when stepping through length[] */ in construct() local
350 for (symbol = 0; symbol < n; symbol++) in construct()
351 (h->count[length[symbol]])++; /* assumes lengths are within bounds */ in construct()
373 for (symbol = 0; symbol < n; symbol++) in construct()
374 if (length[symbol] != 0) in construct()
375 h->symbol[offs[length[symbol]]++] = symbol; in construct()
440 int symbol; /* decoded symbol */ in codes() local
[all …]
/external/llvm-project/llvm/test/MC/Mips/
Dmacro-dla-pic.s8 dla $5, symbol
9 # N64: ld $5, %got_disp(symbol)($gp) # encoding: [0xdf,0x85,A,A]
10 # N64: # fixup A - offset: 0, value: %got_disp(symbol), kind: fi…
12 # XGOT: lui $5, %got_hi(symbol) # encoding: [0x3c,0x05,A,A]
13 # XGOT: # fixup A - offset: 0, value: %got_hi(symbol), kind: fixu…
15 # XGOT: ld $5, %got_lo(symbol)($5) # encoding: [0xdc,0xa5,A,A]
16 # XGOT: # fixup A - offset: 0, value: %got_lo(symbol), kind: fixu…
18 dla $5, symbol($6)
19 # N64: ld $5, %got_disp(symbol)($gp) # encoding: [0xdf,0x85,A,A]
20 # N64: # fixup A - offset: 0, value: %got_disp(symbol), kind: fi…
[all …]
Dmacro-la-pic.s20 la $5, symbol
21 # O32: lw $5, %got(symbol)($gp) # encoding: [0x8f,0x85,A,A]
22 # O32: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mips_G…
24 # XGOT: lui $5, %got_hi(symbol) # encoding: [0x3c,0x05,A,A]
25 # XGOT: # fixup A - offset: 0, value: %got_hi(symbol), kind: fixup_…
27 # XGOT: lw $5, %got_lo(symbol)($5) # encoding: [0x8c,0xa5,A,A]
28 # XGOT: # fixup A - offset: 0, value: %got_lo(symbol), kind: fixup_…
30 # N32: lw $5, %got_disp(symbol)($gp) # encoding: [0x8f,0x85,A,A]
31 … # fixup A - offset: 0, value: %got_disp(symbol), kind: fixup_Mips_GOT_DISP
33 la $5, symbol($6)
[all …]
/external/rust/cxx/syntax/
Dsymbol.rs34 let mut symbol = Symbol(String::new()); in from_idents() localVariable
36 segment.write(&mut symbol); in from_idents()
38 assert!(!symbol.0.is_empty()); in from_idents()
39 symbol in from_idents()
50 fn write(&self, symbol: &mut Symbol); in write()
54 fn write(&self, symbol: &mut Symbol) { in write()
55 symbol.push(&self); in write()
60 fn write(&self, symbol: &mut Symbol) { in write()
61 symbol.push(&self); in write()
66 fn write(&self, symbol: &mut Symbol) { in write()
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_asm.h46 # define ASM_HIDDEN(symbol) .hidden symbol argument
47 # define ASM_TYPE_FUNCTION(symbol) .type symbol, %function argument
48 # define ASM_SIZE(symbol) .size symbol, .-symbol argument
49 # define ASM_SYMBOL(symbol) symbol argument
50 # define ASM_SYMBOL_INTERCEPTOR(symbol) symbol argument
51 # define ASM_WRAPPER_NAME(symbol) __interceptor_##symbol argument
53 # define ASM_HIDDEN(symbol) argument
54 # define ASM_TYPE_FUNCTION(symbol) argument
55 # define ASM_SIZE(symbol) argument
56 # define ASM_SYMBOL(symbol) _##symbol argument
[all …]
/external/llvm-project/flang/lib/Semantics/
Dtools.cpp46 const Scope &GetTopLevelUnitContaining(const Symbol &symbol) { in GetTopLevelUnitContaining() argument
47 return GetTopLevelUnitContaining(symbol.owner()); in GetTopLevelUnitContaining()
70 const Scope &GetProgramUnitContaining(const Symbol &symbol) { in GetProgramUnitContaining() argument
71 return GetProgramUnitContaining(symbol.owner()); in GetProgramUnitContaining()
155 bool IsGenericDefinedOp(const Symbol &symbol) { in IsGenericDefinedOp() argument
156 const Symbol &ultimate{symbol.GetUltimate()}; in IsGenericDefinedOp()
185 bool IsUseAssociated(const Symbol &symbol, const Scope &scope) { in IsUseAssociated() argument
186 const Scope &owner{GetProgramUnitContaining(symbol.GetUltimate().owner())}; in IsUseAssociated()
198 bool DoesScopeContain(const Scope *maybeAncestor, const Symbol &symbol) { in DoesScopeContain() argument
199 return DoesScopeContain(maybeAncestor, symbol.owner()); in DoesScopeContain()
[all …]
Dcheck-declarations.cpp96 void SayWithDeclaration(const Symbol &symbol, A &&...x) { in SayWithDeclaration() argument
98 if (messages_.at().begin() != symbol.name().begin()) { in SayWithDeclaration()
99 evaluate::AttachDeclaration(*msg, symbol); in SayWithDeclaration()
131 const Symbol &symbol; member
167 void CheckHelper::Check(const Symbol &symbol) { in Check() argument
168 if (context_.HasError(symbol)) { in Check()
171 auto restorer{messages_.SetLocation(symbol.name())}; in Check()
172 context_.set_location(symbol.name()); in Check()
173 const DeclTypeSpec *type{symbol.GetType()}; in Check()
175 bool isAssociated{symbol.has<UseDetails>() || symbol.has<HostAssocDetails>()}; in Check()
[all …]
Dcompute-offsets.cpp44 : symbol{&s}, offset{off}, object{&obj} {} in SymbolAndOffset()
46 Symbol *symbol; member
85 if (scope.symbol() && scope.IsParameterizedDerivedType()) { in DoScope()
100 for (auto &[symbol, dep] : dependents_) { in DoScope()
102 CHECK(symbol->size() == 0); in DoScope()
103 auto symInfo{GetSizeAndAlignment(*symbol)}; in DoScope()
104 symbol->set_size(symInfo.size); in DoScope()
105 Symbol &base{*dep.symbol}; in DoScope()
118 for (auto &[symbol, blockInfo] : equivalenceBlock_) { in DoScope()
119 if (!InCommonBlock(*symbol)) { in DoScope()
[all …]
Dmod-file.cpp73 SubprogramSymbolCollector(const Symbol &symbol, const Scope &scope) in SubprogramSymbolCollector() argument
74 : symbol_{symbol}, scope_{scope} {} in SubprogramSymbolCollector()
96 for (const Symbol &symbol : evaluate::CollectSymbols(expr)) { in DoExpr() local
97 DoSymbol(symbol); in DoExpr()
118 auto *symbol{scope.symbol()}; in WriteOne() local
119 if (!symbol->test(Symbol::Flag::ModFile)) { in WriteOne()
120 Write(*symbol); in WriteOne()
134 void ModFileWriter::Write(const Symbol &symbol) { in Write() argument
135 auto *ancestor{symbol.get<ModuleDetails>().ancestor()}; in Write()
138 ModFileName(symbol.name(), ancestorName, context_.moduleFileSuffix())}; in Write()
[all …]
Dresolve-names.cpp187 const Symbol &symbol, const T &expr, parser::CharBlock source) { in EvaluateNonPointerInitializer() argument
188 if (!context().HasError(symbol)) { in EvaluateNonPointerInitializer()
192 symbol, std::move(*maybeExpr), GetFoldingContext()); in EvaluateNonPointerInitializer()
467 void PushScope(Scope::Kind kind, Symbol *symbol);
509 void EraseSymbol(const Symbol &symbol) { currScope().erase(symbol.name()); } in EraseSymbol() argument
536 auto *symbol{FindInScope(currScope(), name)}; in MakeSymbol() local
537 if (!symbol) { in MakeSymbol()
538 symbol = &MakeSymbol(name, attrs); in MakeSymbol()
539 symbol->set_details(std::move(details)); in MakeSymbol()
540 return *symbol; in MakeSymbol()
[all …]
/external/llvm/test/MC/Mips/
Dmacro-la-pic.s9 la $5, symbol # CHECK: lw $5, %got(symbol)($gp) # encoding: [0x8f,0x85,A,A]
10 … CHECK: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mips…
11 la $5, symbol($6) # CHECK: lw $5, %got(symbol)($gp) # encoding: [0x8f,0x85,A,A]
12 … CHECK: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mips…
14 la $6, symbol($6) # CHECK: lw $1, %got(symbol)($gp) # encoding: [0x8f,0x81,A,A]
15 … CHECK: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mips…
17 la $5, symbol+8 # CHECK: lw $5, %got(symbol+8)($gp) # encoding: [0x8f,0x85,A,A]
18 … CHECK: # fixup A - offset: 0, value: %got(symbol+8), kind: fixup_Mi…
19 la $5, symbol+8($6) # CHECK: lw $5, %got(symbol+8)($gp) # encoding: [0x8f,0x85,A,A]
20 … CHECK: # fixup A - offset: 0, value: %got(symbol+8), kind: fixup_Mi…
[all …]
/external/python/cpython3/Lib/test/test_tools/test_c_analyzer/test_symbols/
Dtest_info.py23 symbol = Symbol(
29 self.assertEqual(symbol, (
37 symbol = Symbol(
43 self.assertEqual(symbol, (
94 symbol = Symbol(**kwargs)
97 value = getattr(symbol, field)
104 self.assertEqual(tuple(symbol), expected)
109 symbol = Symbol(id)
111 self.assertEqual(symbol, (
120 symbol = Symbol(id, 'b', False)
[all …]
/external/autotest/client/common_lib/test_utils/
Dmock.py135 def __init__(self, symbol, return_obj, *args, **dargs): argument
137 self.symbol = symbol
168 return _dump_function_call(self.symbol, self.args, self.dargs)
172 def __init__(self, symbol, return_val, *args, **dargs): argument
173 super(function_mapping, self).__init__(symbol, return_val, *args,
192 def __init__(self, symbol, default_return_val=None, argument
198 self.symbol = symbol
201 self.__name__ = symbol
209 return self.playback(self.symbol, *args, **dargs)
215 mapping = function_mapping(self.symbol, None, *args, **dargs)
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_asm.h47 # define ASM_HIDDEN(symbol) .hidden symbol argument
48 # define ASM_TYPE_FUNCTION(symbol) .type symbol, @function argument
49 # define ASM_SIZE(symbol) .size symbol, .-symbol argument
50 # define ASM_TSAN_SYMBOL(symbol) symbol argument
51 # define ASM_TSAN_SYMBOL_INTERCEPTOR(symbol) symbol argument
53 # define ASM_HIDDEN(symbol) argument
54 # define ASM_TYPE_FUNCTION(symbol) argument
55 # define ASM_SIZE(symbol) argument
56 # define ASM_TSAN_SYMBOL(symbol) _##symbol argument
57 # define ASM_TSAN_SYMBOL_INTERCEPTOR(symbol) _wrap_##symbol argument
/external/llvm-project/mlir/lib/IR/
DSymbolTable.cpp27 static Optional<StringRef> getNameIfSymbol(Operation *symbol) { in getNameIfSymbol() argument
29 symbol->getAttrOfType<StringAttr>(SymbolTable::getSymbolAttrName()); in getNameIfSymbol()
32 static Optional<StringRef> getNameIfSymbol(Operation *symbol, in getNameIfSymbol() argument
34 auto nameAttr = symbol->getAttrOfType<StringAttr>(symbolAttrNameId); in getNameIfSymbol()
43 collectValidReferencesFor(Operation *symbol, StringRef symbolName, in collectValidReferencesFor() argument
46 assert(within->isAncestor(symbol) && "expected 'within' to be an ancestor"); in collectValidReferencesFor()
47 MLIRContext *ctx = symbol->getContext(); in collectValidReferencesFor()
53 Operation *symbolTableOp = symbol->getParentOp(); in collectValidReferencesFor()
140 void SymbolTable::erase(Operation *symbol) { in erase() argument
141 Optional<StringRef> name = getNameIfSymbol(symbol); in erase()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DValidateLimitations.cpp21 bool IsLoopIndex(const TIntermSymbol* symbol, const TLoopStack& stack) { in IsLoopIndex() argument
23 if (i->index.id == symbol->getId()) in IsLoopIndex()
29 void MarkLoopForUnroll(const TIntermSymbol* symbol, TLoopStack& stack) { in MarkLoopForUnroll() argument
31 if (i->index.id == symbol->getId()) { in MarkLoopForUnroll()
57 virtual void visitSymbol(TIntermSymbol* symbol) { in visitSymbol() argument
61 mValid = (symbol->getQualifier() == EvqConstExpr) || in visitSymbol()
62 IsLoopIndex(symbol, mLoopStack); in visitSymbol()
84 virtual void visitSymbol(TIntermSymbol* symbol) { in visitSymbol() argument
85 if (IsLoopIndex(symbol, mLoopStack)) { in visitSymbol()
86 switch (symbol->getBasicType()) { in visitSymbol()
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DSymbolTable.h37 void erase(Operation *symbol);
42 void insert(Operation *symbol, Block::iterator insertPt = {});
76 static StringRef getSymbolName(Operation *symbol);
78 static void setSymbolName(Operation *symbol, StringRef name);
81 static Visibility getSymbolVisibility(Operation *symbol);
83 static void setSymbolVisibility(Operation *symbol, Visibility vis);
101 static Operation *lookupSymbolIn(Operation *op, StringRef symbol);
102 static Operation *lookupSymbolIn(Operation *op, SymbolRefAttr symbol);
106 static LogicalResult lookupSymbolIn(Operation *op, SymbolRefAttr symbol,
113 static Operation *lookupNearestSymbolFrom(Operation *from, StringRef symbol);
[all …]
/external/libepoxy/test/
Ddlwrap.c55 typedef void *(*fips_dlsym_t)(void *handle, const char *symbol);
164 void *symbol; in wrapped_dlsym() local
171 symbol = dlwrap_real_dlsym(RTLD_DEFAULT, wrap_name); in wrapped_dlsym()
173 return symbol; in wrapped_dlsym()
199 void *symbol = wrapped_dlsym(wrap->symbol_prefix, name); in dlsym() local
200 if (symbol) in dlsym()
201 return symbol; in dlsym()
283 void *symbol; in override_GL_glXGetProcAddress() local
285 symbol = wrapped_dlsym("GL", name); in override_GL_glXGetProcAddress()
286 if (symbol) in override_GL_glXGetProcAddress()
[all …]
/external/angle/src/compiler/translator/
DValidateOutputs.cpp24 void error(const TIntermSymbol &symbol, const char *reason, TDiagnostics *diagnostics) in error() argument
26 diagnostics->error(symbol.getLine(), reason, symbol.getName().data()); in error()
59 void ValidateOutputsTraverser::visitSymbol(TIntermSymbol *symbol) in visitSymbol() argument
61 if (symbol->variable().symbolType() == SymbolType::Empty) in visitSymbol()
64 if (mVisitedSymbols.count(symbol->uniqueId().get()) == 1) in visitSymbol()
67 mVisitedSymbols.insert(symbol->uniqueId().get()); in visitSymbol()
69 TQualifier qualifier = symbol->getQualifier(); in visitSymbol()
72 if (symbol->getType().getLayoutQualifier().location != -1) in visitSymbol()
74 mOutputs.push_back(symbol); in visitSymbol()
76 else if (symbol->getType().getLayoutQualifier().yuv == true) in visitSymbol()
[all …]
/external/toybox/kconfig/
Dlkc_proto.h18 P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]);
21 P(sym_lookup,struct symbol *,(const char *name, int isconst));
22 P(sym_find,struct symbol *,(const char *name));
23 P(sym_re_search,struct symbol **,(const char *pattern));
25 P(sym_calc_value,void,(struct symbol *sym));
26 P(sym_get_type,enum symbol_type,(struct symbol *sym));
27 P(sym_tristate_within_range,bool,(struct symbol *sym,tristate tri));
28 P(sym_set_tristate_value,bool,(struct symbol *sym,tristate tri));
29 P(sym_toggle_tristate_value,tristate,(struct symbol *sym));
30 P(sym_string_valid,bool,(struct symbol *sym, const char *newval));
[all …]
Dsymbol.c15 struct symbol symbol_yes = {
34 struct symbol *sym_defconfig_list;
35 struct symbol *modules_sym;
38 void sym_add_default(struct symbol *sym, const char *def) in sym_add_default()
47 struct symbol *sym; in sym_init()
80 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type()
114 struct property *sym_get_choice_prop(struct symbol *sym) in sym_get_choice_prop()
123 struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop()
135 struct property *sym_get_range_prop(struct symbol *sym) in sym_get_range_prop()
147 static int sym_get_range_val(struct symbol *sym, int base) in sym_get_range_val()
[all …]
/external/python/cpython2/Demo/parser/
Dexample.py10 import symbol
52 if cstmt[0] == symbol.funcdef:
55 elif cstmt[0] == symbol.classdef:
159 symbol.stmt,
160 (symbol.compound_stmt, ['compound'])
169 symbol.stmt,
170 (symbol.simple_stmt,
171 (symbol.small_stmt,
172 (symbol.expr_stmt,
173 (symbol.testlist,
[all …]
/external/brotli/c/enc/
Dutf8_util.c18 int* symbol, const uint8_t* input, size_t size) { in BrotliParseAsUTF8() argument
21 *symbol = input[0]; in BrotliParseAsUTF8()
22 if (*symbol > 0) { in BrotliParseAsUTF8()
30 *symbol = (((input[0] & 0x1F) << 6) | in BrotliParseAsUTF8()
32 if (*symbol > 0x7F) { in BrotliParseAsUTF8()
41 *symbol = (((input[0] & 0x0F) << 12) | in BrotliParseAsUTF8()
44 if (*symbol > 0x7FF) { in BrotliParseAsUTF8()
54 *symbol = (((input[0] & 0x07) << 18) | in BrotliParseAsUTF8()
58 if (*symbol > 0xFFFF && *symbol <= 0x10FFFF) { in BrotliParseAsUTF8()
63 *symbol = 0x110000 | input[0]; in BrotliParseAsUTF8()
[all …]
/external/libgav1/libgav1/src/utils/
Dentropy_decoder.cc63 void UpdateCdf(uint16_t* const cdf, const int symbol_count, const int symbol) { in UpdateCdf() argument
108 if (i < symbol) { in UpdateCdf()
171 void UpdateCdf5(uint16_t* const cdf, const int symbol) { in UpdateCdf5() argument
177 const uint16x4_t symbol_vec = vdup_n_u16(symbol); in UpdateCdf5()
198 void UpdateCdf7To9(uint16_t* const cdf, const int symbol) { in UpdateCdf7To9() argument
206 const uint16x8_t symbol_vec = vdupq_n_u16(symbol); in UpdateCdf7To9()
219 void UpdateCdf7(uint16_t* const cdf, const int symbol) { in UpdateCdf7() argument
220 UpdateCdf7To9<7>(cdf, symbol); in UpdateCdf7()
223 void UpdateCdf8(uint16_t* const cdf, const int symbol) { in UpdateCdf8() argument
224 UpdateCdf7To9<8>(cdf, symbol); in UpdateCdf8()
[all …]
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBitTree.cs22 public void Encode(Encoder rangeEncoder, UInt32 symbol) in Encode()
28 UInt32 bit = (symbol >> bitIndex) & 1; in Encode()
34 public void ReverseEncode(Encoder rangeEncoder, UInt32 symbol) in ReverseEncode()
39 UInt32 bit = symbol & 1; in ReverseEncode()
42 symbol >>= 1; in ReverseEncode()
46 public UInt32 GetPrice(UInt32 symbol) in GetPrice()
53 UInt32 bit = (symbol >> bitIndex) & 1; in GetPrice()
60 public UInt32 ReverseGetPrice(UInt32 symbol) in ReverseGetPrice()
66 UInt32 bit = symbol & 1; in ReverseGetPrice()
67 symbol >>= 1; in ReverseGetPrice()
[all …]

12345678910>>...137