Home
last modified time | relevance | path

Searched refs:line (Results 101 - 125 of 4045) sorted by relevance

12345678910>>...162

/third_party/openssl/crypto/
H A Dmem.c171 void *CRYPTO_malloc(size_t num, const char *file, int line) in CRYPTO_malloc() argument
175 return malloc_impl(num, file, line); in CRYPTO_malloc()
184 * if necessary to avoid a store to the same cache line on every in CRYPTO_malloc()
193 void *CRYPTO_zalloc(size_t num, const char *file, int line) in CRYPTO_zalloc() argument
197 ret = CRYPTO_malloc(num, file, line); in CRYPTO_zalloc()
205 void *CRYPTO_realloc(void *str, size_t num, const char *file, int line) in CRYPTO_realloc() argument
209 return realloc_impl(str, num, file, line); in CRYPTO_realloc()
213 return CRYPTO_malloc(num, file, line); in CRYPTO_realloc()
216 CRYPTO_free(str, file, line); in CRYPTO_realloc()
224 const char *file, int line) in CRYPTO_clear_realloc()
223 CRYPTO_clear_realloc(void *str, size_t old_len, size_t num, const char *file, int line) CRYPTO_clear_realloc() argument
250 CRYPTO_free(void *str, const char *file, int line) CRYPTO_free() argument
261 CRYPTO_clear_free(void *str, size_t num, const char *file, int line) CRYPTO_clear_free() argument
285 CRYPTO_mem_debug_push(const char *info, const char *file, int line) CRYPTO_mem_debug_push() argument
296 CRYPTO_mem_debug_malloc(void *addr, size_t num, int flag, const char *file, int line) CRYPTO_mem_debug_malloc() argument
302 CRYPTO_mem_debug_realloc(void *addr1, void *addr2, size_t num, int flag, const char *file, int line) CRYPTO_mem_debug_realloc() argument
308 CRYPTO_mem_debug_free(void *addr, int flag, const char *file, int line) CRYPTO_mem_debug_free() argument
[all...]
/third_party/skia/tests/
H A DPathOpsConicLineIntersectionTest.cpp20 SkDLine line; member
34 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line, in doIntersect() argument
38 if (line[0].fX == line[1].fX) { in doIntersect()
39 double top = line[0].fY; in doIntersect()
40 double bottom = line[1].fY; in doIntersect()
46 result = intersections.vertical(conic, top, bottom, line[0].fX, flipped); in doIntersect()
47 } else if (line[0].fY == line[1].fY) { in doIntersect()
48 double left = line[ in doIntersect()
65 SkDLine line; global() member
80 const SkDLine& line = oneOffs[index].line; testOneOffs() local
108 const SkDLine& line = lineConicTests[index].line; DEF_TEST() local
[all...]
H A DPathOpsDLineTest.cpp24 const SkDLine& line = tests[index]; in DEF_TEST() local
25 SkASSERT(ValidLine(line)); in DEF_TEST()
27 SkPoint pts[2] = {line[0].asSkPoint(), line[1].asSkPoint()}; in DEF_TEST()
29 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]); in DEF_TEST()
30 SkDPoint mid = line.ptAtT(.5); in DEF_TEST()
31 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); in DEF_TEST()
32 REPORTER_ASSERT(reporter, approximately_equal((line[ in DEF_TEST()
[all...]
/third_party/curl/src/
H A Dvar.c210 const char *line, struct curlx_dynbuf *out, in varexpand()
216 const char *input = line; in varexpand()
220 envp = strstr(line, "{{"); in varexpand()
221 if((envp > line) && envp[-1] == '\\') { in varexpand()
225 result = curlx_dyn_addn(out, line, envp - line - 1); in varexpand()
233 line = &envp[2]; in varexpand()
261 result = curlx_dyn_addn(out, line, clp - line + prefix); in varexpand()
267 result = curlx_dyn_addn(out, line, env in varexpand()
209 varexpand(struct GlobalConfig *global, const char *line, struct curlx_dynbuf *out, bool *replaced) varexpand() argument
392 const char *line = input; setvariable() local
[all...]
/third_party/backends/backend/pixma/scripts/
H A Dpixma_gen_options.py34 line = f.readline()
35 if not line:
37 if line.startswith('BEGIN SANE_Option_Descriptor'):
41 def parseVerbatim(o, line):
42 words = line.split(None, 1)
49 def parseLine_type(o, line):
50 words = line.split(None, 2)
69 def parseLine_title(o, line):
70 o['title'] = line.split(None, 1)[1]
73 def parseLine_desc(o, line)
[all...]
/third_party/gn/src/gn/
H A Dc_include_iterator.cc42 // We assume the line has leading whitespace trimmed. We also assume that empty
44 bool ShouldCountTowardNonIncludeLines(std::string_view line) { in ShouldCountTowardNonIncludeLines() argument
45 if (base::starts_with(line, "//")) in ShouldCountTowardNonIncludeLines()
47 if (base::starts_with(line, "/*") || base::starts_with(line, " *")) in ShouldCountTowardNonIncludeLines()
49 if (base::starts_with(line, "#")) in ShouldCountTowardNonIncludeLines()
51 if (base::ContainsOnlyChars(line, base::kWhitespaceASCII)) in ShouldCountTowardNonIncludeLines()
56 // Given a line, checks to see if it looks like an include or import and
58 // error or if this is not an include line.
60 // The 1-based character number on the line tha
62 ExtractInclude(std::string_view line, std::string_view* path, int* begin_char) ExtractInclude() argument
112 HasNoCheckAnnotation(std::string_view line) HasNoCheckAnnotation() argument
127 std::string_view line; GetNextIncludeString() local
154 GetNextLine(std::string_view* line, int* line_number) GetNextLine() argument
[all...]
/third_party/ninja/src/
H A Dclparser.cc44 string CLParser::FilterShowIncludes(const string& line, in FilterShowIncludes() argument
47 const char* in = line.c_str(); in FilterShowIncludes()
48 const char* end = in + line.size(); in FilterShowIncludes()
55 return line.substr(in - line.c_str()); in FilterShowIncludes()
69 bool CLParser::FilterInputFilename(string line) { in FilterInputFilename() argument
70 transform(line.begin(), line.end(), line.begin(), ToLowerASCII); in FilterInputFilename()
72 return EndsWith(line, " in FilterInputFilename()
96 string line = output.substr(start, end - start); Parse() local
[all...]
/third_party/ltp/tools/
H A Dgenhtml.pl109 LINE: while ($line = <FILE>) {
110 chomp $line;
112 if ($line =~ /$start_tag/) {
116 if ($line =~ /$end_tag/) {
126 @variable_value_pair = split(/\ /, $line);
137 @variable_value_pair = split(/=/, $line);
141 @variable_value_pair = split(/=/, $line);
145 @variable_value_pair = split(/=/, $line);
150 @variable_value_pair = split(/=/, $line);
154 @variable_value_pair = split(/\ /, $line);
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A Dsfn_test_shaders.cpp3064 string line; in from_string() local
3070 std::getline(is, line); in from_string()
3071 } while (line.empty()); in from_string()
3075 if (line.substr(0,2) == "FS") in from_string()
3077 else if (line.substr(0,2) == "VS") in from_string()
3079 else if (line.substr(0,2) == "GS") in from_string()
3081 else if (line.substr(0,3) == "TCS") in from_string()
3083 else if (line.substr(0,3) == "TES") in from_string()
3088 while (std::getline(is, line)) { in from_string()
3089 if (line in from_string()
3099 std::cerr << "Don't understand '" << line << "\\n"; from_string() local
[all...]
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/
H A Dgcc.py63 for line in lines:
64 m = LINE_MARKER_RE.match(line)
69 if (m := PREPROC_DIRECTIVE_RE.match(line)):
72 raise Exception(line)
75 line, partial = _strip_directives(line, partial=partial)
79 line or '',
85 def _strip_directives(line, partial=0):
88 if not (m := re.match(r'[^{}]*([()])', line)):
92 line
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/
H A Ddrawing_text_line.h48 * @brief Get text line information.
52 * @return Indicates the pointer to a text line array object <b>OH_Drawing_Array</b>.
59 * @brief Releases the memory occupied by the text line array object <b>OH_Drawing_Array</b>.
62 * @param lines Indicates the pointer to the text line array object <b>OH_Drawing_Array</b>.
69 * @brief Releases the memory occupied by the text line object <b>OH_Drawing_TextLine</b>.
72 * @param line Indicates the pointer to the text line object <b>OH_Drawing_TextLine</b>.
76 void OH_Drawing_DestroyTextLine(OH_Drawing_TextLine* line);
79 * @brief Get the text line object by index.
82 * @param lines Indicates the pointer to the text line arra
[all...]
/third_party/mbedtls/library/
H A Ddebug.c35 const char *file, int line, in debug_send_line()
46 ssl->conf->f_dbg(ssl->conf->p_dbg, level, file, line, idstr); in debug_send_line()
48 ssl->conf->f_dbg(ssl->conf->p_dbg, level, file, line, str); in debug_send_line()
54 const char *file, int line, in mbedtls_debug_print_msg()
84 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_msg()
88 const char *file, int line, in mbedtls_debug_print_ret()
112 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_ret()
116 const char *file, int line, const char *text, in mbedtls_debug_print_buf()
133 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_buf()
144 debug_send_line(ssl, level, file, line, st in mbedtls_debug_print_buf()
34 debug_send_line(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *str) debug_send_line() argument
53 mbedtls_debug_print_msg(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *format, ...) mbedtls_debug_print_msg() argument
87 mbedtls_debug_print_ret(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, int ret) mbedtls_debug_print_ret() argument
115 mbedtls_debug_print_buf(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, const unsigned char *buf, size_t len) mbedtls_debug_print_buf() argument
171 mbedtls_debug_print_ecp(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, const mbedtls_ecp_point *X) mbedtls_debug_print_ecp() argument
193 mbedtls_debug_print_ec_coord(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, const unsigned char *buf, size_t len) mbedtls_debug_print_ec_coord() argument
233 mbedtls_debug_print_psa_ec(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, const mbedtls_pk_context *pk) mbedtls_debug_print_psa_ec() argument
265 mbedtls_debug_print_mpi(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, const mbedtls_mpi *X) mbedtls_debug_print_mpi() argument
316 debug_print_pk(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, const mbedtls_pk_context *pk) debug_print_pk() argument
360 debug_print_line_by_line(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text) debug_print_line_by_line() argument
384 mbedtls_debug_print_crt(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, const mbedtls_x509_crt *crt) mbedtls_debug_print_crt() argument
417 mbedtls_debug_printf_ecdh_internal(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const mbedtls_ecdh_context *ecdh, mbedtls_debug_ecdh_attr attr) mbedtls_debug_printf_ecdh_internal() argument
447 mbedtls_debug_printf_ecdh(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const mbedtls_ecdh_context *ecdh, mbedtls_debug_ecdh_attr attr) mbedtls_debug_printf_ecdh() argument
[all...]
/third_party/python/Lib/test/test_peg_generator/
H A Dtest_pegen.py99 NUMBER, string="1", start=(1, 0), end=(1, 1), line="1, 2\n"
102 NUMBER, string="2", start=(1, 3), end=(1, 4), line="1, 2\n"
106 NEWLINE, string="\n", start=(1, 4), end=(1, 5), line="1, 2\n"
122 TokenInfo(NUMBER, string="42", start=(1, 0), end=(1, 2), line="42\n"),
123 TokenInfo(NEWLINE, string="\n", start=(1, 2), end=(1, 3), line="42\n"),
140 NUMBER, string="1", start=(1, 0), end=(1, 1), line="1 + 2\n"
144 OP, string="+", start=(1, 2), end=(1, 3), line="1 + 2\n"
147 NUMBER, string="2", start=(1, 4), end=(1, 5), line="1 + 2\n"
152 NEWLINE, string="\n", start=(1, 5), end=(1, 6), line="1 + 2\n"
161 TokenInfo(NUMBER, string="1", start=(1, 0), end=(1, 1), line
[all...]
/third_party/skia/docs/examples/
H A DPoint_Normalize.cpp12 for (auto line : lines) { in REG_FIDDLE()
13 canvas->drawLine(line[0], line[1], paint); in REG_FIDDLE()
14 SkVector vector = line[1] - line[0]; in REG_FIDDLE()
18 canvas->drawLine(line[0] - rotate90, line[0] + rotate90, paint); in REG_FIDDLE()
19 canvas->drawLine(line[1] - rotate90, line[1] + rotate90, paint); in REG_FIDDLE()
22 canvas->drawString(length, line[ in REG_FIDDLE()
[all...]
/third_party/node/deps/v8/tools/
H A Drun-clang-tidy.py70 line = ninja_ps.stdout.readline()
72 if line == '':
75 line = line.replace('-fcomplete-member-pointers', '')
76 line = line.replace('-Wno-enum-compare-switch', '')
77 line = line.replace('-Wno-ignored-pragma-optimize', '')
78 line = line
[all...]
/third_party/python/Include/
H A Ddynamic_annotations.h375 void AnnotateRWLockCreate(const char *file, int line,
377 void AnnotateRWLockDestroy(const char *file, int line,
379 void AnnotateRWLockAcquired(const char *file, int line,
381 void AnnotateRWLockReleased(const char *file, int line,
383 void AnnotateBarrierInit(const char *file, int line,
386 void AnnotateBarrierWaitBefore(const char *file, int line,
388 void AnnotateBarrierWaitAfter(const char *file, int line,
390 void AnnotateBarrierDestroy(const char *file, int line,
392 void AnnotateCondVarWait(const char *file, int line,
395 void AnnotateCondVarSignal(const char *file, int line,
[all...]
/third_party/json/docs/mkdocs/scripts/
H A Dcheck_structure.py54 previous_line = None # the previous read line
61 line = original_line.strip()
63 if line.startswith('# '):
68 report('structure/unexpected_section', f'{file}:{lineno+1}', f'unexpected top-level title "{line}"')
72 if line == '# Overview':
76 if len(line) > 160 and '|' not in line:
77 report('whitespace/line_length', f'{file}:{lineno+1} ({current_section})', f'line is too long ({len(line)} vs. 160 chars)')
80 if line
[all...]
/third_party/node/deps/openssl/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl29 # - can't use multiple ops per line;
165 my ($class, $line) = @_;
169 if ($$line =~ /^([a-z][a-z0-9]*)/i) {
173 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//;
185 } elsif ($self->{op} =~ /mov[dq]/ && $$line =~ /%xmm/) {
243 my ($class, $line) = @_;
247 if ($$line =~ /^\$([^,]+)/) {
251 $$line
[all...]
/third_party/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl29 # - can't use multiple ops per line;
160 my ($class, $line) = @_;
164 if ($$line =~ /^([a-z][a-z0-9]*)/i) {
168 $$line = substr($$line,@+[0]); $$line =~ s/^\s+//;
180 } elsif ($self->{op} =~ /mov[dq]/ && $$line =~ /%xmm/) {
238 my ($class, $line) = @_;
242 if ($$line =~ /^\$([^,]+)/) {
246 $$line
[all...]
/third_party/python/Lib/
H A Dnntplib.py17 Here 'resp' is the server response line.
91 # maximal line length when calling readline(). This is to prevent
92 # reading arbitrary length lines. RFC 3977 limits NNTP line length to
137 '211', # LISTGROUP (also not multi-line with GROUP)
187 for line in lines:
188 if line[0] == ':':
190 name, _, suffix = line[1:].partition(':')
194 name, _, suffix = line.partition(':')
211 for line in lines:
213 article_number, *tokens = line
[all...]
/third_party/ffmpeg/libavformat/
H A Dsubviewer1dec.c57 char line[4096]; in subviewer1_read_header() local
58 int len = ff_get_line(s->pb, line, sizeof(line)); in subviewer1_read_header()
64 if (!strncmp(line, "[DELAY]", 7)) { in subviewer1_read_header()
65 ff_get_line(s->pb, line, sizeof(line)); in subviewer1_read_header()
66 sscanf(line, "%d", &delay); in subviewer1_read_header()
69 if (sscanf(line, "[%d:%d:%d]", &hh, &mm, &ss) == 3) { in subviewer1_read_header()
73 len = ff_get_line(s->pb, line, sizeof(line)); in subviewer1_read_header()
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DOpenTypeTableWriter.java38 void appendValue(StringBuffer line, int index) in appendValue() argument
42 line.append("0x"); in appendValue()
43 line.append(Utility.hex((value >> 8) & 0xFF, 2)); in appendValue()
44 line.append(", "); in appendValue()
46 line.append("0x"); in appendValue()
47 line.append(Utility.hex(value & 0xFF, 2)); in appendValue()
51 StringBuffer line = new StringBuffer(" "); // four spaces in dumpTable()
57 output.println(line.toString()); in dumpTable()
58 line.setLength(4); in dumpTable()
61 appendValue(line, in dumpTable()
[all...]
/third_party/skia/third_party/externals/freetype/builds/meson/
H A Dprocess_ftoption_h.py12 """Toggle settings in `ftoption.h` file based on command-line arguments.
69 for line in input_file.splitlines():
74 line = line.rstrip()
75 if line.startswith("/* #define ") and line.endswith(" */"):
76 option_name = line[11:-3].strip()
78 elif line.startswith("#define "):
79 option_name = line[8:].strip()
81 elif line
[all...]
/third_party/libdrm/amdgpu/
H A Damdgpu_asic_id.c37 static int parse_one_line(struct amdgpu_device *dev, const char *line) in parse_one_line() argument
48 /* ignore empty line and commented line */ in parse_one_line()
49 if (strlen(line) == 0 || line[0] == '#') in parse_one_line()
52 buf = strdup(line); in parse_one_line()
110 char *line = NULL; in amdgpu_parse_asic_ids() local
123 /* 1st valid line is file version */ in amdgpu_parse_asic_ids()
124 while ((n = getline(&line, &len, fp)) != -1) { in amdgpu_parse_asic_ids()
126 if (line[ in amdgpu_parse_asic_ids()
[all...]
/third_party/node/deps/v8/tools/ignition/
H A Dlinux_perf_bytecode_annotate.py43 for line in perf_stream:
45 if line[0] == "#":
47 line = line.strip()
49 # Empty line signals the end of the callchain.
50 if not line:
57 symbol_and_offset = line.split(" ", 1)[1]
75 for line in ignition_codegen:
76 if line.startswith(name_string):
80 for line i
[all...]

Completed in 14 milliseconds

12345678910>>...162