Searched refs:line (Results 1 - 25 of 68) sorted by relevance

123

/seL4-refos-master/seL4_tools/misc/
H A Dstyle-py.sh10 autopep8 -i --max-line-length 100 "$@"
H A Dfilter.py20 def parse_filter(line: str):
21 """Parse a filter from a line of a filter file"""
22 line = line.strip()
23 if line and not COMMENT.search(line):
24 return TRAILING_COMMENT.sub('', line)
/seL4-refos-master/libs/libmuslc/src/passwd/
H A Dgetspnam.c8 static char *line; local
12 if (!line) line = malloc(LINE_LIM);
13 if (!line) return 0;
14 e = getspnam_r(name, &sp, line, LINE_LIM, &res);
H A Dfgetpwent.c6 static char *line; local
10 __getpwent_a(f, &pw, &line, &size, &res);
H A Dfgetspent.c6 static char *line; local
12 if (getline(&line, &size, f) >= 0 && __parsespent(line, &sp) >= 0) res = &sp;
H A Dgetpwent.c4 static char *line; variable
21 __getpwent_a(f, &pw, &line, &size, &res);
28 __getpw_a(0, uid, &pw, &line, &size, &res);
35 __getpw_a(name, 0, &pw, &line, &size, &res);
H A Dfgetgrent.c6 static char *line, **mem; local
10 __getgrent_a(f, &gr, &line, &size, &mem, &nmem, &res);
H A Dgetgrent_a.c11 int __getgrent_a(FILE *f, struct group *gr, char **line, size_t *size, char ***mem, size_t *nmem, struct group **res) argument
20 if ((l=getline(line, size, f)) < 0) {
22 free(*line);
23 *line = 0;
27 line[0][l-1] = 0;
29 s = line[0];
49 free(*line);
50 *line = 0;
H A Dgetgrent.c4 static char *line, **mem; variable
21 __getgrent_a(f, &gr, &line, &size, &mem, &nmem, &res);
29 __getgr_a(0, gid, &gr, &line, &size, &mem, &nmem, &res);
37 __getgr_a(name, 0, &gr, &line, &size, &mem, &nmem, &res);
H A Dgetgr_r.c4 #define FIX(x) (gr->gr_##x = gr->gr_##x-line+buf)
8 char *line = 0; local
18 rv = __getgr_a(name, gid, gr, &line, &len, &mem, &nmem, res);
27 memcpy(buf, line, len);
31 gr->gr_mem[i] = mem[i]-line+buf;
35 free(line);
H A Dgetpwent_a.c11 int __getpwent_a(FILE *f, struct passwd *pw, char **line, size_t *size, struct passwd **res) argument
19 if ((l=getline(line, size, f)) < 0) {
21 free(*line);
22 *line = 0;
26 line[0][l-1] = 0;
28 s = line[0];
/seL4-refos-master/kernel/src/
H A Dassert.c15 unsigned int line,
21 line,
31 unsigned int line,
37 line,
12 _fail( const char *s, const char *file, unsigned int line, const char *function) argument
28 _assert_fail( const char *assertion, const char *file, unsigned int line, const char *function) argument
/seL4-refos-master/libs/libmuslc/src/exit/
H A Dassert.c4 _Noreturn void __assert_fail(const char *expr, const char *file, int line, const char *func) argument
6 fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
/seL4-refos-master/libs/libmuslc/src/legacy/
H A Dgetusershell.c7 static char *line; variable
28 l = getline(&line, &linesize, f);
30 if (line[l-1]=='\n') line[l-1]=0;
31 return line;
/seL4-refos-master/kernel/src/arch/arm/machine/
H A Dcache.c17 vptr_t line; local
21 line = index << L1_CACHE_LINE_SIZE_BITS;
22 cleanByVA(line, pstart + (line - start));
28 vptr_t line; local
48 line = index << L1_CACHE_LINE_SIZE_BITS;
49 cleanInvalByVA(line, pstart + (line - start));
79 vptr_t line; local
88 line
95 vptr_t line; local
137 vptr_t line; local
148 vptr_t line; local
[all...]
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dpline.c5 #define NEED_VARARGS /* Uses ... */ /* comment line for pre-compiled headers */
27 pline VA_DECL(const char *, line)
28 VA_START(line); variable
29 VA_INIT(line, char *);
30 vpline(line, VA_ARGS);
36 vpline(const char *line, va_list the_args) {
39 vpline(line, the_args) const char *line; va_list the_args; {
47 pline VA_DECL(const char *, line)
53 if (!line || !*lin
[all...]
H A Drumors.c19 * The rumors file consists of a "do not edit" line, a hexadecimal number
21 * true rumors (one per line), followed by the useless/false/misleading/cute
22 * rumors (also one per line). Number of bytes of untrue rumors is derived
26 * and set of N+1 hexadecimal fseek offsets, followed by N multiple-line
44 char line[BUFSZ]; local
46 (void) dlb_fgets(line, sizeof line, fp); /* skip "don't edit" comment */
47 (void) dlb_fgets(line, sizeof line, fp);
48 if (sscanf(line, "
74 char *endp, line[BUFSZ], xbuf[BUFSZ]; local
144 const char *line; local
187 char line[BUFSZ]; local
238 char line[COLNO]; local
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dpline.c5 #define NEED_VARARGS /* Uses ... */ /* comment line for pre-compiled headers */
27 pline VA_DECL(const char *, line)
28 VA_START(line); variable
29 VA_INIT(line, char *);
30 vpline(line, VA_ARGS);
36 vpline(const char *line, va_list the_args) {
39 vpline(line, the_args) const char *line; va_list the_args; {
47 pline VA_DECL(const char *, line)
53 if (!line || !*lin
[all...]
H A Drumors.c19 * The rumors file consists of a "do not edit" line, a hexadecimal number
21 * true rumors (one per line), followed by the useless/false/misleading/cute
22 * rumors (also one per line). Number of bytes of untrue rumors is derived
26 * and set of N+1 hexadecimal fseek offsets, followed by N multiple-line
44 char line[BUFSZ]; local
46 (void) dlb_fgets(line, sizeof line, fp); /* skip "don't edit" comment */
47 (void) dlb_fgets(line, sizeof line, fp);
48 if (sscanf(line, "
74 char *endp, line[BUFSZ], xbuf[BUFSZ]; local
144 const char *line; local
187 char line[BUFSZ]; local
238 char line[COLNO]; local
[all...]
/seL4-refos-master/projects/seL4_libs/libsel4test/src/
H A Dtestutil.c74 void _sel4test_report_error(const char *error, const char *file, int line) argument
77 printf("\t\t<error>%s at line %d of file %s</error>\n", error, line, file);
79 printf("\tError: %s at line %d of file %s\n", error, line, file);
84 void _sel4test_failure(const char *failure, const char *file, int line) argument
87 printf("\t\t<failure type=\"failure\">%s at line %d of file %s</failure>\n", failure, line, file);
89 printf("\tFailure: %s at line %d of file %s\n", failure, line, fil
94 _sel4test_abort(const char *failure, const char *file, int line) argument
[all...]
/seL4-refos-master/libs/libmuslc/src/network/
H A Dresolvconf.c10 char line[256]; local
30 while (fgets(line, sizeof line, f)) {
32 if (!strchr(line, '\n') && !feof(f)) {
40 if (!strncmp(line, "options", 7) && isspace(line[7])) {
41 p = strstr(line, "ndots:");
47 p = strstr(line, "attempts:");
53 p = strstr(line, "timeout:");
61 if (!strncmp(line, "nameserve
[all...]
/seL4-refos-master/projects/util_libs/libpci/include/pci/
H A Dhelper_gen.py25 for line in helper_lines:
26 line = line.strip(); variable
27 r = re.search(r'^#define PCI_VENDOR_ID_([A-Z0-9_]+)\s+(\w+)', line);
39 for line in helper_lines:
40 line = line.strip(); variable
42 rv = re.search(r'^#define PCI_VENDOR_ID_([A-Z0-9_]+)\s+(\w+)', line);
46 r = re.search(r'^#define PCI_DEVICE_ID_([A-Z0-9]+_[A-Z0-9_]+)\s+(\w+)', line);
/seL4-refos-master/projects/seL4_libs/libsel4test/include/sel4test/
H A Dtestutil.h72 void _sel4test_report_error(const char *error, const char *file, int line);
78 void _sel4test_failure(const char *failure, const char *file, int line);
84 void _sel4test_abort(const char *failure, const char *file, int line);
/seL4-refos-master/libs/libutils/src/
H A Ddebug.c26 uint8_t line[MD_BYTES_PER_LINE]; local
39 memcpy(&line[object_offset], &temp, sizeof(temp));
45 memcpy(&line[object_offset], &temp, sizeof(temp));
51 memcpy(&line[object_offset], &temp, sizeof(temp));
57 memcpy(&line[object_offset], &temp, sizeof(temp));
65 if (line[object] < 32 || line[object] > 126) {
68 putchar(line[object]);
85 /* Print each line */
/seL4-refos-master/projects/util_libs/libutils/src/
H A Ddebug.c26 uint8_t line[MD_BYTES_PER_LINE]; local
39 memcpy(&line[object_offset], &temp, sizeof(temp));
45 memcpy(&line[object_offset], &temp, sizeof(temp));
51 memcpy(&line[object_offset], &temp, sizeof(temp));
57 memcpy(&line[object_offset], &temp, sizeof(temp));
65 if (line[object] < 32 || line[object] > 126) {
68 putchar(line[object]);
85 /* Print each line */

Completed in 122 milliseconds

123