Searched refs:space (Results 1 - 25 of 219) sorted by relevance

123456789

/haiku/src/tests/system/kernel/
H A Dmlock_test.cpp11 void* space = NULL; local
12 area_id area = create_area("mlock test area", &space, B_EXACT_ADDRESS,
16 int result = mlock(space + B_PAGE_SIZE, B_PAGE_SIZE * 7);
19 result = munlock(space + 2 * B_PAGE_SIZE, B_PAGE_SIZE * 5);
22 result = mlock(space + 2 * B_PAGE_SIZE, B_PAGE_SIZE * 3);
25 result = mlock(space, B_PAGE_SIZE * 9);
28 result = munlock(space + 4 * B_PAGE_SIZE, B_PAGE_SIZE * 5);
31 result = munlock(space, B_PAGE_SIZE * 9);
/haiku/src/system/kernel/
H A Dcommpage.cpp38 void* space = sFreeCommPageSpace; local
40 sCommPageAddress[entry] = (addr_t)space - (addr_t)sCommPageAddress;
43 return space;
50 void* space = allocate_commpage_entry(entry, size); local
51 memcpy(space, copyFrom, size);
52 return (addr_t)space - (addr_t)sCommPageAddress;
89 // the next slot to allocate space is after the table
/haiku/src/system/kernel/vm/
H A DVMAddressSpaceLocking.cpp52 /*! Takes over the reference of the address space, if \a getNewReference is
55 AddressSpaceReadLocker::AddressSpaceReadLocker(VMAddressSpace* space, argument
61 SetTo(space, getNewReference);
101 /*! Takes over the reference of the address space, if \a getNewReference is
105 AddressSpaceReadLocker::SetTo(VMAddressSpace* space, bool getNewReference) argument
107 fSpace = space;
176 AddressSpaceWriteLocker::AddressSpaceWriteLocker(VMAddressSpace* space, argument
183 SetTo(space, getNewReference);
225 AddressSpaceWriteLocker::SetTo(VMAddressSpace* space, bool getNewReference) argument
227 fSpace = space;
385 _AddAddressSpace(VMAddressSpace* space, bool writeLock, VMAddressSpace** _space) argument
[all...]
H A DVMAddressSpaceLocking.h29 AddressSpaceReadLocker(VMAddressSpace* space,
35 void SetTo(VMAddressSpace* space,
56 AddressSpaceWriteLocker(VMAddressSpace* space,
62 void SetTo(VMAddressSpace* space,
109 VMAddressSpace* space; member in struct:MultiAddressSpaceLocker::lock_item
114 int32 _IndexOfAddressSpace(VMAddressSpace* space)
116 status_t _AddAddressSpace(VMAddressSpace* space,
/haiku/src/add-ons/translators/ppm/
H A Dcolorspace.h12 /* with rowbytes amount of pixel data into some other color space in */
24 /* color space in out_buf, where out_buf must be big enough. */
28 /* Given a specific number of pixels in width in the color space space */
30 int calc_rowbytes(color_space space, int width);
/haiku/src/servers/app/
H A DBitmapManager.h31 color_space space, uint32 flags,
38 color_space space, uint32 flags,
H A DServerBitmap.cpp51 \param space Color space of the bitmap
59 ServerBitmap::ServerBitmap(BRect rect, color_space space, uint32 flags, argument
72 fSpace(space),
77 int32 minBytesPerRow = get_bytes_per_row(space, fWidth);
209 printf("Bitmap@%p: (%" B_PRId32 ":%" B_PRId32 "), space %" B_PRId32 ", "
218 UtilityBitmap::UtilityBitmap(BRect rect, color_space space, uint32 flags, argument
221 ServerBitmap(rect, space, flags, bytesPerRow, screen)
/haiku/src/add-ons/accelerants/radeon/
H A DCP.c14 there is enough space in this FIFO. Unfortunately, ATI doesn't speak
21 0xf00 read-only PCI configuration space
30 space. As concurrent threads may do the same, register access should
53 int space; local
55 space =
59 //space = INREG( ai->regs, RADEON_CP_RB_RPTR ) - cp->ring.tail;
61 if( space <= 0 )
62 space += cp->ring.size;
66 --space;
68 SHOW_FLOW( 3, "head=%ld, tail=%ld, space
[all...]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto_ccmp.c455 int data_len, i, space; local
470 space = m->m_len - (hdrlen + ccmp.ic_header);
472 if (space > data_len)
473 space = data_len;
477 while (space >= AES_BLOCK_LEN) {
479 pos += AES_BLOCK_LEN, space -= AES_BLOCK_LEN;
487 if (space != 0) {
491 CCMP_ENCRYPT(i, b, b0, pos, e, space);
495 if (space != 0) {
505 * The buffer will automatically get space byte
606 u_int space; local
[all...]
H A Dieee80211_acl.c297 uint32_t i, space; local
304 space = as->as_nacls * IEEE80211_ADDR_LEN;
306 ireq->i_len = space; /* return required space */
309 ap = (struct ieee80211req_maclist *) IEEE80211_MALLOC(space,
320 if (ireq->i_len >= space) {
321 error = copyout(ap, ireq->i_data, space);
322 ireq->i_len = space;
/haiku/headers/os/game/
H A DWindowScreen.h26 BWindowScreen(const char* title, uint32 space,
28 BWindowScreen(const char* title, uint32 space,
45 status_t SetSpace(uint32 space);
64 status_t _InitData(uint32 space, uint32 attributes);
74 status_t _GetModeFromSpace(uint32 space, display_mode* mode);
/haiku/src/system/libroot/os/arch/sparc/
H A Dfpu_implode.c508 * Implode an fpn, writing the result into the given space.
511 __fpu_implode(fe, fp, type, space)
515 uint32_t *space;
520 space[0] = __fpu_ftox(fe, fp, space);
524 space[0] = __fpu_ftoi(fe, fp);
528 space[0] = __fpu_ftos(fe, fp);
532 space[0] = __fpu_ftod(fe, fp, space);
537 space[
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Ddevice.cpp182 color_space space local
183 = (color_space)info->shared_info->current_mode.space;
184 if (space != B_GRAY8 && space != B_CMAP8)
192 if (space != B_GRAY8) {
209 if (info->shared_info->current_mode.space != B_GRAY8
/haiku/src/add-ons/accelerants/skeleton/
H A DGetModeInfo.c62 switch (dm->space)
99 switch (dm->space)
122 switch (dm->space)
/haiku/src/add-ons/accelerants/via/
H A DGetModeInfo.c62 switch (dm->space)
99 switch (dm->space)
122 switch (dm->space)
H A DSetDisplayMode.c153 switch(target.space)
177 switch(target2.space)
269 switch(target.space)
276 LOG(8,("SETMODE: Invalid singlehead colour depth 0x%08x\n", target.space));
350 switch(si->dm.space)
361 LOG(8,("SET:Invalid DH colour depth 0x%08x, should never happen\n", si->dm.space));
367 switch(si->dm.space)
441 if (si->dm.space != B_CMAP8) return;
/haiku/src/preferences/screensaver/
H A DScreenSaverWindow.h35 virtual void ScreenChanged(BRect frame, color_space space);
/haiku/src/servers/app/drawing/
H A DBitmapDrawingEngine.h26 color_space space);
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dgeneral.c329 /* dump config space as it is after a possible coldstart attempt */
591 switch (target->space)
599 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
608 switch (target->space)
616 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
643 switch (target->space)
651 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
[all...]
/haiku/src/tests/kits/interface/
H A DScreenTest.cpp22 printf("width: %d, height: %d, space: %lu\n",
25 oldMode.space);
44 printf("width: %d, height: %d, space: %lu\n",
47 newMode.space);
/haiku/src/preferences/screen/
H A DScreenMode.h24 color_space space; member in struct:screen_mode
60 color_space space);
/haiku/src/kits/interface/
H A DGraphicsDefs.cpp97 get_pixel_size_for(color_space space, size_t *pixelChunk, size_t *rowAlignment, argument
103 switch (space) {
198 get_overlay_flags(color_space space) argument
202 link.Attach<uint32>((uint32)space);
215 bitmaps_support_space(color_space space, uint32 *supportFlags) argument
218 switch (space) {
228 | get_overlay_flags(space);
244 *supportFlags = get_overlay_flags(space);
/haiku/src/add-ons/accelerants/3dfx/
H A Dmode.cpp50 if (!TDFX_GetColorSpaceParams(mode->space, bitsPerPixel))
61 // Is the color space supported?
65 if (mode->space == uint32(si.colorSpaces[j])) {
140 TRACE("ProposeDisplayMode() %dx%d, pixel clock: %d kHz, space: 0x%X\n",
142 target->timing.pixel_clock, target->space);
160 && target->space == mode.space)
179 if (!TDFX_GetColorSpaceParams(mode.space, mode.bitsPerPixel))
301 if (!TDFX_GetColorSpaceParams(mode->space, bitsPerPixel))
/haiku/src/add-ons/accelerants/intel_810/
H A Dmode.cpp51 if (!I810_GetColorSpaceParams(mode->space, bitsPerPixel, maxPixelClock))
62 // Is the color space supported?
66 if (mode->space == uint32(si.colorSpaces[j])) {
143 TRACE("ProposeDisplayMode() %dx%d, pixel clock: %d kHz, space: 0x%X\n",
145 target->timing.pixel_clock, target->space);
156 && target->space == mode.space)
176 if (!I810_GetColorSpaceParams(mode.space, mode.bitsPerPixel, maxPixelClock))
296 if (!I810_GetColorSpaceParams(mode->space, bitsPerPixel, maxPixelClock))
/haiku/src/add-ons/accelerants/et6x00/
H A DProposeDisplayMode.c126 /* poke the specific space */
127 dst->space = low.space = high.space = spaces[j];

Completed in 123 milliseconds

123456789