/haiku/src/tests/system/kernel/ |
H A D | mlock_test.cpp | 11 void* space = NULL; in main() local 12 area_id area = create_area("mlock test area", &space, B_EXACT_ADDRESS, in main() 16 int result = mlock(space + B_PAGE_SIZE, B_PAGE_SIZE * 7); in main() 19 result = munlock(space + 2 * B_PAGE_SIZE, B_PAGE_SIZE * 5); in main() 22 result = mlock(space + 2 * B_PAGE_SIZE, B_PAGE_SIZE * 3); in main() 25 result = mlock(space, B_PAGE_SIZE * 9); in main() 28 result = munlock(space + 4 * B_PAGE_SIZE, B_PAGE_SIZE * 5); in main() 31 result = munlock(space, B_PAGE_SIZE * 9); in main()
|
/haiku/src/system/kernel/vm/ |
H A D | VMAddressSpaceLocking.cpp | 55 AddressSpaceReadLocker::AddressSpaceReadLocker(VMAddressSpace* space, in AddressSpaceReadLocker() argument 61 SetTo(space, getNewReference); in AddressSpaceReadLocker() 108 AddressSpaceReadLocker::SetTo(VMAddressSpace* space, bool getNewReference) in SetTo() argument 112 fSpace = space; in SetTo() 183 AddressSpaceWriteLocker::AddressSpaceWriteLocker(VMAddressSpace* space, in AddressSpaceWriteLocker() argument 190 SetTo(space, getNewReference); in AddressSpaceWriteLocker() 235 AddressSpaceWriteLocker::SetTo(VMAddressSpace* space, bool getNewReference) in SetTo() argument 239 fSpace = space; in SetTo() 366 return b->space->ID() - a->space->ID(); in _CompareItems() 389 MultiAddressSpaceLocker::_IndexOfAddressSpace(VMAddressSpace* space) const in _IndexOfAddressSpace() [all …]
|
H A D | VMAddressSpaceLocking.h | 29 AddressSpaceReadLocker(VMAddressSpace* space, 35 void SetTo(VMAddressSpace* space, 56 AddressSpaceWriteLocker(VMAddressSpace* space, 62 void SetTo(VMAddressSpace* space, 109 VMAddressSpace* space; member 114 int32 _IndexOfAddressSpace(VMAddressSpace* space) 116 status_t _AddAddressSpace(VMAddressSpace* space,
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 453 int data_len, i, space; in ccmp_encrypt() local 468 space = m->m_len - (hdrlen + ccmp.ic_header); in ccmp_encrypt() 470 if (space > data_len) in ccmp_encrypt() 471 space = data_len; in ccmp_encrypt() 475 while (space >= AES_BLOCK_LEN) { in ccmp_encrypt() 477 pos += AES_BLOCK_LEN, space -= AES_BLOCK_LEN; in ccmp_encrypt() 485 if (space != 0) { in ccmp_encrypt() 489 CCMP_ENCRYPT(i, b, b0, pos, e, space); in ccmp_encrypt() 493 if (space != 0) { in ccmp_encrypt() 510 sp = space; in ccmp_encrypt() [all …]
|
/haiku/src/system/kernel/ |
H A D | commpage.cpp | 38 void* space = sFreeCommPageSpace; in allocate_commpage_entry() local 40 sCommPageAddress[entry] = (addr_t)space - (addr_t)sCommPageAddress; in allocate_commpage_entry() 43 return space; in allocate_commpage_entry() 50 void* space = allocate_commpage_entry(entry, size); in fill_commpage_entry() local 51 memcpy(space, copyFrom, size); in fill_commpage_entry() 52 return (addr_t)space - (addr_t)sCommPageAddress; in fill_commpage_entry()
|
/haiku/docs/user/interface/ |
H A D | _interface_intro.dox | 32 with enough space to be useful. You can start learning the Layout API 38 a specific space where these coordinates are interpreted. BView and 43 The initial coordinate space, from which all others are derived, is the 44 screen space. Its origin is at the center of the screen's top-left pixel. 46 space using the ConvertToScreen and ConvertFromScreen methods of 49 Each BWindow has its own coordinate space. Its origin is at the center of 52 this space. 54 Each BView also gets its own coordinate space. The origin is initially at the 58 Additionally, each BView also has a drawing space. This is further transformed 59 from the BView coordinate space by calls to SetOrigin, SetScale, SetTransform, [all …]
|
H A D | SpaceLayoutItem.dox | 27 \brief An empty layout item that expands into empty space based on its size 30 This class is a specialized layout item, that is used to distribute space 35 to the maximum space that is available. Let's say, you have a horizontal 37 with empty space in the middle. The middle element can be a glue element. 39 space. If the host view gets larger, the glue will expand. You can use the 64 \brief Create a space layout item with specific properties. 67 static methods to create common space items. 83 space layout item from an archived message you should call Instantiate() 86 \param archive The \ref BMessage that contains the space layout item. 163 \brief Set the visibility of this space layout item. [all …]
|
/haiku/src/add-ons/accelerants/radeon/ |
H A D | CP.c | 53 int space; in getAvailRingBuffer() local 55 space = in getAvailRingBuffer() 61 if( space <= 0 ) in getAvailRingBuffer() 62 space += cp->ring.size; in getAvailRingBuffer() 66 --space; in getAvailRingBuffer() 71 cp->ring.tail, space ); in getAvailRingBuffer() 73 LOG1( si->log, _GetAvailRingBufferQueue, space ); in getAvailRingBuffer() 75 cp->ring.space = space; in getAvailRingBuffer() 77 return space; in getAvailRingBuffer() 236 if( cp->ring.space < ring_tail_increment ) \ [all …]
|
/haiku/docs/develop/kernel/vm/ |
H A D | vm | 22 …Compares _a (an address space) to key to see if their id's are the same. If so, return 0, else ret… 34 …Finds this address space's structure. Iterates over the region list, looking for a match for name.… 37 …Allocates space for a region and its name. Populates the name. Gets a new region id and assigns it… 44 …space, name, wiring and lock. If this is a private map, create a new store, cache and cache_ref fo… 47 …Does some safety checking, copies the name and address to kernel space, calls vm_create_anonymous_… 50 …Gets the address space structure. Creates an anonymous store object, a (temporary) cache and a cac… 54 …ress space structure. Create a device store object, a cache and a cache_ref. Acquire a reference f… 57 …dress space structure. Create a null store object, a cache and a cache_ref. Acquire a reference fo… 60 Get the address space structure. Get the vnode from the path. If this cache doesn't already exist: 62 Acquire a ref to the cache_ref. map backing store, release the ref and put the address space. [all …]
|
H A D | swap_file_support.rst | 27 pages and swap space, so we can page in/out when needed. (2) manage the 28 allocation/deallocation of swap space. Let's see how these are implemented in 31 In order to maintain a map between pages and swap space, we need to record 40 Here is an example. Suppose a page has been paged out to swap space and now 66 The swap system also manages allocation/deallocation of swap space. In our 69 above picture). Swap page is the unit for swap space allocation/deallocation 70 and we use swap page index (slot index) as swap space address instead of offset. 85 Swap space allocation takes place when we swap anonymous pages out. 87 reserve swap space when it is initialized. If there is not enough swap space 88 left, physical memory will be reserved. Swap space deallocation happens when [all …]
|
H A D | vm_daemon | 4 Do we need free space? 11 Finds a region in this address space to scan. 17 …If the page is not accessed and is active and we need space (free_target), unmap it. If this is th… 19 Move to the next region in this address space, wrap around until we hit the first one. 22 Walk through every address space:
|
/haiku/src/system/libroot/os/arch/sparc/ |
H A D | fpu_implode.c | 511 __fpu_implode(fe, fp, type, space) in __fpu_implode() argument 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[0] = __fpu_ftoq(fe, fp, space); 548 space[0], space[1], space[2], space[3]));
|
/haiku/src/add-ons/accelerants/skeleton/engine/ |
H A D | general.c | 591 switch (target->space) in eng_general_validate_pic_size() 599 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() 608 switch (target->space) in eng_general_validate_pic_size() 616 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() 643 switch (target->space) in eng_general_validate_pic_size() 651 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() 679 switch(target->space) in eng_general_validate_pic_size() 687 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() 694 switch(target->space) in eng_general_validate_pic_size() 702 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() [all …]
|
/haiku/src/add-ons/translators/ppm/ |
H A D | PPMTranslator.cpp | 228 int* max, bool* ascii, color_space* space, bool* is_ppm, char** comment); 230 int* height, int* max, bool* ascii, color_space* space); 259 color_space space; in Identify() local 261 &ascii, &space, &is_ppm, NULL); in Identify() 309 color_space space; in Translate() local 314 &ascii, &space, &is_ppm, &comment); in Translate() 347 switch (space) { /* The 24-bit versions are pretty silly, use 32 in Translate() 355 out_space = space; in Translate() 403 out_rowbytes, width, out_space, space)); in Translate() 423 max, ascii, out_ascii, space, out_space); in Translate() [all …]
|
/haiku/headers/os/game/ |
H A D | WindowScreen.h | 26 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/3rdparty/pulkomandy/ |
H A D | checkstyle.vim | 7 " lines longer than 80 chars, missing space around operators or after keywords, 24 "missing space after control statement 26 " Missing space at comment start 30 "operator without space around it (without false positive on 33 "operator without space around it (without false positive on 40 call matchadd('Style', '){', -1) " Missing space after method header 44 call matchadd('Style', ',\S', -1) " Missing space after comma
|
/haiku/src/kits/interface/ |
H A D | GraphicsDefs.cpp | 97 get_pixel_size_for(color_space space, size_t *pixelChunk, size_t *rowAlignment, in get_pixel_size_for() argument 103 switch (space) { in get_pixel_size_for() 198 get_overlay_flags(color_space space) in get_overlay_flags() argument 202 link.Attach<uint32>((uint32)space); in get_overlay_flags() 215 bitmaps_support_space(color_space space, uint32 *supportFlags) in bitmaps_support_space() argument 218 switch (space) { in bitmaps_support_space() 228 | get_overlay_flags(space); in bitmaps_support_space() 244 *supportFlags = get_overlay_flags(space); in bitmaps_support_space()
|
/haiku/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | device.cpp | 182 color_space space in device_ioctl() local 183 = (color_space)info->shared_info->current_mode.space; in device_ioctl() 184 if (space != B_GRAY8 && space != B_CMAP8) in device_ioctl() 192 if (space != B_GRAY8) { in device_ioctl() 209 if (info->shared_info->current_mode.space != B_GRAY8 in device_ioctl()
|
/haiku/src/add-ons/accelerants/ati/ |
H A D | mode.cpp | 40 if (selectedMode == NULL || mode.space > selectedMode->space) in FindDisplayMode() 43 if (mode.space == colorDepth) in FindDisplayMode() 113 if (!gInfo.GetColorSpaceParams(mode->space, bitsPerPixel, maxPixelClock)) in IsModeUsable() 132 if (mode->space == uint32(si.colorSpaces[j])) { in IsModeUsable() 235 target->timing.pixel_clock, target->space); in ProposeDisplayMode() 246 && target->space == mode.space) in ProposeDisplayMode() 266 if ( ! gInfo.GetColorSpaceParams(mode.space, mode.bitsPerPixel, maxPixelClock)) in SetDisplayMode() 387 if ( ! gInfo.GetColorSpaceParams(mode->space, bitsPerPixel, maxPixelClock)) in GetPixelClockLimits()
|
/haiku/src/add-ons/accelerants/via/ |
H A D | SetDisplayMode.c | 153 switch(target.space) in SET_DISPLAY_MODE() 177 switch(target2.space) in SET_DISPLAY_MODE() 269 switch(target.space) in SET_DISPLAY_MODE() 276 LOG(8,("SETMODE: Invalid singlehead colour depth 0x%08x\n", target.space)); in SET_DISPLAY_MODE() 350 switch(si->dm.space) in MOVE_DISPLAY() 361 LOG(8,("SET:Invalid DH colour depth 0x%08x, should never happen\n", si->dm.space)); in MOVE_DISPLAY() 367 switch(si->dm.space) in MOVE_DISPLAY() 441 if (si->dm.space != B_CMAP8) return; in SET_INDEXED_COLORS()
|
/haiku/data/system/data/KeyboardLayouts/ |
H A D | TypeMatrix 2030 | 7 $space = 90,18 16 [ 0,92; $led:-; d:0x5c; d:0x69; d:0x68; d:0x99; $space:0x5e; 18 [ 0,110; $led:-; d:0x99; d$large:0x66; d$large:0x5d; d$space:-; d:0x5f;
|
/haiku/src/add-ons/accelerants/via/engine/ |
H A D | general.c | 551 switch (target->space) in eng_general_validate_pic_size() 559 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() 572 switch (target->space) in eng_general_validate_pic_size() 580 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() 593 switch(target->space) in eng_general_validate_pic_size() 601 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() 608 switch(target->space) in eng_general_validate_pic_size() 616 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() 625 switch(target->space) in eng_general_validate_pic_size() 633 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space)); in eng_general_validate_pic_size() [all …]
|
/haiku/data/catalogs/add-ons/translators/ppm/ |
H A D | en_GB.catkeys | 4 Input color space: PPMTranslator Input colour space:
|
/haiku/src/build/libbe/interface/ |
H A D | GraphicsDefs.cpp | 53 get_pixel_size_for(color_space space, size_t *pixelChunk, size_t *rowAlignment, size_t *pixelsPerCh… in get_pixel_size_for() argument 58 switch (space) { in get_pixel_size_for() 153 bitmaps_support_space(color_space space, uint32 *supportFlags) in bitmaps_support_space() argument 159 switch (space) { in bitmaps_support_space()
|
/haiku/src/servers/app/ |
H A D | ServerBitmap.cpp | 59 ServerBitmap::ServerBitmap(BRect rect, color_space space, uint32 flags, in ServerBitmap() argument 72 fSpace(space), in ServerBitmap() 77 int32 minBytesPerRow = get_bytes_per_row(space, fWidth); in ServerBitmap() 218 UtilityBitmap::UtilityBitmap(BRect rect, color_space space, uint32 flags, in UtilityBitmap() argument 221 ServerBitmap(rect, space, flags, bytesPerRow, screen) in UtilityBitmap()
|