/external/swiftshader/src/OpenGL/compiler/ |
ValidateLimitations.cpp | 21 bool IsLoopIndex(const TIntermSymbol* symbol, const TLoopStack& stack) { 23 if (i->index.id == symbol->getId()) 29 void MarkLoopForUnroll(const TIntermSymbol* symbol, TLoopStack& stack) { 31 if (i->index.id == symbol->getId()) { 57 virtual void visitSymbol(TIntermSymbol* symbol) { 61 mValid = (symbol->getQualifier() == EvqConstExpr) || 62 IsLoopIndex(symbol, mLoopStack); 84 virtual void visitSymbol(TIntermSymbol* symbol) { 85 if (IsLoopIndex(symbol, mLoopStack)) { 86 switch (symbol->getBasicType()) 258 TIntermSymbol* symbol = declInit->getLeft()->getAsSymbolNode(); local 300 TIntermSymbol* symbol = binOp->getLeft()->getAsSymbolNode(); local 358 TIntermSymbol* symbol = nullptr; local 421 TIntermSymbol* symbol = params[i]->getAsSymbolNode(); local 432 TSymbol* symbol = symbolTable.find(node->getName(), GetGlobalParseContext()->getShaderVersion()); local 456 const TIntermSymbol* symbol = operand->getAsSymbolNode(); local [all...] |
/external/toybox/scripts/ |
config2help.c | 27 struct symbol { struct 28 struct symbol *next; 146 struct symbol *new = 0; 163 new = xzalloc(sizeof(struct symbol)); 231 struct symbol *try; 250 struct symbol *throw = 0, *catch;
|
/external/toybox/toys/pending/ |
compress.c | 253 unsigned short symbol[288]; member in struct:huff 259 // of the code to reach them, then by symbol number). This means that given 260 // the bit length of each symbol, we can construct a unique tree. 270 // Sort symbols by bit length. (They'll remain sorted by symbol within that.) 274 for (i = 0; i<len; i++) if (bitlen[i]) huff->symbol[offset[bitlen[i]]++] = i; 277 // Fetch and decode next huffman coded symbol from bitbuf. 291 if ((length - huff->length) & 16) error_exit("bad symbol"); 294 return huff->symbol[start + offset];
|
/external/vixl/examples/aarch32/ |
disasm-a32.cc | 50 class Symbol { 58 Symbol(const char* name, 68 Symbol(const Symbol& ref) 83 class SymbolTable : public std::map<Elf32_Addr, Symbol> { 85 void insert(const Symbol& sym) { 87 std::map<Elf32_Addr, Symbol>::insert( 158 Symbol(symname, sym.st_value, 0, sym.st_size, sym.st_shndx)); 176 symbols_->insert(Symbol(symname, 183 Symbol(symname 281 const Symbol& symbol = sres->second; local [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
ShellWayland.cpp | 186 void *handle, *symbol; local 197 symbol = dlsym(handle, "vkGetInstanceProcAddr"); 199 if (!handle || !symbol) { 211 return reinterpret_cast<PFN_vkGetInstanceProcAddr>(symbol);
|
ShellXcb.cpp | 157 void *handle, *symbol; local 168 symbol = dlsym(handle, "vkGetInstanceProcAddr"); 170 if (!handle || !symbol) { 182 return reinterpret_cast<PFN_vkGetInstanceProcAddr>(symbol);
|
/external/webp/src/utils/ |
huffman_encode_utils.c | 22 // Util function to optimize the symbol map for RLE coding 50 uint32_t symbol = counts[0]; local 53 if (i == length || counts[i] != symbol) { 54 if ((symbol == 0 && stride >= 5) || 55 (symbol != 0 && stride >= 7)) { 63 symbol = counts[i]; 150 // bit_depths[]: how many bits are used for the symbol. 375 // 0 bit-depth means that the symbol does not exist. 388 depth_count[0] = 0; // ignore unused symbol
|
/external/zlib/src/contrib/blast/ |
blast.c | 95 * symbol[] are the symbol values in canonical order, where the number of 101 short *symbol; /* canonically ordered symbols */ member in struct:huffman 105 * Decode a code from the stream s using huffman table h. Return the symbol or 131 int index; /* index of first code of length len in symbol table */ 146 if (code < first + count) { /* if length len, return symbol */ 149 return h->symbol[index + (code - first)]; 183 * enough bits will resolve to a symbol. If the return value is positive, then 189 int symbol; /* current symbol when stepping through length[] * local 282 int symbol; \/* decoded symbol, extra bits for distance *\/ local [all...] |
/external/zlib/src/contrib/puff/ |
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 in struct:huffman 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 */ 247 if (code - count < first) /* if length len, return symbol */ 248 return h->symbol[index + (code - first)]; 269 int index; /* index of first code of length len in symbol table */ 284 if (code - count < first) { /* if length len, return symbol */ 342 int symbol; \/* current symbol when stepping through length[] *\/ local 440 int symbol; \/* decoded symbol *\/ local 545 int symbol; local 704 int symbol; \/* decoded value *\/ local [all...] |
/frameworks/base/tools/aapt2/java/ |
JavaClassGenerator.cpp | 58 static bool IsValidSymbol(const StringPiece& symbol) { 59 return sJavaIdentifiers.find(symbol) == sJavaIdentifiers.end(); 64 static std::string TransformToFieldName(const StringPiece& symbol) { 65 std::string output = symbol.to_string(); 175 for (const Attribute::Symbol& symbol : attr->symbols) { 177 line << "<tr><td>" << symbol.symbol.name.value().entry << "</td>" 178 << "<td>" << std::hex << symbol.value << std::dec << "</td>" 179 << "<td>" << util::TrimWhitespace(symbol.symbol.GetComment() 213 Maybe<SymbolTable::Symbol> symbol; member in struct:aapt::StyleableAttr 259 const SymbolTable::Symbol* symbol = context_->GetExternalSymbols()->FindByReference(attr); local [all...] |
/frameworks/base/tools/aapt2/proto/ |
TableProtoDeserializer.cpp | 90 // Deserialize the symbol status (public/private with source and 108 // This is a public symbol, we must encode the ID now if there is one. 244 Attribute::Symbol symbol; local 245 DeserializeItemCommon(pb_symbol, &symbol.symbol); 246 if (!DeserializeReferenceFromPb(pb_symbol.name(), &symbol.symbol)) { 249 symbol.value = pb_symbol.value(); 250 attr->symbols.push_back(std::move(symbol)); [all...] |
/frameworks/base/tools/aapt2/unflatten/ |
BinaryResourceParser.cpp | 399 Symbol symbol; local 400 symbol.state = SymbolState::kPublic; 401 symbol.source = source_.WithLine(0); 402 if (!table_->SetSymbolStateAllowMangled(name, res_id, symbol, context_->GetDiagnostics())) { 537 Attribute::Symbol symbol; local 538 symbol.value = util::DeviceToHost32(map_entry.value.data); 539 symbol.symbol = Reference(util::DeviceToHost32(map_entry.name.ident)) [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
AArch64LDBackend.cpp | 127 // Define the symbol _GLOBAL_OFFSET_TABLE_ if there is a symbol with the 161 // define symbol _GLOBAL_OFFSET_TABLE_ when .got create 332 // A stub symbol should be local 390 // calculate the possible symbol value 392 LDSymbol* symbol = relocation->symInfo()->outSymbol(); local 393 if (symbol->hasFragRef()) { 394 uint64_t value = symbol->fragRef()->getOutputOffset(); 396 symbol->fragRef()->frag()->getParent()->getSection().addr(); 407 sym_value, // symbol valu [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
ExprModel.java | 180 public SymbolExpr symbol(String text, Class type) { method in class:ExprModel 260 return register(new TernaryExpr(left, right, symbol("false", boolean.class))); 264 return register(new TernaryExpr(left, symbol("true", boolean.class), right));
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/ |
extra_data_handler.cpp | 84 OMX_U32 symbol, bit; local 90 symbol = ((1 << lead_zeros) - 1) + d_u(lead_zeros); 92 DEBUG_PRINT_LOW("\nIn %s() symbol : %d", __func__,symbol); 93 return symbol; 275 DEBUG_PRINT_LOW("\nIn %s() symbol : %u", __func__,buf_hdr->nFlags); 321 OMX_U32 extra_data_handler::e_u(OMX_U32 symbol, OMX_U32 num_bits) 325 DEBUG_PRINT_LOW("\n%s bin : %x/%d", __func__, symbol, num_bits); 329 rbsp_buf[byte_ptr] |= (symbol >> shift); 330 symbol = (symbol << (32 - shift)) >> (32 - shift) [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/ |
extra_data_handler.cpp | 89 OMX_U32 symbol, bit; local 96 symbol = ((1 << lead_zeros) - 1) + d_u(lead_zeros); 98 DEBUG_PRINT_LOW("In %s() symbol : %u", __func__, (unsigned int)symbol); 99 return symbol; 385 OMX_U32 extra_data_handler::e_u(OMX_U32 symbol, OMX_U32 num_bits) 389 DEBUG_PRINT_LOW("%s bin : %x/%u", __func__, (unsigned)symbol, (unsigned int)num_bits); 393 rbsp_buf[byte_ptr] |= (symbol >> shift); 394 symbol = (symbol << (32 - shift)) >> (32 - shift) [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/ |
extra_data_handler.cpp | 89 OMX_U32 symbol, bit; local 96 symbol = ((1 << lead_zeros) - 1) + d_u(lead_zeros); 98 DEBUG_PRINT_LOW("In %s() symbol : %u", __func__, (unsigned int)symbol); 99 return symbol; 385 OMX_U32 extra_data_handler::e_u(OMX_U32 symbol, OMX_U32 num_bits) 389 DEBUG_PRINT_LOW("%s bin : %x/%u", __func__, (unsigned)symbol, (unsigned int)num_bits); 393 rbsp_buf[byte_ptr] |= (symbol >> shift); 394 symbol = (symbol << (32 - shift)) >> (32 - shift) [all...] |
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/ |
extra_data_handler.cpp | 93 OMX_U32 symbol, bit; local 100 symbol = ((1 << lead_zeros) - 1) + d_u(lead_zeros); 102 DEBUG_PRINT_LOW("In %s() symbol : %u", __func__, (unsigned int)symbol); 103 return symbol; 389 OMX_U32 extra_data_handler::e_u(OMX_U32 symbol, OMX_U32 num_bits) 393 DEBUG_PRINT_LOW("%s bin : %x/%u", __func__, (unsigned)symbol, (unsigned int)num_bits); 397 rbsp_buf[byte_ptr] |= (symbol >> shift); 398 symbol = (symbol << (32 - shift)) >> (32 - shift) [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
GenericSignatureParser.java | 86 char symbol; // 0: eof; else valid term symbol or first char of identifier. field in class:GenericSignatureParser 237 while (symbol > 0) { 249 if (symbol == '<') { 252 while ((symbol != '>') && (symbol > 0)) { 270 if (symbol == 'L' || symbol == '[' || symbol == 'T') { 274 while (symbol == ':') [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/Carbon/ |
Fonts.py | 58 symbol = kFontIDSymbol variable
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
Initialize.cpp | 46 // TBuiltIns::identifyBuiltIns(...,symbolTable) context-independent programmatic additions/mappings to the symbol table, 47 // including identifying what extensions are needed if a version does not allow a symbol 48 // TBuiltIns::identifyBuiltIns(...,symbolTable, resources) context-dependent programmatic additions/mappings to the symbol table, 49 // including identifying what extensions are needed if a version does not allow a symbol 3481 TSymbol* symbol = symbolTable.find(name); local 3501 TSymbol* symbol = symbolTable.find(name); local 3518 TSymbol* symbol = symbolTable.find(blockName); local [all...] |
Intermediate.cpp | 1135 TSymbol* symbol = symbolTable.find(name); local [all...] |
linkValidate.cpp | 225 TIntermSymbol* symbol = linkerObjects[linkObj]->getAsSymbolNode(); local 227 assert(symbol && unitSymbol); 228 if (symbol->getName() == unitSymbol->getName()) { 234 if (symbol->getConstArray().empty() && ! unitSymbol->getConstArray().empty()) 235 symbol->setConstArray(unitSymbol->getConstArray()); 238 if (! symbol->getQualifier().hasBinding() && unitSymbol->getQualifier().hasBinding()) 239 symbol->getQualifier().layoutBinding = unitSymbol->getQualifier().layoutBinding; 242 mergeImplicitArraySizes(symbol->getWritableType(), unitSymbol->getType()); 245 mergeErrorCheck(infoSink, *symbol, *unitSymbol, false); 278 void TIntermediate::mergeErrorCheck(TInfoSink& infoSink, const TIntermSymbol& symbol, const TIntermSymbol& unitSymbol, bool crossStage [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/Carbon/ |
Fonts.py | 58 symbol = kFontIDSymbol variable
|
/system/core/libbacktrace/ |
backtrace_offline_test.cpp | 188 for (const auto& symbol : function_symbols) { 191 symbol.start, symbol.end, symbol.name.c_str()); 201 for (auto& symbol : symbols) { 202 if (addr >= symbol.start && addr < symbol.end) { 203 return symbol.name; 272 FunctionSymbol& symbol = testdata->symbols.back(); local 276 &symbol.start, &symbol.end, &pos) [all...] |