Searched refs:offsets (Results 1 - 25 of 53) sorted by relevance

123

/haiku-fatelf/src/tests/servers/app/draw_string_offsets/
H A Dmain.cpp34 BPoint offsets[5]; local
35 offsets[0].x = 10;
36 offsets[0].y = 10;
37 offsets[1].x = 15;
38 offsets[1].y = 10;
39 offsets[2].x = 20;
40 offsets[2].y = 18;
41 offsets[3].x = 23;
42 offsets[3].y = 12;
43 offsets[
[all...]
/haiku-fatelf/src/tests/system/kernel/cache/
H A DBlockMapTest.cpp41 printf("Adding %ld offsets from 0 to %Ld...\n", kLoops, kSize);
43 off_t offsets[kLoops]; local
48 } while (offset_in_array(offsets, i, offset) >= B_OK);
50 offsets[i] = offset;
51 map.Set(offsets[i], i + 1);
54 printf("Testing all offsets in the map...\n");
58 int32 index = offset_in_array(offsets, kLoops, offset);
76 map.Remove(offsets[kLoops - 1]);
78 if (map.Get(offsets[kLoops - 1], address) == B_OK)
79 fprintf(stderr, " Removing offset %Ld failed (got address %lx)!\n", offsets[kLoop
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/
H A Dalloc_entry.c148 int offsets[MAX_ENTRY_SIZE / 2], useoffsets[MAX_USES]; local
177 offsets[i] = ABSENT_OFFSET;
179 offsets[i] = CANCELLED_OFFSET;
181 offsets[i] = tp->Strings[i] - stringbuf;
197 if (offsets[i] == ABSENT_OFFSET)
199 else if (offsets[i] == CANCELLED_OFFSET)
202 tp->Strings[i] = tp->str_table + offsets[i];
211 offsets[i] = tp->ext_Names[i] - stringbuf;
217 strcpy(tp->ext_Names[i], stringbuf + offsets[i]);
H A Dwrite_entry.c368 compute_offsets(char **Strings, unsigned strmax, short *offsets) argument
375 offsets[i] = -1;
377 offsets[i] = -2;
379 offsets[i] = nextfree;
415 short offsets[MAX_ENTRY_SIZE / 2]; local
456 nextfree = compute_offsets(tp->Strings, strmax, offsets);
490 TRACE_OUT(("String offsets begin at %04lx", ftell(fp)));
492 /* the string offsets */
493 convert_shorts(buf, offsets, strmax);
512 nextfree = compute_offsets(tp->Strings + STRCOUNT, tp->ext_Strings, offsets);
[all...]
/haiku-fatelf/src/servers/app/font/
H A DGlyphLayoutEngine.h96 const BPoint* offsets = NULL,
176 const BPoint* offsets, FontCacheReference* _cacheReference)
206 if (offsets) {
207 x = offsets[0].x;
208 y = offsets[0].y;
221 if (offsets) {
224 x = offsets[index].x;
225 y = offsets[index].y;
172 LayoutGlyphs(GlyphConsumer& consumer, const ServerFont& font, const char* utf8String, int32 length, const escapement_delta* delta, bool kerning, uint8 spacing, const BPoint* offsets, FontCacheReference* _cacheReference) argument
/haiku-fatelf/src/libs/ncurses/test/
H A Dknight.c59 } offsets[] = { variable in typeref:struct:__anon4875
191 for (n = 0; n < SIZEOF(offsets); n++)
192 if (chksqr(rw + offsets[n].y, col + offsets[n].x))
268 for (n = 0; n < SIZEOF(offsets); n++) {
269 if (chksqr(prow + offsets[n].y, pcol + offsets[n].x)) {
270 cellmove(prow + offsets[n].y, pcol + offsets[n].x);
289 for (j = 0; j < SIZEOF(offsets) *
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Dwheel-gen.pl81 /* The first $ws_m1 elements correspond to the incremental offsets of the
/haiku-fatelf/src/servers/app/drawing/Painter/
H A DAGGTextRenderer.h58 uint32 length, const BPoint* offsets,
H A DAGGTextRenderer.cpp352 const BPoint* offsets, const BRect& clippingFrame, bool dryRun,
379 fKerning, B_BITMAP_SPACING, offsets, cacheReference);
351 RenderString(const char* string, uint32 length, const BPoint* offsets, const BRect& clippingFrame, bool dryRun, BPoint* nextCharPos, FontCacheReference* cacheReference) argument
H A DPainter.h199 uint32 length, const BPoint* offsets,
209 uint32 length, const BPoint* offsets,
/haiku-fatelf/src/bin/gdb/gdb/
H A Dsomsolib.c1392 struct section_offsets *offsets)
1398 /* Oh what a pain! We need the offsets before so_list->objfile
1405 offsets->offsets[SECT_OFF_TEXT (objfile)]
1408 offsets->offsets[SECT_OFF_RODATA (objfile)]
1409 = ANOFFSET (offsets, SECT_OFF_TEXT (objfile));
1418 offsets->offsets[SECT_OFF_DATA (objfile)] = 0;
1419 offsets
1391 som_solib_section_offsets(struct objfile *objfile, struct section_offsets *offsets) argument
[all...]
H A Drs6000-tdep.c345 const struct ppc_reg_offsets *offsets = regset->descr;
349 for (i = tdep->ppc_gp0_regnum, offset = offsets->r0_offset;
358 ppc_supply_reg (regcache, PC_REGNUM, gregs, offsets->pc_offset);
361 gregs, offsets->ps_offset);
364 gregs, offsets->cr_offset);
367 gregs, offsets->lr_offset);
370 gregs, offsets->ctr_offset);
373 gregs, offsets->cr_offset);
375 ppc_supply_reg (regcache, tdep->ppc_mq_regnum, gregs, offsets->mq_offset);
388 const struct ppc_reg_offsets *offsets
344 const struct ppc_reg_offsets *offsets = regset->descr; local
387 const struct ppc_reg_offsets *offsets = regset->descr; local
419 const struct ppc_reg_offsets *offsets = regset->descr; local
466 const struct ppc_reg_offsets *offsets = regset->descr; local
[all...]
H A Dsymtab.h744 Each struct contains an array of offsets.
745 The ordering and meaning of the offsets is file-type-dependent;
750 of these offsets, the ANOFFSET macro must be used to insert and
755 CORE_ADDR offsets[1]; /* As many as needed. */
761 : secoff->offsets[whichone])
766 + sizeof (((struct section_offsets *) 0)->offsets) * ((n)-1))
906 /* Set of relocation offsets to apply to each section. */
752 CORE_ADDR offsets[1]; /* As many as needed. */ member in struct:section_offsets
H A Dsymfile.c457 for the objectfile OBJFILE and stuffs ADDR into all of the offsets. */
472 /* Now calculate offsets for section that were specified by the
482 /* Record all sections in offsets */
485 (objfile->section_offsets)->offsets[osp->sectindex] = osp->addr;
500 an 'add-symbol-file' command, then this is the list of offsets and
510 OFFSETS is a table of section offsets already in the right
512 elements present in OFFSETS->offsets. If OFFSETS is non-zero, we
529 struct section_offsets *offsets,
537 gdb_assert (! (addrs && offsets));
552 if (! addrs && ! offsets)
526 syms_from_objfile(struct objfile *objfile, struct section_addr_info *addrs, struct section_offsets *offsets, int num_offsets, int mainline, int verbo) argument
792 symbol_file_add_with_addrs_or_offsets(bfd *abfd, int from_tty, struct section_addr_info *addrs, struct section_offsets *offsets, int num_offsets, int mainline, int flags) argument
1835 struct section_offsets *offsets; local
[all...]
H A Dhppa-linux-nat.c35 #include <asm/offsets.h>
45 Some sort of lookup table is needed because the offsets associated
H A Drs6000-nat.c695 /* If symbols are not yet loaded, offsets are not yet valid. */
703 new_offsets->offsets[i] = ANOFFSET (objfile->section_offsets, i);
707 new_offsets->offsets[SECT_OFF_TEXT (objfile)] = vp->tstart - vp->tvma;
708 new_offsets->offsets[SECT_OFF_DATA (objfile)] = vp->dstart - vp->dvma;
709 new_offsets->offsets[SECT_OFF_BSS (objfile)] = vp->dstart - vp->dvma;
H A Dsolib-haiku.c179 new_offsets->offsets[i] = displacement;
/haiku-fatelf/src/bin/coreutils/lib/
H A Dregex_internal.c153 if (pstr->offsets != NULL)
155 Idx *new_offsets = re_realloc (pstr->offsets, Idx, new_buf_len);
158 pstr->offsets = new_offsets;
407 if (pstr->offsets == NULL)
409 pstr->offsets = re_malloc (Idx, pstr->bufs_len);
411 if (pstr->offsets == NULL)
417 pstr->offsets[i] = i;
423 pstr->offsets[byte_idx] = src_idx;
426 pstr->offsets[byte_idx + i]
449 pstr->offsets[byte_id
[all...]
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dregex_internal.c148 if (pstr->offsets != NULL)
150 Idx *new_offsets = re_realloc (pstr->offsets, Idx, new_buf_len);
153 pstr->offsets = new_offsets;
402 if (pstr->offsets == NULL)
404 pstr->offsets = re_malloc (Idx, pstr->bufs_len);
406 if (pstr->offsets == NULL)
412 pstr->offsets[i] = i;
418 pstr->offsets[byte_idx] = src_idx;
421 pstr->offsets[byte_idx + i]
444 pstr->offsets[byte_id
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/regex/
H A Dregex_internal.c141 if (pstr->offsets != NULL)
143 int *new_offsets = re_realloc (pstr->offsets, int, new_buf_len);
146 pstr->offsets = new_offsets;
395 if (pstr->offsets == NULL)
397 pstr->offsets = re_malloc (int, pstr->bufs_len);
399 if (pstr->offsets == NULL)
405 pstr->offsets[i] = i;
411 pstr->offsets[byte_idx] = src_idx;
414 pstr->offsets[byte_idx + i]
437 pstr->offsets[byte_id
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/test/
H A Dparse-escp249 @offsets);
287 my ($offset) = $offsets[$color];
376 @offsets[$key] = $val;
/haiku-fatelf/src/bin/network/tcpdump/libpcap/msdos/
H A Dpkt_rx1.s30 _rxOutOfs dw offset _pktRxBuf ; ring buffer offsets
/haiku-fatelf/src/servers/app/drawing/
H A DDrawingEngine.h173 const BPoint* offsets);
/haiku-fatelf/src/servers/app/drawing/html5/
H A DHTML5DrawingEngine.h141 const BPoint* offsets);
/haiku-fatelf/src/servers/app/drawing/remote/
H A DRemoteDrawingEngine.h140 const BPoint* offsets);

Completed in 414 milliseconds

123