/barrelfish-master/lib/linenoise/ |
H A D | example.c | 15 char *line; local 18 /* Parse options, with --multiline we enable multi line editing. */ 24 printf("Multi-line mode enabled.\n"); 48 while((line = linenoise("hello> ")) != NULL) { 50 if (line[0] != '\0' && line[0] != '/') { 51 printf("echo: '%s'\n", line); 52 linenoiseHistoryAdd(line); /* Add to the history. */ 54 } else if (!strncmp(line,"/historylen",11)) { 56 int len = atoi(line [all...] |
/barrelfish-master/lib/acpica/source/include/platform/ |
H A D | acdragonflyex.h | 127 int line); 135 int line); 144 int line); 151 int line);
|
/barrelfish-master/doc/012-services/ |
H A D | deptree.py | 30 for line in f: 31 line = line.strip() variable 32 if line.startswith("---"): 34 entries[line] = colors[i % len(colors)] 46 for line in f: 47 line = line.strip() variable 48 parts = line.split(None) # split on whitespace 49 if line [all...] |
H A D | deptree2.py | 106 for line in f: 107 line = line.strip() variable 108 if line.startswith("---"): 110 entries_1[line] = [line+"_1", colors[i % len(colors)]] 111 entries_2[line] = [line+"_2", colors[i % len(colors)]] 125 for line in f: 126 line variable [all...] |
/barrelfish-master/tools/harness/tests/ |
H A D | boottest.py | 36 def is_finished(self, line): 39 return self.grub_boot in line or \ 40 self.hagfish_boot in line or \ 41 line.startswith("Assertion failed on core") or \ 42 line.startswith("Aborted") 45 for line in rawiter: 46 if line.find(self.grub_boot) > -1 or \ 47 line.find(self.hagfish_boot) > -1:
|
H A D | caps_next.py | 21 # the test passed iff the last line is the finish string 23 for line in rawiter: 24 if line.startswith(self.get_finish_string()): 25 _,_,results=line.split(':') 45 def is_finished(self, line): 46 if line.startswith("retype: result:"): 48 return self._nseen == self._ncores or super(RetypeMultiTest, self).is_finished(line) 51 # the test passed iff the last line is the finish string 54 for line in rawiter: 55 if re.match(r'.*pawning .*test_retype on core', line) [all...] |
H A D | memtest.py | 29 # the test passed iff the last line is the finish string 31 for line in rawiter: 32 lastline = line 53 def is_finished(self, line): 55 if line.startswith("memtest passed successfully!"): 57 return self._nseen == self._ncores or super(MemTestMulti, self).is_finished(line) 61 for line in rawiter: 62 if re.match(r'.*pawning .*memtest on core', line): 64 if line.startswith("memtest passed successfully!"):
|
H A D | monitortest.py | 24 for line in rawiter: 25 if line.startswith(self.get_finish_string()):
|
H A D | nkmtest.py | 28 # the test passed iff the last line is the finish string 30 for line in rawiter: 31 lastline = line 49 # the test passed iff the last line is the finish string 51 for line in rawiter: 52 if line.startswith("nkmtest_map_offset: FAILURE"): 53 errors.append(line)
|
H A D | spantest.py | 33 def is_finished(self, line): 34 return re.match(MATCH, line) or super(SpanTest, self).is_finished(line) 38 for line in rawiter: 39 if re.match(MATCH, line): 62 for line in rawiter: 63 if re.search('SPAN_TEST_SUCCESS.', line) : 83 def is_finished(self, line): 84 if re.search('SPAN_TEST_DONE.', line) : 86 return re.match('kernel [0-9]*: user page fault WHILE DISABLED', line) o [all...] |
H A D | spawntest.py | 36 def is_finished(self, line): 37 if re.match(MATCH, line): 39 return self._nseen == (NUM_SPAWNS + 1) or super(SpawnTest, self).is_finished(line) 43 for line in rawiter: 44 if re.match(MATCH, line):
|
H A D | TimerTest.py | 44 def is_finished(self, line): 45 if line.startswith(self.get_test_A_finish_string()): 47 if line.startswith(self.get_test_B_finish_string()): 50 super(TimerTest, self).is_finished(line) 63 for line in rawiter: 64 if line.startswith(self.get_test_A_finish_string()): 66 if line.startswith(self.get_test_B_finish_string()):
|
H A D | proc_mgmt_test.py | 37 for line in rawiter: 39 if line.startswith("Unblocked") and sleeper: 45 if line.startswith("Sleeper exit"): 49 if line.startswith("Failed"):
|
/barrelfish-master/lib/compiler-rt/builtins/ |
H A D | eprintf.c | 23 const char *line, const char *file) { 24 fprintf(stderr, format, assertion_expression, line, file); 22 __eprintf(const char *format, const char *assertion_expression, const char *line, const char *file) argument
|
H A D | int_util.c | 26 void __compilerrt_abort_impl(const char *file, int line, const char *function) { argument 27 panic("%s:%d: abort in %s", file, line, function); 33 NORETURN extern void __assert_rtn(const char *func, const char *file, int line, 40 void __compilerrt_abort_impl(const char *file, int line, const char *function) { argument 41 __assert_rtn(function, file, line, "libcompiler_rt abort"); 50 void __compilerrt_abort_impl(const char *file, int line, const char *function) { argument 63 void __compilerrt_abort_impl(const char *file, int line, const char *function) { argument
|
/barrelfish-master/lib/libc/iconv/ |
H A D | citrus_lookup_factory.c | 50 convert_line(struct _citrus_db_factory *df, const char *line, size_t len) argument 56 p = memchr(line, T_COMM, len); 58 len = p - line; 61 line = _bcs_skip_ws_len(line, &len); 64 p = _bcs_skip_nonws_len(line, &len); 65 if (p == line) 67 snprintf(key, sizeof(key), "%.*s", (int)(p-line), line); 71 line 98 char *line; local [all...] |
H A D | citrus_pivot_factory.c | 105 convert_line(struct src_head *sh, const char *line, size_t len) argument 117 p = memchr(line, T_COMM, len); 119 len = p - line; 122 line = _bcs_skip_ws_len(line, &len); 125 p = _bcs_skip_nonws_len(line, &len); 126 if (p == line) 128 snprintf(key1, sizeof(key1), "%.*s", (int)(p - line), line); 131 line 204 char *line; local [all...] |
/barrelfish-master/lib/openssl-1.0.0d/crypto/perlasm/ |
H A D | ppc-xlate.pl | 67 my $line = join(",",@_); 68 if ($line =~ /^"(.*)"$/) 119 while($line=<>) { 121 $line =~ s|[#!;].*$||; # get rid of asm-style comments... 122 $line =~ s|/\*.*\*/||; # ... and C-style comments... 123 $line =~ s|^\s+||; # ... and skip white spaces in beginning... 124 $line =~ s|\s+$||; # ... and at the end 127 $line =~ s|\b\.L(\w+)|L$1|g; # common denominator for Locallabel 128 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels); 132 $line [all...] |
H A D | x86_64-xlate.pl | 22 # - can't use multiple ops per line; 111 local *line = shift; 114 if ($line =~ /^([a-z][a-z0-9]*)/i) { 117 $line = substr($line,@+[0]); $line =~ s/^\s+//; 186 local *line = shift; 189 if ($line =~ /^\$([^,]+)/) { 192 $line = substr($line, [all...] |
/barrelfish-master/lib/libc/tests/stdio/ |
H A D | getdelim_test.c | 77 char *line; local 91 line = malloc(i); 92 /* First line: the full apothegm */ 93 ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1); 94 ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0); 96 /* Second line: the NUL terminator following the newline */ 97 ATF_REQUIRE(getline(&line, &linecap, fp) == 1); 98 ATF_REQUIRE(line[0] == '\0' && line[1] == '\0'); 99 /* Third line 115 char *line; local 134 char *line; local 151 char *line; local 176 char *line; local 204 char *line; local [all...] |
/barrelfish-master/include/arch/x86/barrelfish_kpi/ |
H A D | asm_inlines_arch.h | 75 static inline void clflush(void *line) argument 77 __asm volatile("clflush %0" :: "m" (line)); 86 uint8_t *line = (uint8_t *)((uintptr_t)base & ~(CACHE_LINE_SIZE-1UL)); local 88 clflush(line); 89 line += CACHE_LINE_SIZE; 90 } while (line < (uint8_t *)base + len);
|
/barrelfish-master/lib/libc/gen/ |
H A D | assert.c | 42 __assert(const char *func, const char *file, int line, const char *failedexpr) argument 46 "Assertion failed: (%s), file %s, line %d.\n", failedexpr, 47 file, line); 50 "Assertion failed: (%s), function %s, file %s, line %d.\n", 51 failedexpr, func, file, line);
|
/barrelfish-master/usr/eclipseclp/CPViz/viz/src/ie/ucc/cccc/viz/ |
H A D | VisualizerVectorSize.java | 37 int line = 0;
46 count[line] = total;
48 line++;
53 pathMoveSVG(out,posX(line-1),posY(count[0]));
54 for(int i=0;i<line;i++){
55 pathLineSVG(out,posX(line-i-1),posY(count[i]));
58 for(int i=0;i<line;i++){
59 textSVG(out,posX(line-i-1),posY(count[i]),count[i],Colors.LABEL_TEXT_COLOR);
|
/barrelfish-master/tools/pyaquarium/ |
H A D | aquarium.py | 20 for line in f: 21 if '\0\0' in line: 22 lines = line.split('\0\0') 25 t.parse_line(line)
|
/barrelfish-master/lib/tommath/ |
H A D | dep.pl | 28 # first line will be the #ifdef 29 my $line = <SRC>; 30 if ($line =~ /include/) { 31 print OUT $line; 33 print OUT "#include <tommath.h>\n#ifdef $define\n$line"; 66 my $line = $_; 67 while ($line =~ m/(fast_)*(s_)*mp\_[a-z_0-9]*/) { 68 $line = $';
|