/external/selinux/libsepol/cil/src/ |
D | cil_parser.c | 51 struct cil_tree_node *current = NULL; in cil_parser() local 59 current = tree->root; in cil_parser() 67 node->parent = current; in cil_parser() 69 node->line = tok.line; in cil_parser() 71 if (current->cl_head == NULL) { in cil_parser() 72 current->cl_head = node; in cil_parser() 74 current->cl_tail->next = node; in cil_parser() 76 current->cl_tail = node; in cil_parser() 77 current = node; in cil_parser() 82 cil_log(CIL_ERR, "Close parenthesis without matching open at line %d of %s\n", tok.line, path); in cil_parser() [all …]
|
D | cil_resolve_ast.c | 147 int cil_resolve_classperms(struct cil_tree_node *current, struct cil_classperms *cp, void *extra_ar… in cil_resolve_classperms() argument 154 rc = cil_resolve_name(current, cp->class_str, CIL_SYM_CLASSES, extra_args, &datum); in cil_resolve_classperms() 178 int cil_resolve_classperms_set(struct cil_tree_node *current, struct cil_classperms_set *cp_set, vo… in cil_resolve_classperms_set() argument 183 rc = cil_resolve_name(current, cp_set->set_str, CIL_SYM_CLASSPERMSETS, extra_args, &datum); in cil_resolve_classperms_set() 191 rc = cil_resolve_classperms_list(current, cp_set->set->classperms, extra_args); in cil_resolve_classperms_set() 203 int cil_resolve_classperms_list(struct cil_tree_node *current, struct cil_list *cp_list, void *extr… in cil_resolve_classperms_list() argument 210 rc = cil_resolve_classperms(current, curr->data, extra_args); in cil_resolve_classperms_list() 215 rc = cil_resolve_classperms_set(current, curr->data, extra_args); in cil_resolve_classperms_list() 228 int cil_resolve_classpermissionset(struct cil_tree_node *current, struct cil_classpermissionset *cp… in cil_resolve_classpermissionset() argument 236 rc = cil_resolve_name(current, cps->set_str, CIL_SYM_CLASSPERMSETS, args, &datum); in cil_resolve_classpermissionset() [all …]
|
D | cil_verify.c | 146 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_… in cil_verify_expr_syntax() argument 169 cil_log(CIL_ERR,"Invalid operator (%s) for set expression\n", (char*)current->data); in cil_verify_expr_syntax() 175 …cil_log(CIL_ERR,"Invalid operator (%s) for boolean or tunable expression\n", (char*)current->data); in cil_verify_expr_syntax() 183 cil_log(CIL_ERR,"Operator (%s) only valid for catset expression\n", (char*)current->data); in cil_verify_expr_syntax() 195 cil_log(CIL_ERR,"Unexpected value (%s) for expression operator\n", (char*)current->data); in cil_verify_expr_syntax() 199 rc = __cil_verify_syntax(current, syntax, syntax_len); in cil_verify_expr_syntax() 268 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op) in cil_verify_constraint_expr_syntax() argument 301 cil_log(CIL_ERR, "Invalid operator (%s) for constraint expression\n", (char*)current->data); in cil_verify_constraint_expr_syntax() 305 rc = __cil_verify_syntax(current, syntax, syntax_len); in cil_verify_constraint_expr_syntax() 379 …R, "SID %s not in sidorder statement at line %d of %s\n", sid->datum.name, node->line, node->path); in __cil_verify_ordered_node_helper() [all …]
|
/external/v8/tools/ |
D | gen-postmortem-metadata.py | 244 for line in objfile: 245 if (line.startswith('enum InstanceType {')): 249 if (in_insttype and line.startswith('};')): 253 line = re.sub('//.*', '', line.rstrip().lstrip()); 256 typestr += line; 260 line); 428 current = ''; 431 for line in inlfile: 434 for ii in range(0, len(line)): 435 if (line[ii] == '('): [all …]
|
/external/google-breakpad/src/common/ |
D | dwarf_cu_to_module.cc | 662 void DwarfCUToModule::WarningReporter::UncoveredLine(const Module::Line &line) { in UncoveredLine() argument 667 (line.size == 0 ? " (zero-length)" : ""), in UncoveredLine() 668 line.file->name.c_str(), line.number, line.address); in UncoveredLine() 874 Module::Address current; in AssignLinesToFunctions() local 879 const Module::Line *line; in AssignLinesToFunctions() local 885 line = &*line_it; in AssignLinesToFunctions() 886 current = std::min(func->address, line->address); in AssignLinesToFunctions() 889 line = &*line_it; in AssignLinesToFunctions() 890 current = line->address; in AssignLinesToFunctions() 893 line = NULL; in AssignLinesToFunctions() [all …]
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer_unittest.cc | 164 void AddError(int line, int column, const string& message) { in AddError() argument 166 line, column, message); in AddError() 257 EXPECT_EQ(Tokenizer::TYPE_START, tokenizer.current().type); in TEST_2D() 258 EXPECT_EQ("", tokenizer.current().text); in TEST_2D() 259 EXPECT_EQ(0, tokenizer.current().line); in TEST_2D() 260 EXPECT_EQ(0, tokenizer.current().column); in TEST_2D() 261 EXPECT_EQ(0, tokenizer.current().end_column); in TEST_2D() 267 EXPECT_EQ(kSimpleTokenCases_case.type, tokenizer.current().type); in TEST_2D() 269 EXPECT_EQ(kSimpleTokenCases_case.input, tokenizer.current().text); in TEST_2D() 271 EXPECT_EQ(0, tokenizer.current().line); in TEST_2D() [all …]
|
/external/cmockery/cmockery_0_1_2/src/ |
D | cmockery.c | 249 location->line = 0; in initialize_source_location() 256 return location->file && location->line; in source_location_is_set() 263 const int line) { in set_source_location() argument 266 location->line = line; in set_source_location() 396 ListNode *current; in list_find() local 398 for (current = head->next; current != head; current = current->next) { in list_find() 399 if (equal_func(current->value, value)) { in list_find() 400 *output = current; in list_find() 543 ListNode *current; in remove_always_return_values() local 546 current = map_head->next; in remove_always_return_values() [all …]
|
/external/jsoncpp/src/lib_json/ |
D | json_reader.cpp | 586 Location current = token.start_; in decodeNumber() local 587 bool isNegative = *current == '-'; in decodeNumber() 589 ++current; in decodeNumber() 594 while ( current < token.end_ ) in decodeNumber() 596 Char c = *current++; in decodeNumber() 607 current != token.end_ || in decodeNumber() 680 Location current = token.start_ + 1; // skip '"' in decodeString() local 682 while ( current != end ) in decodeString() 684 Char c = *current++; in decodeString() 689 if ( current == end ) in decodeString() [all …]
|
/external/v8/src/ |
D | messages.js | 320 return location.line + 1; 412 var line = this.lineFromPosition(position); 413 if (line == -1) return null; 417 var start = line == 0 ? 0 : line_ends[line - 1] + 1; 418 var end = line_ends[line]; 426 line += this.line_offset; 427 if (line == this.line_offset) { 432 return new SourceLocation(this, position, line, column, start, end); 454 var line = 0; 456 line = opt_line - this.line_offset; [all …]
|
/external/lldb/utils/vim-lldb/python-vim-lldb/ |
D | vim_ui.py | 100 (tid, fname, line, col) = loc 105 if buf != vim.current.buffer: 108 … elif is_selected and vim.current.buffer.name not in fname and os.path.exists(fname) and goto_file: 112 buf = vim.current.buffer 119 self.pcSigns.append(PCSign(buf, line, is_selected)) 123 curname = vim.current.buffer.name 125 move_cursor(line, 0) 127 … print "FIXME: not sure where to move cursor because %s != %s " % (vim.current.buffer.name, fname) 161 for (is_resolved, file, line) in GetBreakpointLocations(bp): 164 needed_bps[(buf, line, is_resolved)] = bp [all …]
|
/external/bison/lib/ |
D | msvc-inval.c | 35 unsigned int line, in gl_msvc_invalid_parameter_handler() argument 52 unsigned int line, in gl_msvc_invalid_parameter_handler() argument 101 unsigned int line, in gl_msvc_invalid_parameter_handler() argument 104 struct gl_msvc_inval_per_thread *current = gl_msvc_inval_current (); in gl_msvc_invalid_parameter_handler() local 105 if (current->restart_valid) in gl_msvc_invalid_parameter_handler() 106 longjmp (current->restart, 1); in gl_msvc_invalid_parameter_handler()
|
/external/libxml2/ |
D | testlimits.c | 90 static const char *current; variable 133 current = hugeTests[currentTest].start; in hugeOpen() 135 return((void *) current); in hugeOpen() 190 memcpy(buffer, current, len); in hugeRead() 195 memcpy(buffer, current, len); in hugeRead() 197 current += len; in hugeRead() 203 memcpy(buffer, current, len); in hugeRead() 207 memcpy(buffer, current, len); in hugeRead() 209 current += len; in hugeRead() 217 current = hugeTests[currentTest].end; in hugeRead() [all …]
|
D | testrecurse.c | 173 static const char *current; variable 205 current = start; in hugeOpen() 206 return((void *) current); in hugeOpen() 248 memcpy(buffer, current, len); in hugeRead() 253 current = finish; in hugeRead() 258 current = segment; in hugeRead() 261 memcpy(buffer, current, len); in hugeRead() 263 current += len; in hugeRead() 394 int line = 0; in testStructuredErrorHandler() local 410 line = err->line; in testStructuredErrorHandler() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/ |
D | PowellOptimizer.java | 53 private final LineSearch line; field in PowellOptimizer 84 line = new LineSearch(lsRelativeTolerance, in PowellOptimizer() 118 line.search(x, d); in doOptimize() 119 fVal = line.getValueAtOptimum(); in doOptimize() 120 alphaMin = line.getOptimum(); in doOptimize() 131 final RealPointValuePair current = new RealPointValuePair(x, fVal); in doOptimize() local 132 if (getConvergenceChecker().converged(getIterations(), previous, current)) { in doOptimize() 134 return (fVal < fX) ? current : previous; in doOptimize() 136 return (fVal > fX) ? current : previous; in doOptimize() 158 line.search(x, d); in doOptimize() [all …]
|
/external/selinux/libsemanage/src/ |
D | utilities.c | 290 semanage_list_t *current = &head; in semanage_slurp_file_filter() local 291 char *line = NULL; in semanage_slurp_file_filter() local 295 while (getline(&line, &buff_len, file) >= 0) { in semanage_slurp_file_filter() 296 if (pred(line)) { in semanage_slurp_file_filter() 297 semanage_rtrim(line, '\n'); in semanage_slurp_file_filter() 298 current = list_addafter_controlmem(current, line); in semanage_slurp_file_filter() 299 if (!current) in semanage_slurp_file_filter() 301 line = NULL; in semanage_slurp_file_filter() 305 free(line); in semanage_slurp_file_filter()
|
/external/vixl/src/vixl/a64/ |
D | debugger-a64.cc | 256 static DebugCommand* Parse(char* line); 564 for (const Instruction* current = from; in PrintInstructions() local 565 current < to; in PrintInstructions() 566 current = current->NextInstruction()) { in PrintInstructions() 567 printer_->Decode(current); in PrintInstructions() 587 for (const uint8_t* current = from; current < to; current += size) { in PrintMemory() local 588 if (((current - from) % 8) == 0) { in PrintMemory() 589 printf("\n%p: ", current); in PrintMemory() 592 uint64_t data = Memory::Read<uint64_t>(current); in PrintMemory() 707 char* line = ReadCommandLine("vixl> ", buffer, kMaxDebugShellLine); in RunDebuggerShell() local [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 111 return input_->current().text == text; in LookingAt() 115 return input_->current().type == token_type; in LookingAtType() 151 *output = input_->current().text; in ConsumeIdentifier() 163 if (!io::Tokenizer::ParseInteger(input_->current().text, in ConsumeInteger() 194 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, in ConsumeInteger64() 210 *output = io::Tokenizer::ParseFloat(input_->current().text); in ConsumeNumber() 216 if (!io::Tokenizer::ParseInteger(input_->current().text, in ConsumeNumber() 240 io::Tokenizer::ParseString(input_->current().text, output); in ConsumeString() 244 io::Tokenizer::ParseStringAppend(input_->current().text, output); in ConsumeString() 285 void Parser::AddError(int line, int column, const string& error) { in AddError() argument [all …]
|
/external/v8/tools/sodium/ |
D | sodium.js | 109 var line = text.substring(begin, end); 111 if (separatorFilter.exec(line) != null) { 121 if (codeEndFinder.exec(line) != null) { 132 matches = instructionBeginFinder.exec(line); 138 matches = instructionFinder.exec(line); 145 var matches = kindFinder.exec(line); 153 matches = nameFinder.exec(line); 159 } else if (rawSourceFilter.exec(line) != null) { 163 var matches = firstPositionFinder.exec(line); 217 var line = findSourceLine(position); [all …]
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 270 void ReportError(int line, int col, const string& message) { in ReportError() argument 273 if (line >= 0) { in ReportError() 276 << ": " << (line + 1) << ":" in ReportError() 284 error_collector_->AddError(line, col, message); in ReportError() 288 void ReportWarning(int line, int col, const string& message) { in ReportWarning() argument 290 if (line >= 0) { in ReportWarning() 293 << ": " << (line + 1) << ":" in ReportWarning() 301 error_collector_->AddWarning(line, col, message); in ReportWarning() 311 ReportError(tokenizer_.current().line, tokenizer_.current().column, in ReportError() 318 ReportWarning(tokenizer_.current().line, tokenizer_.current().column, in ReportWarning() [all …]
|
/external/clang/include/clang/Basic/ |
D | DiagnosticSerializationKinds.td | 32 "PCH file was compiled for the %0 '%1' but the current translation " 35 "%select{AST file|current translation unit}0 was compiled with the target " 36 "feature'%1' but the %select{current translation unit is|AST file was}0 " 41 "%0 differs in PCH file vs. current file">; 75 "%select{undef'd|defined}1 on the command line">; 78 "and the command line ('%2')">; 80 "%select{command line contains|precompiled header was built with}0 " 82 "it is not present on the command line}0">; 84 "%select{command line contains|precompiled header was built with}0 " 86 "built with it|it is not present on the command line}0">;
|
/external/ipsec-tools/src/racoon/ |
D | backupsa.c | 202 time_t created, current; in backupsa_from_file() local 205 int line; in backupsa_from_file() local 221 current = time(NULL); in backupsa_from_file() 223 for(line = 1; fgets(buf, sizeof(buf), fp) != NULL; line++) { in backupsa_from_file() 234 line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], in backupsa_from_file() 290 line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], in backupsa_from_file() 295 if (created + sa_args.l_addtime < current) { in backupsa_from_file() 298 line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA]); in backupsa_from_file() 301 sa_args.l_addtime -= current - created; in backupsa_from_file() 306 line, lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], in backupsa_from_file()
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | Parser.js | 30 var current = input.LT(1); 32 if ( current.getType() === org.antlr.runtime.Token.EOF ) { 33 old_current = current; 34 current = input.LT(-1); 36 if (!current) { 37 current = old_current; 40 t.line = current.getLine(); 41 t.charPositionInLine = current.getCharPositionInLine();
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | RecognitionException.as | 56 * knows its state (such as current input symbol and line info) that 57 * state can change before the exception is reported so current token index 59 * perhaps print an entire line of input not just a single token, for example. 70 /** The current Token when an error occurred. Since not all streams 81 /** The current char when an error occurred. For lexers. */ 84 /** Track the line at which the error occurred in case this is 86 * unexpected char doesn't carry the line info. 88 public var line:int; variable in org.antlr.runtime.RecognitionException 93 * imaginary nodes w/o line/col info. We now search backwards looking 94 * for most recent token with line/col info, but notify getErrorHeader() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | Parser.java | 68 Token current = ((TokenStream)input).LT(1); in getMissingSymbol() local 69 if ( current.getType() == Token.EOF ) { in getMissingSymbol() 70 current = ((TokenStream)input).LT(-1); in getMissingSymbol() 72 t.line = current.getLine(); in getMissingSymbol() 73 t.charPositionInLine = current.getCharPositionInLine(); in getMissingSymbol() 75 t.input = current.getInputStream(); in getMissingSymbol()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | path.c | 289 static INLINE void close_polygon(struct polygon *current, in close_polygon() argument 299 polygon_vertex_append(current, x0, y0); in close_polygon() 363 struct polygon *current = 0; in path_get_fill_polygons() local 391 current = polygon_create(32); in path_get_fill_polygons() 400 close_polygon(current, sx, sy, ox, oy, matrix); in path_get_fill_polygons() 405 if (current && polygon_vertex_count(current) > 0) { in path_get_fill_polygons() 407 close_polygon(current, sx, sy, ox, oy, matrix); in path_get_fill_polygons() 408 array_append_data(array, ¤t, 1); in path_get_fill_polygons() 409 current = polygon_create(32); in path_get_fill_polygons() 422 polygon_vertex_append(current, x0, y0); in path_get_fill_polygons() [all …]
|