Searched refs:run (Results 1 - 25 of 79) sorted by relevance

1234

/haiku/src/system/boot/loader/file_systems/bfs/
H A Dbfs.cpp109 Volume::ValidateBlockRun(block_run run) argument
111 if (run.AllocationGroup() < 0 || run.AllocationGroup() > (int32)AllocationGroups()
112 || run.Start() > (1UL << AllocationGroupShift())
113 || run.length == 0
114 || uint32(run.Length() + run.Start()) > (1UL << AllocationGroupShift())) {
115 dprintf("bfs: invalid run(%" B_PRId32 ",%d,%d)\n",
116 run.AllocationGroup(), run
126 block_run run; local
[all...]
H A DVolume.h48 off_t ToOffset(block_run run) const { return ToBlock(run) << BlockShift(); }
50 off_t ToBlock(block_run run) const { return ((off_t)run.AllocationGroup() << AllocationGroupShift()) | (uint32)run.Start(); }
52 status_t ValidateBlockRun(block_run run);
54 off_t ToVnode(block_run run) const { return ToBlock(run); }
H A DStream.cpp27 CachedBlock(Volume& volume, block_run run);
30 uint8* SetTo(block_run run);
57 CachedBlock::CachedBlock(Volume &volume, block_run run) argument
63 SetTo(run);
101 CachedBlock::SetTo(block_run run) argument
103 return SetTo(fVolume.ToBlock(run));
110 Stream::Stream(Volume& volume, block_run run) argument
114 if (read_pos(volume.Device(), volume.ToOffset(run), this, sizeof(bfs_inode))
198 Stream::FindBlockRun(off_t pos, block_run& run, off_t& offset) argument
200 // find matching block run
312 block_run run; local
[all...]
H A DLink.cpp13 Link::Link(Volume &volume, block_run run) argument
14 : File(volume, run)
/haiku/src/tools/cppunit/cppunit/
H A DTestSetUp.cpp23 TestSetUp::run( TestResult *result ) function in class:CppUnit::TestSetUp
26 TestDecorator::run(result);
H A DRepeatedTest.cpp9 // Counts the number of test cases that will be run by this test.
26 RepeatedTest::run( TestResult *result ) function in class:CppUnit::RepeatedTest
33 TestDecorator::run( result );
H A DTestCase.cpp25 TestCase::run( TestResult *result ) function in class:CppUnit::TestCase
62 /// A default run method
64 TestCase::run() function in class:CppUnit::TestCase
68 run (result);
91 * be used by a test case for which run() is called.
/haiku/headers/tools/cppunit/cppunit/extensions/
H A DTestDecorator.h26 void run (TestResult *result);
52 inline void TestDecorator::run (TestResult *result) function in class:CppUnit::TestDecorator
53 { m_test->run (result); }
H A DTestSetUp.h17 void run( TestResult *result );
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.h26 text_run *run; member in struct:style_map
48 status_t _AddStyle(Icon *icon, text_run *run);
50 status_t _AddShape(Icon *icon, BShape *shape, text_run *run);
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBlockAllocator.h36 block_run& run);
38 off_t numBlocks, block_run& run,
40 status_t Free(Transaction& transaction, block_run run);
44 uint16 minimum, block_run& run);
52 status_t CheckBlockRun(block_run run,
55 bool IsValidBlockRun(block_run run,
H A DVolume.h84 off_t ToOffset(block_run run) const
85 { return ToBlock(run) << BlockShift(); }
86 off_t ToBlock(block_run run) const
87 { return ((((off_t)run.AllocationGroup())
89 | (off_t)run.Start()); }
91 status_t ValidateBlockRun(block_run run);
93 off_t ToVnode(block_run run) const
94 { return ToBlock(run); }
109 block_run& run);
112 block_run& run);
212 AllocateForInode(Transaction& transaction, const block_run* parent, mode_t type, block_run& run) argument
220 Allocate(Transaction& transaction, Inode* inode, off_t numBlocks, block_run& run, uint16 minimum) argument
229 Free(Transaction& transaction, block_run run) argument
[all...]
H A Dbfs.h37 inline bool operator==(const block_run &run) const;
38 inline bool operator!=(const block_run &run) const;
40 inline bool MergeableWith(block_run run) const;
309 block_run::operator==(const block_run &run) const
311 return allocation_group == run.allocation_group
312 && start == run.start
313 && length == run.length;
318 block_run::operator!=(const block_run &run) const
320 return allocation_group != run.allocation_group
321 || start != run
355 block_run run; local
[all...]
H A DDebug.cpp36 dump_block_run(const char* prefix, const block_run& run) argument
38 kprintf("%s(%d, %d, %d)\n", prefix, (int)run.allocation_group, run.start,
39 run.length);
253 block_run run = volume->ToBlockRun(offset); local
254 kprintf(" (%d, %d)", (int)run.allocation_group, run.start);
318 kprintf("usage: bfs <ptr-to-volume> [<block-run>]\n"
319 "Dumps a BFS volume - <block-run> is given, it is converted to a "
332 block_run run; local
346 block_run run = volume->ToBlockRun(offset); local
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A DVolume.h32 off_t ToBlock(block_run run) const { return run.start; }
H A DInode.cpp31 Inode::FindBlockRun(off_t pos, block_run &run, off_t &offset) argument
34 run.SetTo(0,0,1);
/haiku/src/bin/bfs_tools/
H A Drecover.cpp71 Inode* Get(block_run run) argument
73 return Acquire((Inode *)fHashtable.GetValue(&run));
121 static uint32 BlockRunHash(const block_run *run) argument
123 return (run->allocation_group << 16) | run->start;
140 InodeGetter(Disk& disk, block_run run) argument
142 fInode = Inode::Factory(&disk, run);
184 virtual Inode *InodeAt(block_run run) argument
187 if ((inode = gLogged.Get(run)) != NULL)
190 if ((inode = gMissing.Get(run)) !
325 block_run run; local
356 block_run run; local
457 block_run run = node->Parent(); local
619 block_run run; local
664 block_run run; local
[all...]
H A Dchkindex.cpp44 bool Contains(block_run *run) argument
46 return ContainsKey((void *)run);
49 bool Put(block_run &run) argument
55 memcpy(value,&run,sizeof(block_run));
64 static uint32 BlockRunHash(const block_run *run) argument
66 return run->allocation_group << 16 | run->start;
97 block_run run; local
98 while (directory->GetNextEntry(name,&run) >= B_OK)
103 gHashtable.Put(run);
154 block_run run = disk.ToBlockRun(offset); local
198 block_run *run = NULL; local
365 checkIndex(Disk &disk,char *attribute,block_run &run,bool collect) argument
502 block_run run; local
[all...]
H A Dbfswhich.cpp151 block_run run; local
152 while (directory->GetNextEntry(name, &run) == B_OK) {
159 Inode *inode = Inode::Factory(&disk, run);
174 name, run.allocation_group, run.start);
211 testBitmap(Disk& disk, const block_run& run) argument
220 printf("Block bitmap sees block %lld as %s.\n", disk.ToBlock(run),
221 bitmap.UsedAt(disk.ToBlock(run)) ? "used" : "free");
300 block_run run = parseBlockRun(disk, argv[1], argv[2]); local
301 off_t block = disk.ToBlock(run);
[all...]
/haiku/headers/tools/cppunit/cppunit/
H A DTest.h18 * When a Test is run, the result is collected by a TestResult object.
30 virtual void run (TestResult *result) = 0;
32 /*! \brief Return the number of test cases invoked by run().
36 * the run() method.
H A DTestCase.h36 virtual void run(TestResult *result);
42 virtual TestResult *run();
48 //! Create TestResult for the run(void) method.
/haiku/src/bin/bfs_tools/lib/
H A Dbfs.h25 inline bool operator==(const block_run &run) const;
26 inline bool operator!=(const block_run &run) const;
197 inline bool block_run::operator==(const block_run &run) const
199 return allocation_group == run.allocation_group
200 && start == run.start
201 && length == run.length;
204 inline bool block_run::operator!=(const block_run &run) const
206 return allocation_group != run.allocation_group
207 || start != run.start
208 || length != run
225 block_run run; local
[all...]
H A DDisk.h29 virtual Cacheable *NewCacheable(block_run run);
63 off_t ToOffset(block_run run) const { return ToBlock(run) << fSuperBlock.block_shift; }
64 off_t ToBlock(block_run run) const { return ((((off_t)run.allocation_group) << fSuperBlock.ag_shift) | (off_t)run.start); }
67 uint8 *ReadBlockRun(block_run run);
/haiku/src/tests/kits/support/barchivable/
H A Dmain.cpp26 // get a pointer to the test to run.
46 tests->run(&Result);
/haiku/3rdparty/docker/bootstrap/
H A DMakefile17 ${ENGINE} run -v bootstrap_work:/work:exec ${EXTRA} docker.io/haiku/bootstrap:${VER} prep
19 ${ENGINE} run -e TARGET_ARCH=$(TARGET_ARCH) -v bootstrap_work:/work:exec ${EXTRA} docker.io/haiku/bootstrap:${VER} crosstools
21 ${ENGINE} run -e TARGET_ARCH=$(TARGET_ARCH) -v bootstrap_work:/work:exec ${EXTRA} docker.io/haiku/bootstrap:${VER} bootstrap
23 ${ENGINE} run -it -e TARGET_ARCH=$(TARGET_ARCH) -v bootstrap_work:/work:exec ${EXTRA} docker.io/haiku/bootstrap:${VER} /bin/bash -l

Completed in 194 milliseconds

1234