Home
last modified time | relevance | path

Searched +refs:current +refs:line (Results 1 – 25 of 1096) sorted by relevance

12345678910>>...44

/external/selinux/libsepol/cil/src/
Dcil_parser.c81 static void create_node(struct cil_tree_node **node, struct cil_tree_node *current, int line, int h… in create_node() argument
84 (*node)->parent = current; in create_node()
86 (*node)->line = line; in create_node()
91 static void insert_node(struct cil_tree_node *node, struct cil_tree_node *current) in insert_node() argument
93 if (current->cl_head == NULL) { in insert_node()
94 current->cl_head = node; in insert_node()
96 current->cl_tail->next = node; in insert_node()
98 current->cl_tail = node; in insert_node()
101 static int add_hll_linemark(struct cil_tree_node **current, int *hll_lineno, int *hll_expand, struc… in add_hll_linemark() argument
117 *current = (*current)->parent; in add_hll_linemark()
[all …]
/external/linux-kselftest/tools/testing/selftests/gpio/
Dgpio-mockup-chardev.c77 char *line = NULL; in gpio_debugfs_get() local
92 while (getline(&line, &len, f) != -1) { in gpio_debugfs_get()
93 cur = strstr(line, consumer); in gpio_debugfs_get()
97 cur = strchr(line, ')'); in gpio_debugfs_get()
120 free(line); in gpio_debugfs_get()
131 struct gpiochip_info *current; in list_gpiochip() local
142 current = cinfo; in list_gpiochip()
164 *ret = ioctl(fd, GPIO_GET_CHIPINFO_IOCTL, current); in list_gpiochip()
170 if (strcmp(current->label, gpiochip_name) == 0 in list_gpiochip()
171 || check_prefix(current->label, gpiochip_name)) { in list_gpiochip()
[all …]
/external/yapf/yapf/yapflib/
Dformat_decision_state.py58 def __init__(self, line, first_indent): argument
68 self.next_token = line.first
70 self.line = line
83 new = FormatDecisionState(self.line, self.first_indent)
86 new.line = self.line
88 new.line.depth = self.line.depth
105 self.line.depth == other.line.depth and
116 self.line.depth, self.lowest_level_on_line))
132 current = self.next_token
133 previous = current.previous_token
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DICUResourceWriter.java134 ICUResourceWriter.Resource current = this; in end() local
135 while (current != null) { in end()
136 if (current.next == null) { in end()
137 return current; in end()
139 current = current.next; in end()
141 return current; in end()
360 …String line = ((name == null) ? EMPTY : name) + COLON + ALIAS + OPENBRACE + QUOTE + escapeSyntaxCh… in write() local
366 write(writer, line); in write()
368 write(writer, line + LINESEP); in write()
424 Resource current = first; in write() local
[all …]
/external/v8/tools/
Dgen-postmortem-metadata.py380 for line in objfile:
381 if (line.startswith('enum InstanceType : uint16_t {')):
385 if (in_insttype and line.startswith('};')):
389 line = re.sub('//.*', '', line.strip());
392 typestr += line;
396 line);
567 current = '';
570 for line in inlfile:
573 for ii in range(0, len(line)):
574 if (line[ii] == '('):
[all …]
Dic-processor.js83 var current = 0;
85 var line;
88 while (current < end) {
89 next = string.indexOf("\n", current);
92 line = string.substring(current, next);
93 current = next + 1;
94 this.processLogLine(line);
101 var line;
102 while (line = readline()) {
103 this.processLogLine(line);
[all …]
Dmap-processor.js53 let current = 0;
55 let line;
59 while (current < end) {
60 next = string.indexOf("\n", current);
63 line = string.substring(current, next);
64 current = next + 1;
65 this.processLogLine(line);
76 let line;
77 while (line = readline()) {
78 this.processLogLine(line);
[all …]
/external/google-breakpad/src/common/
Ddwarf_cu_to_module.cc662 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/mesa3d/src/gallium/auxiliary/hud/
Dhud_sensors_temp.c72 double current, min, max, critical; member
99 sti->current = get_value(sti->chip, sf); in get_sensor_values()
107 sti->current = get_value(sti->chip, sf) * 1000; in get_sensor_values()
114 sti->current = get_value(sti->chip, sf); in get_sensor_values()
128 sti->current = get_value(sti->chip, sf) * 1000; in get_sensor_values()
168 hud_graph_add_value(gr, sti->current); in query_sti_load()
174 hud_graph_add_value(gr, sti->current * 1000); in query_sti_load()
177 hud_graph_add_value(gr, sti->current); in query_sti_load()
180 hud_graph_add_value(gr, sti->current); in query_sti_load()
348 char line[64]; in hud_get_num_sensors() local
[all …]
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc165 void AddError(int line, int column, const string& message) { in AddError() argument
167 line, column, message); in AddError()
258 EXPECT_EQ(Tokenizer::TYPE_START, tokenizer.current().type); in TEST_2D()
259 EXPECT_EQ("", tokenizer.current().text); in TEST_2D()
260 EXPECT_EQ(0, tokenizer.current().line); in TEST_2D()
261 EXPECT_EQ(0, tokenizer.current().column); in TEST_2D()
262 EXPECT_EQ(0, tokenizer.current().end_column); in TEST_2D()
268 EXPECT_EQ(kSimpleTokenCases_case.type, tokenizer.current().type); in TEST_2D()
270 EXPECT_EQ(kSimpleTokenCases_case.input, tokenizer.current().text); in TEST_2D()
272 EXPECT_EQ(0, tokenizer.current().line); in TEST_2D()
[all …]
/external/cmockery/cmockery_0_1_2/src/
Dcmockery.c249 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/cldr/tools/java/org/unicode/cldr/draft/
DUnicodeSetBuilder.java36 String line = in.readLine();
37 if (line == null) break;
39 System.out.println("Line: " + line);
41 builder.add(line);
92 UnicodeSet current = new UnicodeSet(); field in UnicodeSetBuilder.MyObjectBuilder
114 return current; in getResult()
136 current.add(lastLiteral = UTF16.charAt(string, position)); in handle()
139 current in handle()
143 current.add(lastLiteral + 1, lastLiteral = UTF16.charAt(string, position)); in handle()
146current.add(lastLiteral = UCharacter.getCharFromExtendedName(string.toString().substring( in handle()
[all …]
/external/python/cpython2/Lib/
Dpdb.doc27 A blank line repeats the previous command literally, except for
42 Multiple commands may be entered on a single line, separated by the
47 If a file ".pdbrc" exists in your home directory or in the current
68 An arrow indicates the "current frame", which determines the
72 Move the current frame one level down in the stack trace
76 Move the current frame one level up in the stack trace
80 With a filename:line number argument, set a break there. If
81 filename is omitted, use the current file. With a function
82 name, set a break at the first executable line of that
124 Execute the current line, stop at the first possible occasion
[all …]
Drfc822.py155 line = self.fp.readline()
156 if not line:
160 if firstline and line.startswith('From '):
161 self.unixfrom = self.unixfrom + line
164 if headerseen and line[0] in ' \t':
166 lst.append(line)
167 x = (self.dict[headerseen] + "\n " + line.strip())
170 elif self.iscomment(line):
173 elif self.islast(line):
176 headerseen = self.isheader(line)
[all …]
/external/jsoncpp/src/lib_json/
Djson_reader.cpp519 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/clang/tools/scan-build-py/libscanbuild/
Dclang.py34 for line in stream:
35 last = line
48 line = lastline(child.stdout)
52 if re.search(r'clang(.*): error:', line):
53 raise Exception(line)
54 return decode(line)
56 raise Exception(line)
107 for line in stream:
108 if re.match(r'^CHECKERS:', line):
112 for line in stream:
[all …]
/external/python/cpython3/Doc/library/
Dpdb.rst17 the source line level, inspection of stack frames, source code listing, and
46 command arguments, e.g. the current global and local names are offered as
67 before the first line of the module.
89 File "<stdin>", line 1, in <module>
90 File "./mymodule.py", line 4, in test
92 File "./mymodule.py", line 3, in test2
216 Entering a blank line repeats the last command entered. Exception: if the last
231 Multiple commands may be entered on a single line, separated by ``;;``. (A
232 single ``;`` is not used as it is the separator for multiple commands in a line
241 If a file :file:`.pdbrc` exists in the user's home directory or in the current
[all …]
/external/autotest/client/cros/faft/utils/
Dcgpt_handler.py62 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/linux-kselftest/tools/testing/selftests/ftrace/test.d/
Dfunctions14 reset_tracer() { # reset the current tracer
21 while read line; do
22 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
23 file=`echo $line | cut -f1 -d:`
27 while read line; do
28 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
29 file=`echo $line | cut -f1 -d:`
34 reset_trigger() { # reset all current setting triggers
41 reset_events_filter() { # reset all current setting filters
43 while read line; do
[all …]
/external/libxml2/
Dtestlimits.c90 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 …]
/external/minijail/
Dsyscall_filter.c351 char *line = strdup(policy_line); in compile_policy_line() local
352 if (!line) in compile_policy_line()
370 if (strncmp(line, "return", strlen("return")) == 0) { in compile_policy_line()
371 if (compile_errno(state, head, line, use_ret_trap) < 0) { in compile_policy_line()
373 free(line); in compile_policy_line()
376 free(line); in compile_policy_line()
382 char *arg_filter = strtok_r(line, ";", &line_ptr); in compile_policy_line()
399 free(line); in compile_policy_line()
428 free(line); in compile_policy_line()
448 free(line); in compile_policy_line()
[all …]
/external/llvm/utils/vim/indent/
Dllvm.vim6 " 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/swiftshader/third_party/llvm-7.0/llvm/utils/vim/indent/
Dllvm.vim6 " 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/python/cpython3/Tools/scripts/
Dpindent.py120 def write(self, line): argument
122 self._write(line.expandtabs(self.tabsize))
124 self._write(line)
129 line = self.fpi.readline()
130 if line: self.lineno += 1
132 return line
143 line = self.readline()
144 while line[-2:] == '\\\n':
148 line += line2
150 return line
[all …]
/external/python/cpython2/Tools/scripts/
Dpindent.py122 def write(self, line): argument
124 self._write(line.expandtabs(self.tabsize))
126 self._write(line)
131 line = self.fpi.readline()
132 if line: self.lineno += 1
134 return line
145 line = self.readline()
146 while line[-2:] == '\\\n':
150 line += line2
152 return line
[all …]

12345678910>>...44