Home
last modified time | relevance | path

Searched refs:writeline (Results 1 – 8 of 8) sorted by relevance

/external/libxml2/
Dbuild_glob.py24 def writeline(file, line=None): function
45 writeline(global_functions_hdr, line)
47 writeline(global_functions_hdr, " * Automatically generated by build_glob.py.")
48 writeline(global_functions_hdr, " * Do not modify the previous line.")
49 writeline(global_functions_hdr, " */")
50 writeline(global_functions_hdr)
56 writeline(global_functions_impl, line)
58 writeline(global_functions_impl, " * Automatically generated by build_glob.py.")
59 writeline(global_functions_impl, " * Do not modify the previous line.")
60 writeline(global_functions_impl, " */")
[all …]
/external/python/jinja/src/jinja2/
Dcompiler.py293 self.writeline(f"{frame.buffer} = []")
299 self.writeline("if context.eval_ctx.autoescape:")
301 self.writeline(f"return Markup(concat({frame.buffer}))")
303 self.writeline("else:")
305 self.writeline(f"return concat({frame.buffer})")
309 self.writeline(f"return Markup(concat({frame.buffer}))")
311 self.writeline(f"return concat({frame.buffer})")
324 self.writeline("yield ", node)
326 self.writeline(f"{frame.buffer}.append(", node)
344 self.writeline("pass")
[all …]
/external/libchrome/third_party/jinja2/
Dcompiler.py325 self.writeline('%s = []' % frame.buffer)
331 self.writeline('if context.eval_ctx.autoescape:')
333 self.writeline('return Markup(concat(%s))' % frame.buffer)
335 self.writeline('else:')
337 self.writeline('return concat(%s)' % frame.buffer)
341 self.writeline('return Markup(concat(%s))' % frame.buffer)
343 self.writeline('return concat(%s)' % frame.buffer)
356 self.writeline('yield ', node)
358 self.writeline('%s.append(' % frame.buffer, node)
376 self.writeline('pass')
[all …]
Dnativetypes.py67 self.writeline('if parent_template is None:')
113 self.writeline('%s.append(' % frame.buffer)
115 self.writeline('%s.extend((' % frame.buffer)
124 self.writeline('yield ' + val)
126 self.writeline(val + ',')
129 self.writeline('yield ', item)
154 self.writeline(len(body) == 1 and ')' or '))')
168 self.writeline('yield ')
192 self.writeline(')')
/external/toybox/toys/posix/
Dcomm.c28 static void writeline(const char *line, int col) in writeline() function
59 writeline(line[0], 2); in comm_main()
66 writeline(line[i], i); in comm_main()
74 writeline(line[i], i); in comm_main()
/external/python/cpython3/Tools/clinic/
Dcpp.py67 self.writeline(line)
69 def writeline(self, line): member in Monitor
186 cpp.writeline(line)
Dclinic.py603 self.cpp.writeline(line)
/external/python/cpython2/Modules/
D_csv.c133 PyObject *writeline; /* write output lines to this file */ member
1232 return PyObject_CallFunction(self->writeline, in csv_writerow()
1288 Py_XDECREF(self->writeline); in Writer_dealloc()
1298 Py_VISIT(self->writeline); in Writer_traverse()
1306 Py_CLEAR(self->writeline); in Writer_clear()
1362 self->writeline = NULL; in csv_writer()
1373 self->writeline = PyObject_GetAttrString(output_file, "write"); in csv_writer()
1374 if (self->writeline == NULL || !PyCallable_Check(self->writeline)) { in csv_writer()