/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 | 149 int cil_resolve_classperms(struct cil_tree_node *current, struct cil_classperms *cp, void *extra_ar… in cil_resolve_classperms() argument 156 rc = cil_resolve_name(current, cp->class_str, CIL_SYM_CLASSES, extra_args, &datum); in cil_resolve_classperms() 180 int cil_resolve_classperms_set(struct cil_tree_node *current, struct cil_classperms_set *cp_set, vo… in cil_resolve_classperms_set() argument 185 rc = cil_resolve_name(current, cp_set->set_str, CIL_SYM_CLASSPERMSETS, extra_args, &datum); in cil_resolve_classperms_set() 193 rc = cil_resolve_classperms_list(current, cp_set->set->classperms, extra_args); in cil_resolve_classperms_set() 205 int cil_resolve_classperms_list(struct cil_tree_node *current, struct cil_list *cp_list, void *extr… in cil_resolve_classperms_list() argument 212 rc = cil_resolve_classperms(current, curr->data, extra_args); in cil_resolve_classperms_list() 217 rc = cil_resolve_classperms_set(current, curr->data, extra_args); in cil_resolve_classperms_list() 230 int cil_resolve_classpermissionset(struct cil_tree_node *current, struct cil_classpermissionset *cp… in cil_resolve_classpermissionset() argument 238 rc = cil_resolve_name(current, cps->set_str, CIL_SYM_CLASSPERMSETS, args, &datum); in cil_resolve_classpermissionset() [all …]
|
D | cil_verify.c | 147 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_… in cil_verify_expr_syntax() argument 170 cil_log(CIL_ERR,"Invalid operator (%s) for set expression\n", (char*)current->data); in cil_verify_expr_syntax() 176 …cil_log(CIL_ERR,"Invalid operator (%s) for boolean or tunable expression\n", (char*)current->data); in cil_verify_expr_syntax() 184 …(CIL_ERR,"Operator (%s) only valid for catset and permissionx expression\n", (char*)current->data); in cil_verify_expr_syntax() 196 cil_log(CIL_ERR,"Unexpected value (%s) for expression operator\n", (char*)current->data); in cil_verify_expr_syntax() 200 rc = __cil_verify_syntax(current, syntax, syntax_len); in cil_verify_expr_syntax() 269 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op) in cil_verify_constraint_expr_syntax() argument 302 cil_log(CIL_ERR, "Invalid operator (%s) for constraint expression\n", (char*)current->data); in cil_verify_constraint_expr_syntax() 306 rc = __cil_verify_syntax(current, syntax, syntax_len); in cil_verify_constraint_expr_syntax() 380 …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 | 313 for line in objfile: 314 if (line.startswith('enum InstanceType {')): 318 if (in_insttype and line.startswith('};')): 322 line = re.sub('//.*', '', line.strip()); 325 typestr += line; 329 line); 499 current = ''; 502 for line in inlfile: 505 for ii in range(0, len(line)): 506 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/autotest/client/site_tests/security_Firewall/ |
D | security_Firewall.py | 22 return set([line.strip() for line in rules.splitlines()]) 32 return set([line.strip() for line in f.readlines()]) 74 current = self.get_firewall_settings(executable) 77 self.dump_rules(current, executable) 79 missing_rules = baseline - current 80 extra_rules = current - baseline
|
/external/jsoncpp/src/lib_json/ |
D | json_reader.cpp | 519 Location current = token.start_; in decodeNumber() local 520 bool isNegative = *current == '-'; in decodeNumber() 522 ++current; in decodeNumber() 528 while (current < token.end_) { in decodeNumber() 529 Char c = *current++; in decodeNumber() 540 if (value > threshold || current != token.end_ || in decodeNumber() 614 Location current = token.start_ + 1; // skip '"' in decodeString() local 616 while (current != end) { in decodeString() 617 Char c = *current++; in decodeString() 621 if (current == end) in decodeString() [all …]
|
/external/autotest/client/cros/faft/utils/ |
D | cgpt_handler.py | 62 for line in [x.strip() for x in device_dump]: 63 if 'Label:' in line: 66 _, _, partition, _, label = line.split() 67 label = line.split('Label:')[1].strip('" ') 70 if ':' in line: 71 name, value = line.strip().split(':') 121 current = self.get_partition(device, partition_name) 125 if value == current[prop]: 136 current['partition'], ' '.join(options), device)
|
/external/minijail/ |
D | syscall_filter.c | 282 char *line = strndup(policy_line, MAX_POLICY_LINE_LENGTH); in compile_section() local 283 if (!line) in compile_section() 301 if (strncmp(line, "return", strlen("return")) == 0) { in compile_section() 302 if (compile_errno(head, line) < 0) in compile_section() 304 free(line); in compile_section() 310 char *arg_filter = strtok_r(line, ";", &line_ptr); in compile_section() 366 free(line); in compile_section() 373 char line[MAX_LINE_LENGTH]; in compile_filter() local 407 while (fgets(line, sizeof(line), policy_file)) { in compile_filter() 409 char *policy_line = line; in compile_filter() [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/llvm/utils/vim/indent/ |
D | llvm.vim | 6 " non-commented line 7 " - On '}' align the same as the line containing the matching '{' 8 " - If previous line ends with ':' increase indentation 9 " - If the current line ends with ':' indent at the same level as the 12 " - Continue comments on next line 13 " - If there is an opening+unclosed parenthesis on previous line indent to that 34 " On '}' align the same as the line containing the matching '{' 39 let opening_lnum = line('.') 45 " Indent labels the same as the current opening block 53 " Find a non-blank not-completely commented line above the current line.
|
/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 | 270 static DebugCommand* Parse(char* line); 578 for (const Instruction* current = from; in PrintInstructions() local 579 current < to; in PrintInstructions() 580 current = current->NextInstruction()) { in PrintInstructions() 581 printer_->Decode(current); in PrintInstructions() 601 for (const uint8_t* current = from; current < to; current += size) { in PrintMemory() local 602 if (((current - from) % 8) == 0) { in PrintMemory() 603 printf("\n%p: ", current); in PrintMemory() 606 uint64_t data = Memory::Read<uint64_t>(current); in PrintMemory() 720 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/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
D | inspector_console_unittest.py | 17 current = self._tab.EvaluateJavaScript('window.__logCount') 18 return current > initial 26 for line in lines: 29 self.assertTrue(re.match(expected_line, line))
|
/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/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/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/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();
|