/third_party/python/Lib/ |
H A D | sysconfig.py | 333 for line in lines: 334 if line.startswith('#') or line.strip() == '': 336 m = re.match(_variable_rx, line) 567 line = fp.readline() 568 if not line: 570 m = define_rx.match(line) 581 m = undef_rx.match(line)
|
/third_party/openssl/crypto/ |
H A D | c64xpluscpuid.pl | 202 CLFLUSH A3,B4,A1 ; write-back and invalidate L1D line 203 CLFLUSH A5,B4,A1 ; write-back and invalidate L2 line 216 CLFLUSH A3,B4,A1 ; write-back and invalidate L1D line 217 CLFLUSH A5,B4,A1 ; write-back and invalidate L2 line 246 CLFLUSH A3,B4,A1 ; write-back and invalidate L1D line 247 CLFLUSH A5,B4,A1 ; write-back and invalidate L2 line 261 CLFLUSH A3,B4,A1 ; write-back and invalidate L1D line 262 CLFLUSH A5,B4,A1 ; write-back and invalidate L2 line
|
/third_party/skia/samplecode/ |
H A D | SampleSimpleStroker.cpp | 106 // Strokes a line segment 107 void strokeLine(const PathSegment& line, bool needsMove); 122 // Returns squared magnitude of line segments. 180 void SkPathStroker2::strokeLine(const PathSegment& line, bool needsMove) { in strokeLine() argument 181 const SkPoint tangent = line.fPoints[1] - line.fPoints[0]; in strokeLine() 185 fOuter.moveTo(line.fPoints[0] + offset); in strokeLine() 186 fInner.moveTo(line.fPoints[0] - offset); in strokeLine() 188 fOuter.lineTo(line.fPoints[1] + offset); in strokeLine() 189 fInner.lineTo(line in strokeLine() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/gendict/ |
H A D | gendict.cpp | 76 // prints out the standard usage method describing command line arguments, 153 exit(U_ILLEGAL_ARGUMENT_ERROR); // TODO: should return and print the line number in transform() 173 // should be populated from a command line argument 225 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readLine() local 226 if(line == NULL || errorCode.isFailure()) { return FALSE; } in readLine() 228 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readLine() 230 lineLength = (int32_t)(comment - line); in readLine() 232 while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1] == LINEFEED_CHARACTER)) { --lineLength; } in readLine() 234 while(lineLength > 0 && u_isspace(line[lineLengt in readLine() [all...] |
/third_party/skia/src/pathops/ |
H A D | SkDCubicLineIntersection.cpp | 13 Find the interection of a line and cubic by solving for valid t values. 15 Analogous to line-quadratic intersection, solve line-cubic intersection by 19 and the line as: 20 y = i*x + j (if the line is more horizontal) 22 x = i*y + j (if the line is more vertical) 25 line: 39 if i goes to infinity, we can rewrite the line in terms of x. Mathematica: 120 // see parallel routine in line quadratic intersections 282 /* Note that this does not look for endpoints of the line tha 420 SkDLine line = {{{ left, y }, { right, y }}}; horizontal() local 427 SkDLine line = {{{ x, top }, { x, bottom }}}; vertical() local 432 intersect(const SkDCubic& cubic, const SkDLine& line) intersect() argument 438 intersectRay(const SkDCubic& cubic, const SkDLine& line) intersectRay() argument [all...] |
H A D | SkDQuadLineIntersection.cpp | 13 Find the interection of a line and quadratic by solving for valid t values. 26 If you add for instance the line equation (y = kx + m) to that, you'll end up 32 and the line as 36 line: 56 Using the results above (when the line tends towards horizontal) 61 If g goes to infinity, we can rewrite the line in terms of x. 84 Thus, if the slope of the line tends towards vertical, we use: 141 solve by rotating line+quad so line is horizontal, then finding the roots in intersectRay() 150 A = line[ in intersectRay() 425 SkDLine line = {{{ left, y }, { right, y }}}; horizontal() local 432 SkDLine line = {{{ x, top }, { x, bottom }}}; vertical() local 437 intersect(const SkDQuad& quad, const SkDLine& line) intersect() argument 443 intersectRay(const SkDQuad& quad, const SkDLine& line) intersectRay() argument [all...] |
H A D | SkDConicLineIntersection.cpp | 349 SkDLine line = {{{ left, y }, { right, y }}}; in horizontal() local 350 LineConicIntersections c(conic, line, this); in horizontal() 356 SkDLine line = {{{ x, top }, { x, bottom }}}; in vertical() local 357 LineConicIntersections c(conic, line, this); in vertical() 361 int SkIntersections::intersect(const SkDConic& conic, const SkDLine& line) { in intersect() argument 362 LineConicIntersections c(conic, line, this); in intersect() 367 int SkIntersections::intersectRay(const SkDConic& conic, const SkDLine& line) { in intersectRay() argument 368 LineConicIntersections c(conic, line, this); in intersectRay()
|
/third_party/skia/third_party/externals/angle2/src/tests/ |
H A D | run_perf_tests.py | 99 for line in f: 100 lines.append(line.strip()) 135 for line in lines: 136 line = android_prefix.sub('', line.strip()) 137 if line == 'Tests list:': 139 elif line == 'End tests list.': 142 tests.append(line)
|
/third_party/vixl/src/aarch64/ |
H A D | debugger-aarch64.cc | 115 // Read the command line. in Debug() 117 std::string line; in Debug() local 118 std::getline(*input_stream_, line); in Debug() 121 line.erase(std::remove_if(line.begin(), in Debug() 122 line.end(), in Debug() 124 line.end()); in Debug() 129 fprintf(ostream_, "%s\n", line.c_str()); in Debug() 133 std::vector<std::string> tokenized_cmd = Tokenize(line); in Debug()
|
/third_party/skia/experimental/sktext/tests/ |
H A D | SelectableText.cpp | 79 const SkPoint positions[], // Positions relative to the line 209 auto line = selectableText->getLine(next.fLineIndex); in UNIX_ONLY_TEST() local 212 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(next.fBoundaries.fTop, line.fBounds.fTop)); in UNIX_ONLY_TEST() 213 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(next.fBoundaries.height(), line.fBounds.height())); in UNIX_ONLY_TEST() 250 auto line = selectableText->getLine(prev.fLineIndex); in UNIX_ONLY_TEST() local 251 REPORTER_ASSERT(reporter, prev.fGlyphRange.fEnd == line.fBoxGlyphs.size()); in UNIX_ONLY_TEST() 252 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(prev.fBoundaries.fRight, line.fBounds.fRight)); in UNIX_ONLY_TEST() 253 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(prev.fBoundaries.fTop, line.fBounds.fTop)); in UNIX_ONLY_TEST() 254 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(prev.fBoundaries.height(), line.fBounds.height())); in UNIX_ONLY_TEST()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | annotate.c | 73 static int disasm_line__parse(char *line, const char **namep, char **rawp); 1132 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument 1134 char tmp, *name = skip_spaces(line); in disasm_line__parse() 1166 char *line; member 1175 al->line = strdup(args->line); in annotation_line__init() 1183 zfree(&al->line); in annotation_line__exit() 1194 * Allocating the disasm annotation line data with 1217 if (dl->al.line == NULL) in disasm_line__new() 1221 if (disasm_line__parse(dl->al.line, in disasm_line__new() 1872 expand_tabs(char *line, char **storage, size_t *storage_len) expand_tabs() argument 1941 char *line; symbol__disassemble() local 2356 struct annotation_line *line; annotated_source__addr_fmt_width() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | annotate.c | 64 static int disasm_line__parse(char *line, const char **namep, char **rawp); 1174 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument 1176 char tmp, *name = skip_spaces(line); in disasm_line__parse() 1208 char *line; member 1218 al->line = strdup(args->line); in annotation_line__init() 1227 zfree(&al->line); in annotation_line__exit() 1238 * Allocating the disasm annotation line data with 1261 if (dl->al.line == NULL) in disasm_line__new() 1265 if (disasm_line__parse(dl->al.line, in disasm_line__new() 1995 expand_tabs(char *line, char **storage, size_t *storage_len) expand_tabs() argument 2065 char *line; symbol__disassemble() local 2486 struct annotation_line *line; annotated_source__addr_fmt_width() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_nntplib.py | 49 for line in lines: 50 self.assertEqual(str, type(line)) 166 for line in lines: 167 self.assertEqual(str, type(line[1])) 173 for line in article.lines: 174 self.assertIsInstance(line, bytes) 202 denylist = lambda line: line.startswith(b'X-Antivirus') 203 filtered_head_lines = [line for line i [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/ |
H A D | 8250_core.c | 105 * line has been de-asserted. 151 * handler that ensures that the IRQ line has been deasserted 153 * line being stuck active, and, since ISA irqs are edge triggered, 417 * @line: serial line number 419 * This function retrieves struct uart_8250_port for the specific line. 427 struct uart_8250_port *serial8250_get_port(int line) in serial8250_get_port() argument 429 return &serial8250_ports[line]; in serial8250_get_port() 535 port->line = i; in serial8250_isa_init_ports() 652 * @name: name from console command line 795 serial8250_suspend_port(int line) serial8250_suspend_port() argument 818 serial8250_resume_port(int line) serial8250_resume_port() argument 1200 serial8250_unregister_port(int line) serial8250_unregister_port() argument [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | serial_txx9.c | 602 if (up->port.cons && up->port.line == up->port.cons->index) { in serial_txx9_shutdown() 830 if (up->port.line == up->port.cons->index) in serial_txx9_config_port() 874 up->port.line = i; in serial_txx9_register_ports() 991 if (port->line >= ARRAY_SIZE(serial_txx9_ports)) in early_serial_txx9_setup() 994 serial_txx9_ports[port->line].port = *port; in early_serial_txx9_setup() 995 serial_txx9_ports[port->line].port.ops = &serial_txx9_pops; in early_serial_txx9_setup() 996 serial_txx9_ports[port->line].port.flags |= in early_serial_txx9_setup() 1012 * On success the port is ready to use and the line number is returned. 1049 ret = uart->port.line; in serial_txx9_register_port() 1057 * @line 1062 serial_txx9_unregister_port(int line) serial_txx9_unregister_port() argument 1175 int line; pciserial_txx9_init_one() local [all...] |
H A D | sccnxp.c | 246 return sccnxp_read(port, (port->line << 3) + reg); in sccnxp_port_read() 251 sccnxp_write(port, (port->line << 3) + reg, v); in sccnxp_port_write() 358 s->imr |= mask << (port->line * 4); in sccnxp_enable_irq() 366 s->imr &= ~(mask << (port->line * 4)); in sccnxp_disable_irq() 375 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(sig)) { in sccnxp_set_bit() 376 bitmask = 1 << MCTRL_OBIT(s->pdata.mctrl_cfg[port->line], sig); in sccnxp_set_bit() 597 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(DSR_IP)) { in sccnxp_get_mctrl() 598 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl() 603 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(CTS_IP)) { in sccnxp_get_mctrl() 604 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | sccnxp.c | 246 return sccnxp_read(port, (port->line << 3) + reg); in sccnxp_port_read() 251 sccnxp_write(port, (port->line << 3) + reg, v); in sccnxp_port_write() 358 s->imr |= mask << (port->line * 4); in sccnxp_enable_irq() 366 s->imr &= ~(mask << (port->line * 4)); in sccnxp_disable_irq() 375 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(sig)) { in sccnxp_set_bit() 376 bitmask = 1 << MCTRL_OBIT(s->pdata.mctrl_cfg[port->line], sig); in sccnxp_set_bit() 595 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(DSR_IP)) { in sccnxp_get_mctrl() 596 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl() 601 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(CTS_IP)) { in sccnxp_get_mctrl() 602 bitmask = 1 << MCTRL_IBIT(s->pdata.mctrl_cfg[port->line], in sccnxp_get_mctrl() [all...] |
/kernel/linux/linux-6.6/arch/um/kernel/ |
H A D | dtb.c | 32 static int __init uml_dtb_setup(char *line, int *add) in uml_dtb_setup() argument 34 dtb = line; in uml_dtb_setup()
|
H A D | initrd.c | 35 static int __init uml_initrd_setup(char *line, int *add) in uml_initrd_setup() argument 37 initrd = line; in uml_initrd_setup()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | priv.h | 22 int (*drive)(struct nvkm_gpio *, int line, int dir, int out); 24 /* sense current state of given gpio line */ 25 int (*sense)(struct nvkm_gpio *, int line);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_trace.h | 41 #define TRACE_DCN_FPU(begin, function, line, ref_count) \ 42 trace_dcn_fpu(begin, function, line, ref_count)
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | priv.h | 22 int (*drive)(struct nvkm_gpio *, int line, int dir, int out); 24 /* sense current state of given gpio line */ 25 int (*sense)(struct nvkm_gpio *, int line);
|
/kernel/linux/linux-6.6/scripts/ |
H A D | rustdoc_test_builder.rs | 8 //! The `rustdoc`-generated test names look like `{file}_{line}_{number}`, e.g. 10 //! a macro that expands into items with doctests is invoked several times within the same line. 12 //! However, since these names are used for bisection in CI, the line number makes it not stable 27 // The line we are looking for looks like one of the following: in main() 37 .find_map(|line| { in main() 39 line.split_once("fn main() {")? in main()
|
/third_party/cJSON/tests/unity/extras/fixture/src/ |
H A D | unity_fixture_internals.h | 32 const char* file, unsigned int line); 40 void UnityPointer_Set(void** ptr, void* newValue, UNITY_LINE_TYPE line);
|
/third_party/gn/src/gn/ |
H A D | standard_out.h | 33 // links to the actual help; otherwise, prints a one-line description. 34 void PrintSectionHelp(const std::string& line, 38 // Prints a line for a command, assuming there is a colon. Everything before 46 // The line is indented 2 spaces. 47 void PrintShortHelp(const std::string& line, 54 // colon (or the whole line if not).
|