/third_party/typescript/tests/baselines/reference/ |
H A D | uniqueSymbolsErrors.js | 4 declare const {}: unique symbol; 5 declare let invalidLetType: unique symbol; 6 declare var invalidVarType: unique symbol; 9 declare function invalidArgType(arg: unique symbol): void; 10 declare function invalidRestArgType(...arg: (unique symbol)[]): void; 11 declare function invalidReturnType(): unique symbol; 12 declare function invalidThisType(this: unique symbol): void; 13 declare function invalidTypePredicate(n: any): n is unique symbol; 14 declare function invalidTypeParameterConstraint<T extends unique symbol>(): void; 15 declare function invalidTypeParameterDefault<T = unique symbol>() [all...] |
H A D | uniqueSymbolsDeclarations.js | 8 declare const constType: unique symbol; 11 const constTypeAndCall: unique symbol = Symbol(); 60 static readonly readonlyStaticType: unique symbol; 61 static readonly readonlyStaticTypeAndCall: unique symbol = Symbol(); 88 readonly readonlyType: unique symbol; 98 readonly readonlyType: unique symbol; 100 readonly readonlyNestedType: unique symbol; 116 // unique symbol widening in expressions 117 declare const s: unique symbol; 118 declare namespace N { const s: unique symbol; } [all...] |
H A D | parserRealSource9.js | 40 this.checker.errorReporter.simpleErrorFromSym(type.symbol, 41 "A export class may only extend other classes, " + type.extendsList[i].symbol.fullName() + " is an interface."); 46 this.checker.errorReporter.simpleErrorFromSym(type.symbol, 47 "An interface may only extend other interfaces, " + type.extendsList[i].symbol.fullName() + " is a class."); 60 this.checker.errorReporter.simpleErrorFromSym(type.symbol, 61 "A class may only implement an interface; " + iface.symbol.fullName() + " is a class."); 104 var memberScope = new SymbolTableScope(members, ambientMembers, typeMembers, ambientTypeMembers, type.symbol); 105 var agg = new SymbolAggregateScope(type.symbol); 111 this.checker.currentModDecl = <ModuleDeclaration>type.symbol.declAST; 146 public bindSymbol(scope: SymbolScope, symbol [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | symbol.h | 4 * Basic symbol and namespace definitions. 32 * An identifier with semantic meaning is a "symbol". 34 * There's a 1:n relationship: each symbol is always 39 * The progression is symbol -> token -> identifier. The 40 * token contains the information on where the symbol was 99 struct symbol *base_type; 130 struct token *(*declarator)(struct token *token, struct symbol *, struct decl_state *ctx); 133 struct token *(*attribute)(struct token *token, struct symbol *attr, struct decl_state *ctx); 134 struct symbol *(*to_mode)(struct symbol *); 145 struct symbol { global() struct [all...] |
H A D | target.h | 6 extern struct symbol *size_t_ctype; 7 extern struct symbol *ssize_t_ctype; 8 extern struct symbol *ptrdiff_ctype; 9 extern struct symbol *intptr_ctype; 10 extern struct symbol *uintptr_ctype; 11 extern struct symbol *intmax_ctype; 12 extern struct symbol *uintmax_ctype; 13 extern struct symbol *int64_ctype; 14 extern struct symbol *uint64_ctype; 15 extern struct symbol *int32_ctyp [all...] |
H A D | target.c | 4 #include "symbol.h" 8 struct symbol *ptrdiff_ctype; 9 struct symbol *intptr_ctype; 10 struct symbol *uintptr_ctype; 11 struct symbol *size_t_ctype = &ulong_ctype; 12 struct symbol *ssize_t_ctype = &long_ctype; 13 struct symbol *intmax_ctype = &long_ctype; 14 struct symbol *uintmax_ctype = &ulong_ctype; 15 struct symbol *int64_ctype = &long_ctype; 16 struct symbol *uint64_ctyp [all...] |
H A D | parse.h | 28 #include "symbol.h" 60 struct symbol *ret_target; 69 struct symbol *ret; 70 struct symbol *inline_fn; 74 struct symbol *label_identifier; 82 struct symbol *case_label; 87 struct symbol *switch_break, *switch_case; 90 struct symbol *iterator_break; 91 struct symbol *iterator_continue; 102 struct symbol *goto_labe [all...] |
H A D | dissect.c | 54 struct symbol *dissect_ctx; 60 static struct symbol 61 *base_type(struct symbol *sym), 62 *do_initializer(struct symbol *type, struct expression *expr), 66 static inline int is_ptr(struct symbol *type) in is_ptr() 83 static usage_t u_lval(struct symbol *type) in u_lval() 90 static usage_t fix_mode(struct symbol *type, usage_t mode) in fix_mode() 122 static struct symbol *report_member(usage_t mode, struct position *pos, in report_member() 123 struct symbol *type, struct symbol *me in report_member() [all...] |
/third_party/zlib/contrib/puff/ |
H A D | puff.c | 65 * - Catch missing end-of-block symbol error 202 * symbol[] are the symbol values in canonical order, where the number of 208 short *symbol; /* canonically ordered symbols */ member 212 * Decode a code from the stream s using huffman table h. Return the symbol or 241 int index; /* index of first code of length len in symbol table */ in decode() 247 if (code - count < first) /* if length len, return symbol */ in decode() 248 return h->symbol[index + (code - first)]; in decode() 269 int index; /* index of first code of length len in symbol table */ in decode() 284 if (code - count < first) { /* if length len, return symbol */ in decode() 342 int symbol; /* current symbol when stepping through length[] */ construct() local 440 int symbol; /* decoded symbol */ codes() local 545 int symbol; fixed() local 704 int symbol; /* decoded value */ dynamic() local [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | symbol.rs | 7 // A mangled symbol consisting of segments separated by '$'. 34 let mut symbol = Symbol(String::new()); in from_idents() variables 36 segment.write(&mut symbol); in from_idents() 38 assert!(!symbol.0.is_empty()); in from_idents() 39 symbol in from_idents() 44 fn write(&self, symbol: &mut Symbol); in write() 48 fn write(&self, symbol: &mut Symbol) { in write() 49 symbol.push(&self); in write() 54 fn write(&self, symbol: &mut Symbol) { in write() 55 symbol in write() 104 let mut symbol = Symbol(String::new()); join() variables [all...] |
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | symbol.rs | 7 // A mangled symbol consisting of segments separated by '$'. 34 let mut symbol = Symbol(String::new()); in from_idents() variables 36 segment.write(&mut symbol); in from_idents() 38 assert!(!symbol.0.is_empty()); in from_idents() 39 symbol in from_idents() 44 fn write(&self, symbol: &mut Symbol); in write() 48 fn write(&self, symbol: &mut Symbol) { in write() 49 symbol.push(&self); in write() 54 fn write(&self, symbol: &mut Symbol) { in write() 55 symbol in write() 104 let mut symbol = Symbol(String::new()); join() variables [all...] |
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | symbol.rs | 7 // A mangled symbol consisting of segments separated by '$'. 34 let mut symbol = Symbol(String::new()); in from_idents() variables 36 segment.write(&mut symbol); in from_idents() 38 assert!(!symbol.0.is_empty()); in from_idents() 39 symbol in from_idents() 44 fn write(&self, symbol: &mut Symbol); in write() 48 fn write(&self, symbol: &mut Symbol) { in write() 49 symbol.push(&self); in write() 54 fn write(&self, symbol: &mut Symbol) { in write() 55 symbol in write() 104 let mut symbol = Symbol(String::new()); join() variables [all...] |
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | symbol.rs | 7 // A mangled symbol consisting of segments separated by '$'. 34 let mut symbol = Symbol(String::new()); in from_idents() variables 36 segment.write(&mut symbol); in from_idents() 38 assert!(!symbol.0.is_empty()); in from_idents() 39 symbol in from_idents() 44 fn write(&self, symbol: &mut Symbol); in write() 48 fn write(&self, symbol: &mut Symbol) { in write() 49 symbol.push(&self); in write() 54 fn write(&self, symbol: &mut Symbol) { in write() 55 symbol in write() 104 let mut symbol = Symbol(String::new()); join() variables [all...] |
/third_party/rust/crates/cxx/syntax/ |
H A D | symbol.rs | 7 // A mangled symbol consisting of segments separated by '$'. 34 let mut symbol = Symbol(String::new()); in from_idents() variables 36 segment.write(&mut symbol); in from_idents() 38 assert!(!symbol.0.is_empty()); in from_idents() 39 symbol in from_idents() 44 fn write(&self, symbol: &mut Symbol); in write() 48 fn write(&self, symbol: &mut Symbol) { in write() 49 symbol.push(&self); in write() 54 fn write(&self, symbol: &mut Symbol) { in write() 55 symbol in write() 104 let mut symbol = Symbol(String::new()); join() variables [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ValidateOutputs.cpp | 24 void error(const TIntermSymbol &symbol, const char *reason, TDiagnostics *diagnostics) in error() argument 26 diagnostics->error(symbol.getLine(), reason, symbol.getName().data()); in error() 47 std::set<int> mVisitedSymbols; // Visited symbol ids. 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 in visitSymbol() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | opus_rc.c | 92 unsigned int k, scale, total, symbol, low, high; in ff_opus_rc_dec_cdf() local 97 symbol = rc->value / scale + 1; in ff_opus_rc_dec_cdf() 98 symbol = total - FFMIN(symbol, total); in ff_opus_rc_dec_cdf() 100 for (k = 0; cdf[k] <= symbol; k++); in ff_opus_rc_dec_cdf() 117 scale = rc->range >> bits; // in this case, scale = symbol in ff_opus_rc_dec_log() 214 uint32_t k, scale, symbol, total = (k0+1)*3 + k0; in ff_opus_rc_dec_uint_step() local 216 symbol = rc->value / scale + 1; in ff_opus_rc_dec_uint_step() 217 symbol = total - FFMIN(symbol, tota in ff_opus_rc_dec_uint_step() 236 uint32_t k, scale, symbol, total, low, center; ff_opus_rc_dec_uint_tri() local 260 uint32_t symbol, low, total; ff_opus_rc_enc_uint_tri() local 275 ff_opus_rc_dec_laplace(OpusRangeCoder *rc, uint32_t symbol, int decay) ff_opus_rc_dec_laplace() argument 314 ff_opus_rc_enc_laplace(OpusRangeCoder *rc, int *value, uint32_t symbol, int decay) ff_opus_rc_enc_laplace() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | ValidateLimitations.cpp | 21 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 in visitSymbol() 258 TIntermSymbol* symbol = declInit->getLeft()->getAsSymbolNode(); validateForLoopInit() local 300 TIntermSymbol* symbol = binOp->getLeft()->getAsSymbolNode(); validateForLoopCond() local 358 TIntermSymbol* symbol = nullptr; validateForLoopExpr() local 421 TIntermSymbol* symbol = params[i]->getAsSymbolNode(); validateFunctionCall() local 432 TSymbol* symbol = symbolTable.find(node->getName(), GetGlobalParseContext()->getShaderVersion()); validateFunctionCall() local 456 const TIntermSymbol* symbol = operand->getAsSymbolNode(); validateOperation() local [all...] |
/third_party/lzma/CS/7zip/Compress/RangeCoder/ |
H A D | RangeCoderBitTree.cs | 22 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 >> in ReverseGetPrice() [all...] |
/third_party/toybox/kconfig/ |
H A D | symbol.c | 15 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 *sy 651 struct symbol *symbol; sym_lookup() local 696 struct symbol *symbol = NULL; sym_find() local [all...] |
H A D | lkc.h | 80 void menu_add_entry(struct symbol *sym); 86 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 106 /* symbol.c */ 110 void sym_set_changed(struct symbol *sym); 111 struct symbol *sym_check_deps(struct symbol *sym); 112 struct property *prop_alloc(enum prop_type type, struct symbol *sym); 113 struct symbol *prop_get_symbol(struct property *prop); 115 static inline tristate sym_get_tristate_value(struct symbol *sym) in sym_get_tristate_value() 121 static inline struct symbol *sym_get_choice_valu [all...] |
/third_party/lzma/Java/SevenZip/Compression/RangeCoder/ |
H A D | BitTreeEncoder.java | 20 public void Encode(Encoder rangeEncoder, int symbol) throws IOException
in Encode() argument 26 int bit = (symbol >>> bitIndex) & 1;
in Encode() 32 public void ReverseEncode(Encoder rangeEncoder, int symbol) throws IOException
in ReverseEncode() argument 37 int bit = symbol & 1;
in ReverseEncode() 40 symbol >>= 1;
in ReverseEncode() 44 public int GetPrice(int symbol)
in GetPrice() argument 51 int bit = (symbol >>> bitIndex) & 1;
in GetPrice() 58 public int ReverseGetPrice(int symbol)
in ReverseGetPrice() argument 64 int bit = symbol & 1;
in ReverseGetPrice() 65 symbol >>> in ReverseGetPrice() 72 ReverseGetPrice(short[] Models, int startIndex, int NumBitLevels, int symbol) ReverseGetPrice() argument 87 ReverseEncode(short[] Models, int startIndex, Encoder rangeEncoder, int NumBitLevels, int symbol) ReverseEncode() argument [all...] |
/third_party/elfutils/libebl/ |
H A D | eblsymboltypename.c | 1 /* Return symbol type name. 39 ebl_symbol_type_name (Ebl *ebl, int symbol, char *buf, size_t len) in ebl_symbol_type_name() argument 43 res = ebl != NULL ? ebl->symbol_type_name (symbol, buf, len) : NULL; in ebl_symbol_type_name() 58 if (symbol < STT_NUM) in ebl_symbol_type_name() 59 res = stt_names[symbol]; in ebl_symbol_type_name() 64 if (symbol >= STT_LOPROC && symbol <= STT_HIPROC) in ebl_symbol_type_name() 65 snprintf (buf, len, "LOPROC+%d", symbol - STT_LOPROC); in ebl_symbol_type_name() 66 else if (symbol == STT_GNU_IFUNC in ebl_symbol_type_name() 71 else if (symbol > in ebl_symbol_type_name() [all...] |
/third_party/skia/src/sksl/ir/ |
H A D | SkSLSymbolTable.cpp | 34 // want these to end up in built-in root symbol tables (where they will outlive the Program in lookup() 36 // symbol table to the root which is not a built-in. in lookup() 48 const Symbol* symbol = *symbolPPtr; in lookup() local 50 auto functions = GetFunctions(*symbol); in lookup() 79 while (symbol && symbol->is<SymbolAlias>()) { in lookup() 80 symbol = symbol->as<SymbolAlias>().origSymbol(); in lookup() 82 return symbol; in lookup() 91 void SymbolTable::addAlias(skstd::string_view name, const Symbol* symbol) { in addAlias() argument 95 addWithoutOwnership(const Symbol* symbol) addWithoutOwnership() argument [all...] |
/third_party/node/deps/brotli/c/enc/ |
H A D | utf8_util.c | 18 int* symbol, const uint8_t* input, size_t size) { in BrotliParseAsUTF8() 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 < in BrotliParseAsUTF8() 17 BrotliParseAsUTF8( int* symbol, const uint8_t* input, size_t size) BrotliParseAsUTF8() argument 74 int symbol; BrotliIsMostlyUTF8() local [all...] |
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | utf8_util.c | 18 int* symbol, const uint8_t* input, size_t size) { in BrotliParseAsUTF8() 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 < in BrotliParseAsUTF8() 17 BrotliParseAsUTF8( int* symbol, const uint8_t* input, size_t size) BrotliParseAsUTF8() argument 74 int symbol; BrotliIsMostlyUTF8() local [all...] |