Searched refs:run (Results 51 - 75 of 79) sorted by relevance

1234

/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp36 CacheableBlockRun(block_run run,uint8 *data) argument
38 fRun(run),
48 virtual bool Equals(block_run run) argument
50 return run == fRun;
76 Cache<block_run>::Cacheable *BlockRunCache::NewCacheable(block_run run) argument
78 ssize_t length = (int32)run.length << fDisk->BlockShift();
84 ssize_t read = fDisk->ReadAt(fDisk->ToOffset(run),buffer,length);
90 return new CacheableBlockRun(run,(uint8 *)buffer);
192 block_run run; local
193 run
210 ReadBlockRun(block_run run) argument
[all...]
H A Ddump.cpp40 dump_block_run(const char *prefix, const block_run &run, const char *postfix) argument
42 Print("%s(%" B_PRId32 ", %d, %d)%s\n", prefix, run.allocation_group,
43 run.start, run.length, postfix);
270 block_run run = disk->ToBlockRun(offset); local
271 Print(" (%" B_PRId32 ", %d)", run.allocation_group, run.start);
H A DInode.cpp235 Inode::SetParent(const block_run& run) argument
237 fInode->parent = run;
243 Inode::SetBlockRun(const block_run& run) argument
245 fInode->inode_num = run;
246 fBlockRun = run;
399 block_run run;
400 status = fAttributes->GetNextEntry(name, &run);
407 Attribute *attribute = (Attribute *)Inode::Factory(fDisk, run);
571 Inode::Factory(Disk *disk, block_run run) argument
577 if (disk->ReadAt(disk->ToOffset(run), inod
1130 GetNextEntry(char *name, block_run *run) argument
1152 GetNextEntry(block_run *run) argument
1161 Contains(const block_run *run) argument
1210 FindEntry(const char *name, block_run *run) argument
[all...]
/haiku/src/add-ons/translators/rtf/
H A Dconvert.cpp276 copy_text_run(text_run *run) argument
284 if (run != NULL) {
285 newRun->offset = run->offset;
286 newRun->font = run->font;
287 newRun->color = run->color;
299 dump_text_run(text_run *run)
301 if (run == NULL)
304 printf("run: offset = %ld, color = {%d,%d,%d}, font = ",
305 run->offset, run
363 text_run *run = (text_run *)fRuns.RemoveItem((int32)0); local
377 PrepareTextRun(text_run *run) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DCheckVisitor.cpp27 block_run run; member in struct:check_index
191 FATAL(("CheckVisitor didn't run through\n"));
316 index->run = inode->BlockRun();
380 // Iterating over the B+tree failed - we let the checkfs run
524 status = _CheckAllocated(runs[index], "indirect->run");
587 "double indirect->runs->run");
606 CheckVisitor::_CheckAllocated(block_run run, const char* type) argument
610 // make sure the block run is valid
611 if (!allocator.IsValidBlockRun(run, type)) {
618 off_t start = GetVolume()->ToBlock(run);
[all...]
H A DFileSystemVisitor.cpp247 block_run run; local
248 while (fStack.Pop(&run))
249 put_vnode(fVolume->FSVolume(), fVolume->ToVnode(run));
H A DInode.h36 ino_t id, mode_t mode, block_run& run);
145 status_t FindBlockRun(off_t pos, block_run& run,
244 int32 level, block_run run, off_t size,
250 block_run& run, size_t length,
380 Vnode(Volume* volume, block_run run) argument
384 SetTo(volume, run);
420 status_t SetTo(Volume* volume, block_run run) argument
422 return SetTo(volume, volume->ToVnode(run));
H A DCheckVisitor.h59 status_t _CheckAllocated(block_run run,
H A DDebug.h93 extern void dump_block_run(const char *prefix, const block_run &run);
H A Dkernel_interface.cpp539 block_run run; local
545 status_t status = inode->FindBlockRun(offset, run, fileOffset);
549 vecs[index].offset = volume->ToOffset(run) + offset - fileOffset;
550 vecs[index].length = ((uint32)run.Length() << blockShift)
807 block_run run; local
808 while (allocator.AllocateBlocks(transaction, 8, 0, 64, 1, run)
811 ", %" B_PRIu16 ")\n", run.allocation_group, run.start,
812 run.length));
814 for (int32 i = 0;i < run
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dlcnalloc.c118 int i, j, run = 0; local
130 run += 8;
135 if (run > max_range) {
136 max_range = run;
137 start_pos = (s64)i * 8 - run;
139 run = 0;
151 if (run > max_range) {
152 max_range = run;
153 start_pos = (s64)i * 8 + (j - run);
155 run
[all...]
/haiku/headers/tools/cppunit/
H A DThreadedTestCaller.h20 Each ThreadMethod added with addThread() is run in its own thread.
29 virtual CppUnit::TestResult *run();
30 virtual void run(CppUnit::TestResult *result);
103 BThreadedTestCaller<TestClass, ExpectedException>::run() { function in class:BThreadedTestCaller
105 run(result);
111 BThreadedTestCaller<TestClass, ExpectedException>::run(CppUnit::TestResult *result) { function in class:BThreadedTestCaller
115 throw CppUnit::Exception("BThreadedTestCaller::run() -- No threads added to BThreadedTestCaller()");
137 throw CppUnit::Exception("BThreadedTestCaller::run() -- Error creating fThreadSem");
/haiku/src/tests/add-ons/kernel/file_systems/bfs/dump_log/
H A Ddump_log.cpp46 toBlock(disk_super_block &superBlock, block_run run) argument
48 return ((((off_t)run.AllocationGroup()) << superBlock.AllocationGroupShift()) | (off_t)run.Start());
53 toOffset(disk_super_block &superBlock, block_run run) argument
55 return toBlock(superBlock, run) << superBlock.BlockShift();
/haiku/src/tools/cppunit/cppunit/
H A DTestRunner.cpp54 * \param testName Name of the test case to run. If an empty is given, then
55 * all added test are run. The name must be the name of
58 * before the run() method exit.
67 TestRunner::run( string testName, function in class:CppUnit::TextUi::TestRunner
138 test->run( m_eventManager );
146 /*! Returns the result of the test run.
147 * Use this after calling run() to access the result of the test run.
157 * The instance of TestResult results returned is the one that is used to run the
169 * Notes that the outputter will be use after the test run onl
[all...]
/haiku/src/system/boot/loader/file_systems/bfs/
H A DDirectory.cpp28 Directory::Directory(Volume &volume, block_run run) argument
30 fStream(volume, run),
/haiku/src/tests/system/kernel/unit/
H A Dkernel_unit_tests.cpp40 " run [ <options> ] [ <tests> ]\n"
41 " Run tests. The tests to be run can be given as arguments. When no "
43 " are specified, all tests are run.\n"
47 " -q - Don't run any further tests after the first test failure.\n";
232 } else if (strcmp(argv[0], "run") == 0) {
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A DInode.h32 status_t FindBlockRun(off_t pos, block_run& run, off_t& offset);
/haiku/src/tools/
H A Dhardlink_packages.py30 if subprocess.run(['package_repo'], None, None, None,
/haiku/src/bin/
H A Dleak_analyser.sh14 To generate such a file run a program with the following
/haiku/src/apps/poorman/
H A DPoorManWindow.cpp253 text_run run; local
256 run.offset = 0;
257 run.color = color;
260 runs.runs[0] = run;
/haiku/src/kits/mail/
H A Dmail_util.cpp650 struct word *run; local
655 for (int32 g = i+1; (run = (struct word *) words.ItemAt (g)) != NULL; g++) {
656 if (!run->needsEncoding)
658 if ((currentWord->convertedWord.Length() + run->convertedWord.Length() <= 53)) {
659 currentWord->originalWord.Append (run->originalWord);
662 delete run;
/haiku/src/tests/add-ons/kernel/network/
H A Duserland_ipc.c204 bool run = true; local
207 while (run) {
247 run = false;
/haiku/src/tools/cppunit/
H A DTestShell.cpp156 cout << "ERROR: No installed tests to run!" << endl;
161 // None specified, so run them all
171 // tests to run (since we use a set, this eliminates the concern
190 // list of tests to run (unless there's also an installed individual
213 suite.run(&fTestResults);
293 cout << indent << "NAME Instructs the program to run the test for the given class or all" << endl;
295 cout << indent << " and a suite with the same name, the suite will be run, not the class" << endl;
297 cout << indent << " classes or suites are specified, all available tests are run" << endl;
/haiku/src/system/kernel/vm/
H A Dvm_page.cpp337 out.Print("page alloc run: start %#" B_PRIxPHYSADDR " length: %"
1157 kprintf("longest free pages run: %" B_PRIuPHYSADDR " pages (at %"
1160 kprintf("longest free/cached pages run: %" B_PRIuPHYSADDR " pages (at %"
1953 void SetTo(PageWriterRun* run, vm_page* page, int32 maxPages);
2111 PageWriteTransfer::SetTo(PageWriterRun* run, vm_page* page, int32 maxPages) argument
2113 fRun = run;
2345 PageWriterRun run; local
2346 if (run.Init(kNumPages) != B_OK) {
2392 run.PrepareNextRun();
2458 run
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/
H A Dif_iwi.c2748 * Convert scan list to run-length encoded channel list
2750 * net80211). The first entry in each run specifies the
2751 * band and the count of items in the run.
2764 /* NB: this allocates a slot for the run-len */
2796 int run = scan.channels[i]; local
2797 if (run == 0)
2799 printf("Scan %d %s channels:", run & 0x3f,
2800 run & IWI_CHAN_2GHZ ? "2.4GHz" : "5GHz");
2801 for (run &= 0x3f, i++; run >
[all...]

Completed in 137 milliseconds

1234