Home
last modified time | relevance | path

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

12345678910>>...40

/external/zlib/src/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/v8/test/mjsunit/harmony/
Dprivate-symbols.js8 var symbol = %CreatePrivateSymbol("private"); variable
14 object[symbol] = 42;
37 assertEquals(42, proxy[symbol] = 42);
38 assertThrows(function() { "use strict"; proxy[symbol] = 42 }, TypeError);
39 assertEquals(false, Reflect.set(proxy, symbol, 42));
40 assertEquals(42, object[symbol] = 42);
41 assertEquals(43, (function() {"use strict"; return object[symbol] = 43})());
42 assertEquals(true, Reflect.set(object, symbol, 44));
45 assertEquals(false, Reflect.defineProperty(proxy, symbol, {}));
46 assertThrows(() => Object.defineProperty(proxy, symbol, {}), TypeError);
[all …]
/external/bison/src/
Dsymtab.h52 typedef struct symbol symbol; typedef
56 struct symbol struct
98 symbol *alias; argument
116 void symbol_print (symbol *s, FILE *f);
119 symbol *symbol_from_uniqstr (const uniqstr key, location loc);
122 symbol *symbol_get (const char *key, location loc);
127 symbol *dummy_symbol_get (location loc);
130 bool symbol_is_dummy (const symbol *sym);
136 void symbol_make_alias (symbol *sym, symbol *str, location loc);
141 void symbol_type_set (symbol *sym, uniqstr type_name, location loc);
[all …]
Dsymtab.c35 static symbol **symbols_sorted = NULL;
41 symbol *errtoken = NULL;
42 symbol *undeftoken = NULL;
43 symbol *endtoken = NULL;
44 symbol *accept = NULL;
45 symbol *startsymbol = NULL;
61 static symbol *
64 symbol *res = xmalloc (sizeof *res); in symbol_new()
128 symbol_print (symbol *s, FILE *f) in symbol_print()
150 symbol_redeclaration (symbol *s, const char *what, location first, in symbol_redeclaration()
[all …]
/external/opencv3/3rdparty/libwebp/utils/
Dhuffman.c74 int symbol; in HuffmanCodeLengthsToCodes() local
86 for (symbol = 0; symbol < code_lengths_size; ++symbol) { in HuffmanCodeLengthsToCodes()
87 if (code_lengths[symbol] > max_code_length) { in HuffmanCodeLengthsToCodes()
88 max_code_length = code_lengths[symbol]; in HuffmanCodeLengthsToCodes()
94 for (symbol = 0; symbol < code_lengths_size; ++symbol) { in HuffmanCodeLengthsToCodes()
95 ++code_length_hist[code_lengths[symbol]]; in HuffmanCodeLengthsToCodes()
110 for (symbol = 0; symbol < code_lengths_size; ++symbol) { in HuffmanCodeLengthsToCodes()
111 if (code_lengths[symbol] > 0) { in HuffmanCodeLengthsToCodes()
112 huff_codes[symbol] = next_codes[code_lengths[symbol]]++; in HuffmanCodeLengthsToCodes()
114 huff_codes[symbol] = NON_EXISTENT_SYMBOL; in HuffmanCodeLengthsToCodes()
[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/toybox/kconfig/
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()
78 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type()
112 struct property *sym_get_choice_prop(struct symbol *sym) in sym_get_choice_prop()
121 struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop()
133 struct property *sym_get_range_prop(struct symbol *sym) in sym_get_range_prop()
145 static int sym_get_range_val(struct symbol *sym, int base) in sym_get_range_val()
[all …]
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 …]
Dlkc.h80 void menu_add_entry(struct symbol *sym);
86 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
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_value(struct symbol *sym) in sym_get_choice_value()
123 return (struct symbol *)sym->curr.val; in sym_get_choice_value()
126 static inline bool sym_set_choice_value(struct symbol *ch, struct symbol *chval) in sym_set_choice_value()
[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 …]
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DBitTreeEncoder.java20 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 >>>= 1; in ReverseGetPrice()
[all …]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/
DRangeEncoder.java132 public void encodeBitTree(short[] probs, int symbol) { in encodeBitTree() argument
138 int bit = symbol & mask; in encodeBitTree()
148 public static int getBitTreePrice(short[] probs, int symbol) { in getBitTreePrice() argument
150 symbol |= probs.length; in getBitTreePrice()
153 int bit = symbol & 1; in getBitTreePrice()
154 symbol >>>= 1; in getBitTreePrice()
155 price += getBitPrice(probs[symbol], bit); in getBitTreePrice()
156 } while (symbol != 1); in getBitTreePrice()
161 public void encodeReverseBitTree(short[] probs, int symbol) { in encodeReverseBitTree() argument
163 symbol |= probs.length; in encodeReverseBitTree()
[all …]
DRangeDecoder.java46 int symbol = 1; in decodeBitTree() local
49 symbol = (symbol << 1) | decodeBit(probs, symbol); in decodeBitTree()
50 } while (symbol < probs.length); in decodeBitTree()
52 return symbol - probs.length; in decodeBitTree()
56 int symbol = 1; in decodeReverseBitTree() local
61 int bit = decodeBit(probs, symbol); in decodeReverseBitTree()
62 symbol = (symbol << 1) | bit; in decodeReverseBitTree()
64 } while (symbol < probs.length); in decodeReverseBitTree()
/external/elfutils/libebl/
Deblsymboltypename.c39 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()
70 else if (symbol >= STT_LOOS && symbol <= STT_HIOS) in ebl_symbol_type_name()
71 snprintf (buf, len, "LOOS+%d", symbol - STT_LOOS); in ebl_symbol_type_name()
73 snprintf (buf, len, gettext ("<unknown>: %d"), symbol); in ebl_symbol_type_name()
/external/libxml2/doc/
Dlibxml-doc.el124 (defun libxmldoc-lookup-symbol(&optional symbol)
133 (symbol ;; symbol is specified as argument
134 (if (not (assoc symbol libxmldoc-symbols))
135 (setq symbol nil)))
136 ((assoc (thing-at-point 'symbol) libxmldoc-symbols)
137 (setq symbol (thing-at-point 'symbol)))
140 ((assoc (concat "*" (thing-at-point 'symbol)) libxmldoc-symbols)
141 (setq symbol (concat "*" (thing-at-point 'symbol))))
145 (setq symbol (completing-read
147 (if (or symbol (null libxmldoc-filter-regexp))
[all …]
Dindex.py201 def updateWord(name, symbol, relevance): argument
210 if symbol == None:
217 (name, symbol, relevance))
222 (relevance, name, symbol))
224 print "Update word (%s, %s, %s) failed command" % (name, symbol, relevance)
225 …t "UPDATE words SET relevance = %d where name = '%s' and symbol = '%s'" % (relevance, name, symbol)
527 def addWord(word, module, symbol, relevance): argument
532 if module == None or symbol == None:
547 relevance = relevance + d[(module, symbol)]
552 wordsDict[word][(module, symbol)] = relevance
[all …]
/external/elfutils/tests/
Drun-readelf-gdb_index.sh75 symbol offset: 0x78
90 [ 123] symbol: global, CUs: 1
91 [ 489] symbol: main, CUs: 0
92 [ 518] symbol: char, CUs: 0
93 [ 661] symbol: foo, CUs: 0T
94 [ 741] symbol: hello, CUs: 0, 1
95 [ 746] symbol: say, CUs: 1
96 [ 754] symbol: int, CUs: 0
106 symbol offset: 0x78
121 [ 123] symbol: global, CUs: 1 (var:G)
[all …]
/external/zlib/src/contrib/blast/
Dblast.c101 short *symbol; /* canonically ordered symbols */ member
149 return h->symbol[index + (code - first)]; in decode()
189 int symbol; /* current symbol when stepping through length[] */ in construct() local
196 symbol = 0; in construct()
202 length[symbol++] = len; in construct()
205 n = symbol; in construct()
210 for (symbol = 0; symbol < n; symbol++) in construct()
211 (h->count[length[symbol]])++; /* assumes lengths are within bounds */ in construct()
232 for (symbol = 0; symbol < n; symbol++) in construct()
233 if (length[symbol] != 0) in construct()
[all …]
/external/autotest/client/tools/
Doprofile_diff8 (samples, percent, symbol) = line.split()
9 data[symbol] = float(percent)
17 for symbol in data1.keys() + data2.keys():
18 delta[symbol] = data1.get(symbol, 0) - data2.get(symbol, 0)
20 def lookup_delta(symbol): argument
21 return delta[symbol]
28 for symbol in sorted_deltas:
29 print '%2.3f %s' % (delta[symbol], symbol)
/external/v8/src/runtime/
Druntime-symbol.cc20 Handle<Symbol> symbol = isolate->factory()->NewSymbol(); in RUNTIME_FUNCTION() local
21 if (name->IsString()) symbol->set_name(*name); in RUNTIME_FUNCTION()
22 return *symbol; in RUNTIME_FUNCTION()
31 Handle<Symbol> symbol = isolate->factory()->NewPrivateSymbol(); in RUNTIME_FUNCTION() local
32 if (name->IsString()) symbol->set_name(*name); in RUNTIME_FUNCTION()
33 return *symbol; in RUNTIME_FUNCTION()
40 CONVERT_ARG_CHECKED(Symbol, symbol, 0); in RUNTIME_FUNCTION()
41 return symbol->name(); in RUNTIME_FUNCTION()
48 CONVERT_ARG_HANDLE_CHECKED(Symbol, symbol, 0); in RUNTIME_FUNCTION()
51 if (symbol->name()->IsString()) { in RUNTIME_FUNCTION()
[all …]
/external/libpng/scripts/
Dchecksym.awk19 symbol[1] = "" # defined symbols from png.h
93 if (symbol[o] == "" || symbol[o] == $1) {
94 symbol[o] = $1
97 print "png.h: duplicated symbol", o ": '" symbol[o] "' != '" $1 "'"
127 if (symbol[o] == "" && removed[o] == "") {
150 if (symbol[o] != "" && removed[o] != "") {
151 … print "png.h: symbol", o, "both exported as '" symbol[o] "' and removed as '" removed[o] "'"
153 } else if (symbol[o] != official[o]) {
156 if (symbol[o] == "")
159 print "png.h: exported symbol", o, "'" symbol[o] "' not present in", master
[all …]
/external/valgrind/gdbserver_tests/
Dmcvabits.stderrB.exp4 Address 0x........ is 0 bytes inside data symbol "undefined"
6 Address 0x........ is 0 bytes inside data symbol "undefined"
13 Address 0x........ is 0 bytes inside data symbol "undefined"
16 Address 0x........ is 0 bytes inside data symbol "undefined"
19 Address 0x........ is 0 bytes inside data symbol "undefined"
22 Address 0x........ is 0 bytes inside data symbol "undefined"
25 Address 0x........ is 0 bytes inside data symbol "undefined"
28 Address 0x........ is 0 bytes inside data symbol "undefined"
31 Address 0x........ is 0 bytes inside data symbol "undefined"
34 Address 0x........ is 0 bytes inside data symbol "undefined"
[all …]
/external/icu/icu4c/source/i18n/unicode/
Ddcfmtsym.h258 inline UnicodeString getSymbol(ENumberFormatSymbol symbol) const;
272 …void setSymbol(ENumberFormatSymbol symbol, const UnicodeString &value, const UBool propogateDigits…
386 inline const UnicodeString &getConstSymbol(ENumberFormatSymbol symbol) const;
435 DecimalFormatSymbols::getSymbol(ENumberFormatSymbol symbol) const { in getSymbol() argument
437 if(symbol < kFormatSymbolCount) { in getSymbol()
438 strPtr = &fSymbols[symbol]; in getSymbol()
448 DecimalFormatSymbols::getConstSymbol(ENumberFormatSymbol symbol) const { in getConstSymbol() argument
450 if(symbol < kFormatSymbolCount) { in getConstSymbol()
451 strPtr = &fSymbols[symbol]; in getConstSymbol()
464 DecimalFormatSymbols::setSymbol(ENumberFormatSymbol symbol, const UnicodeString &value, const UBool…
[all …]
/external/webp/src/utils/
Dhuffman.c84 int symbol; // symbol index in original or sorted table in VP8LBuildHuffmanTable() local
96 for (symbol = 0; symbol < code_lengths_size; ++symbol) { in VP8LBuildHuffmanTable()
97 if (code_lengths[symbol] > MAX_ALLOWED_CODE_LENGTH) { in VP8LBuildHuffmanTable()
100 ++count[code_lengths[symbol]]; in VP8LBuildHuffmanTable()
123 for (symbol = 0; symbol < code_lengths_size; ++symbol) { in VP8LBuildHuffmanTable()
124 const int symbol_code_length = code_lengths[symbol]; in VP8LBuildHuffmanTable()
125 if (code_lengths[symbol] > 0) { in VP8LBuildHuffmanTable()
126 sorted[offset[symbol_code_length]++] = symbol; in VP8LBuildHuffmanTable()
149 symbol = 0; in VP8LBuildHuffmanTable()
162 code.value = (uint16_t)sorted[symbol++]; in VP8LBuildHuffmanTable()
[all …]

12345678910>>...40