Searched refs:runs (Results 1 - 25 of 60) sorted by relevance

123

/haiku-fatelf/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp195 text_run_array *runs = NULL; local
198 B_MIME_TYPE, (const void **)&runs, &runsLength) < B_OK)
199 runs = NULL;
201 return _Import(icon, str.String(), runs);
237 // TODO: read runs from attribute
244 StyledTextImporter::_Import(Icon* icon, const char *text, text_run_array *runs) argument
266 if (runs) {
268 fStyleMap = new struct style_map[runs->count];
269 for (int32 i = 0; runs && i < runs
[all...]
H A DStyledTextImporter.h46 text_run_array *runs);
/haiku-fatelf/src/bin/bfs_tools/
H A Dchkindex.cpp190 block_run *runs = (block_run *)malloc(gCount * sizeof(block_run)); local
191 if (runs == NULL)
202 runs[index++] = *run;
206 qsort(runs,index,sizeof(block_run),(int (*)(const void *,const void *))compareBlockRuns);
223 inode = Inode::Factory(&disk,runs[i]);
226 fprintf(stderr," inode at (%ld, %d) is corrupt!\n",runs[i].allocation_group,runs[i].start);
280 fprintf(stderr," inode at (%ld, %d) name \"%s\" is not in index!\n",runs[i].allocation_group,runs[i].start,inode->Name());
293 off_t offset,searchOffset = disk.ToBlock(runs[
[all...]
H A Dbfsinfo.cpp64 block_run runs[count]; local
69 (uint8 *)runs, bytes);
71 fprintf(stderr, "couldn't read indirect runs: %s\n",
79 if (runs[i].IsZero())
90 dump_block_run("", runs[i], buffer);
92 offset += runs[i].length * disk.BlockSize();
H A Dbfswhich.cpp91 int32 runs = bytes / sizeof(block_run);
92 for (int32 i = 0; i < runs; i++) {
/haiku-fatelf/headers/private/kernel/boot/
H A DFileMapDisk.h28 struct file_map_run runs[FMAP_MAX_RUNS]; member in struct:file_map_boot_item
60 virtual status_t GetFileMap(struct file_map_run *runs, int32 *count);
/haiku-fatelf/src/system/kernel/scheduler/
H A Dscheduler_tracing.cpp130 int64 runs = 0; local
196 runs++;
210 runs++;
249 runs++;
262 if (runs == 0) {
268 kprintf("runs:\n");
269 kprintf(" total #: %lld\n", runs);
271 kprintf(" average: %#.2f us\n", (double)totalRunTime / runs);
/haiku-fatelf/src/system/boot/loader/
H A DFileMapDisk.cpp126 FileMapDisk::GetFileMap(struct file_map_run *runs, int32 *count) argument
128 return fNode->GetFileMap(runs, count);
185 err = GetFileMap(item->runs, &item->num_runs);
/haiku-fatelf/headers/private/system/
H A Dscheduler_defs.h17 int64 runs; member in struct:scheduling_analysis_thread
/haiku-fatelf/src/apps/stylededit/
H A DStyledEditView.h33 const text_run_array* runs = NULL);
/haiku-fatelf/src/servers/mail/
H A DErrorLogWindow.cpp163 array.runs[0].offset = 0;
164 array.runs[0].font = *be_bold_font;
165 array.runs[0].color = HighColor();
187 array.runs[0].color = tint_color(ui_color(B_PANEL_BACKGROUND_COLOR),B_DARKEN_2_TINT);
188 array.runs[0].font.SetSize(9);
/haiku-fatelf/src/system/boot/loader/file_systems/fat/
H A DFile.cpp114 File::GetFileMap(struct file_map_run *runs, int32 *count) argument
116 return fStream.GetFileMap(runs, count);
H A DFile.h34 virtual status_t GetFileMap(struct file_map_run *runs, int32 *count);
H A DStream.h33 status_t GetFileMap(struct file_map_run *runs, int32 *count);
H A DStream.cpp77 Stream::GetFileMap(struct file_map_run *runs, int32 *count) argument
85 runs[i].offset = offset;
86 runs[i].block = fVolume.ToBlock(cluster);
87 runs[i].len = fVolume.ClusterSize();
92 runs[i].len += fVolume.ClusterSize();
97 offset += runs[i].len;
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A DREADME54 To compare the output of two or more runs, use multiview in the src
61 libmicro runs.
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DInode.cpp1190 block_run *runs = (block_run *)cached.SetTo(block + i, true); local
1191 if (runs == NULL)
1298 block_run *runs = NULL; local
1310 runs = (block_run *)cached.SetTo(data->indirect);
1318 if ((runs = (block_run *)cached.SetTo(block + i)) == NULL)
1322 if (runs[free].IsZero())
1329 runs = NULL;
1332 if (runs != NULL) {
1336 if (free > 0 && runs[last].MergeableWith(run))
1337 runs[las
1457 block_run *runs = (block_run *)cachedDirect.SetTo( local
1783 block_run *runs = (block_run *)cached.SetTo(block + j); local
1817 block_run *runs = (block_run *)directCached.SetTo(block + j); local
[all...]
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_fax3.c76 uint32* runs; /* b&w runs for current/previous row */ member in struct:__anon5005
77 uint32* refruns; /* runs for reference line */
78 uint32* curruns; /* runs for current line */
355 * runs generated during G3/G4 decoding.
358 _TIFFFax3fillruns(tif_char* buf, uint32* runs, uint32* erun, uint32 lastx) argument
367 if ((erun-runs)&1)
370 for (; runs < erun; runs += 2) {
371 run = runs[
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/random_file_actions/
H A Drandom_file_actions.cpp155 " -r, --runs=<count>\t\tThe number of actions to perform.\n"
167 " -c, --check-interval=<count>\tCheck after every <count> runs. "
707 {"runs", required_argument, 0, 'r'},
725 uint32 runs = kDefaultRunCount; local
743 runs = strtoul(optarg, NULL, 0);
744 if (runs < 1)
745 runs = 1;
819 verbose("%lu runs, %lu files (up to %s in size), %lu dirs, seed %lu\n", runs,
822 for (sRun = 0; sRun < runs; sRu
[all...]
/haiku-fatelf/src/libs/tiff/
H A Dtif_fax3.c80 uint32* runs; /* b&w runs for current/previous row */ member in struct:__anon5203
81 uint32* refruns; /* runs for reference line */
82 uint32* curruns; /* runs for current line */
363 * runs generated during G3/G4 decoding.
366 _TIFFFax3fillruns(unsigned char* buf, uint32* runs, uint32* erun, uint32 lastx) argument
375 if ((erun-runs)&1)
378 for (; runs < erun; runs += 2) {
379 run = runs[
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/
H A DInode.cpp1683 block_run* runs = (block_run*)cached.SetToWritable(transaction, local
1685 if (runs == NULL)
1693 ranges with the runs.
1831 block_run* runs = NULL; local
1845 runs = (block_run*)cached.SetTo(data->indirect);
1853 if ((runs = (block_run*)cached.SetTo(block + i)) == NULL)
1857 if (runs[free].IsZero())
1864 runs = NULL;
1867 if (runs != NULL) {
1874 if (free > 0 && runs[las
1981 block_run* runs = (block_run*)cachedDirect.SetToWritable( local
2382 block_run* runs = (block_run*)cached.SetTo(block + j); local
2417 block_run* runs = (block_run*)directCached.SetTo(block + j); local
[all...]
H A DJournal.cpp19 block_run runs[0]; member in struct:run_array
27 const block_run& RunAt(int32 i) const { return runs[i]; }
207 runs[CountRuns()] = run;
210 memmove(&runs[index + 1], &runs[index],
212 runs[index] = run;
251 int cmp = _Compare(runs[i], run);
260 if (_Compare(runs[i], run) < 0)
264 if (_Compare(runs[i], run) > 0)
303 block_run& arrayRun = array->runs[
[all...]
/haiku-fatelf/src/kits/interface/
H A DTextView.cpp1220 // update the style runs
1739 const text_run_array *runs = inRuns; local
1751 oneRun.runs[0] = inRuns->runs[0];
1752 oneRun.runs[0].offset = 0;
1753 runs = &oneRun;
1766 _SetRunArray(startOffset, endOffset, runs);
1803 runArray->runs[i].offset = styleRange->runs[i].offset;
1804 runArray->runs[
[all...]
/haiku-fatelf/src/apps/mail/
H A DContent.cpp454 text_run* runs = style->runs;
542 runs[index].offset = pos;
543 runs[index].font = font;
544 runs[index].color = level > 0
566 runs[index].offset = pos;
567 runs[index].font = font;
569 runs[index].color = kDiffColors[diff_mode('@') - 1];
571 runs[index].color = level > 0
574 runs[inde
[all...]
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DBitmap.cpp213 int32 runs = bytes / sizeof(block_run);
214 for (int32 i = 0; i < runs; i++) {

Completed in 258 milliseconds

123