/haiku-fatelf/src/add-ons/translators/gif/ |
H A D | LoadPalette.cpp | 27 // Never index into pal directly - this function is safe 28 uint32 LoadPalette::ColorForIndex(int index) { argument 29 if (index >= 0 && index <= size) { 30 if (usetransparent && index == transparentindex) return B_TRANSPARENT_MAGIC_RGBA32; 31 else return data[index]; 37 void LoadPalette::SetColor(int index, uint8 red, uint8 green, uint8 blue) { argument 38 if (index < 0 || index > 255) return; 39 data[index] [all...] |
/haiku-fatelf/headers/os/support/ |
H A D | TLS.h | 29 tls_get(int32 index) argument 34 : "=a"(ret) : "d"(index) ); 39 tls_address(int32 index) argument 45 : "=a"(ret) : "d"(index) ); 50 tls_set(int32 index, void *value) argument 54 : : "d"(index), "a"(value) ); 59 extern void *tls_get(int32 index); 60 extern void **tls_address(int32 index); 61 extern void tls_set(int32 index, void *value);
|
/haiku-fatelf/src/system/libroot/os/arch/arm/ |
H A D | tls.c | 35 tls_get(int32 index) argument 37 return gSlots[index]; 42 tls_address(int32 index) argument 44 return &gSlots[index]; 49 tls_set(int32 index, void *value) argument 51 gSlots[index] = value;
|
/haiku-fatelf/src/system/libroot/os/arch/m68k/ |
H A D | tls.c | 35 tls_get(int32 index) argument 37 return gSlots[index]; 42 tls_address(int32 index) argument 44 return &gSlots[index]; 49 tls_set(int32 index, void *value) argument 51 gSlots[index] = value;
|
/haiku-fatelf/src/system/libroot/os/arch/mipsel/ |
H A D | tls.c | 35 tls_get(int32 index) argument 37 return gSlots[index]; 42 tls_address(int32 index) argument 44 return &gSlots[index]; 49 tls_set(int32 index, void *value) argument 51 gSlots[index] = value;
|
/haiku-fatelf/src/system/libroot/os/arch/ppc/ |
H A D | tls.c | 35 tls_get(int32 index) argument 37 return gSlots[index]; 42 tls_address(int32 index) argument 44 return &gSlots[index]; 49 tls_set(int32 index, void *value) argument 51 gSlots[index] = value;
|
/haiku-fatelf/src/system/libroot/os/arch/x86/ |
H A D | tls.c | 31 tls_get(int32 index) argument 36 : "=a"(ret) : "d"(index) ); 42 tls_address(int32 index) argument 48 : "=a"(ret) : "d"(index) ); 54 tls_set(int32 index, void *value) argument 58 : : "d"(index), "a"(value) );
|
/haiku-fatelf/src/tests/kits/net/preflet/DummyAddOn/ |
H A D | DummyAddOn.cpp | 12 get_nth_addon(image_id image, int index) argument 14 if (index != 0)
|
/haiku-fatelf/src/add-ons/media/plugins/mp4_reader/libMP4/ |
H A D | BitParser.cpp | 33 this->index = 0; 39 index = 1; 50 this->index = 1; 58 index++; 61 if (index > 8) { 62 index = 1; 79 result += (*bits) & (uint8)(pow(2, 8-index)) ? 1 : 0; 80 index++; 83 if (index > 8) { 84 index [all...] |
/haiku-fatelf/src/preferences/time/ |
H A D | Bitmaps.cpp | 30 for (int32 index = 0; index < bitsLength; index++) 31 if (bits[index] == B_TRANSPARENT_8_BIT) 32 bits[index] = withIndex;
|
/haiku-fatelf/src/system/libroot/posix/stdlib/ |
H A D | pty.cpp | 33 int32 index; local 34 if (ioctl(masterFD, B_IOCTL_GET_TTY_INDEX, &index, sizeof(index)) < 0) 41 char(letter + index / 16), index % 16);
|
/haiku-fatelf/src/apps/debugger/arch/x86/ |
H A D | CpuStateX86.cpp | 77 int32 index = reg->Index(); local 78 if (!IsRegisterSet(index)) 81 if (index >= X86_INT_REGISTER_END) 85 _value.SetTo((uint16)fIntRegisters[index]); 87 _value.SetTo(fIntRegisters[index]); 96 int32 index = reg->Index(); local 97 if (index >= X86_INT_REGISTER_END) 100 fIntRegisters[index] = value.ToUInt32(); 101 fSetRegisters[index] = 1; 107 CpuStateX86::IsRegisterSet(int32 index) cons 124 SetIntRegister(int32 index, uint32 value) argument 135 UnsetRegister(int32 index) argument [all...] |
/haiku-fatelf/src/apps/debugger/arch/x86_64/ |
H A D | CpuStateX8664.cpp | 82 int32 index = reg->Index(); local 83 if (!IsRegisterSet(index)) 86 if (index >= X86_64_INT_REGISTER_END) 90 _value.SetTo((uint16)fIntRegisters[index]); 92 _value.SetTo(fIntRegisters[index]); 101 int32 index = reg->Index(); local 102 if (index >= X86_64_INT_REGISTER_END) 105 fIntRegisters[index] = value.ToUInt64(); 106 fSetRegisters[index] = 1; 112 CpuStateX8664::IsRegisterSet(int32 index) cons 129 SetIntRegister(int32 index, uint64 value) argument 140 UnsetRegister(int32 index) argument [all...] |
/haiku-fatelf/headers/private/app/ |
H A D | ServerReadOnlyMemory.h | 39 index_to_color_which(int32 index) argument 41 if (index >= 0 && index < kNumColors) { 42 if ((color_which)index < B_LIST_SELECTED_ITEM_TEXT_COLOR) 43 return (color_which)(index + 1); 45 return (color_which)(index + B_SUCCESS_COLOR
|
/haiku-fatelf/headers/private/shared/ |
H A D | Array.h | 37 inline bool Insert(const Element& element, int32 index); 38 inline bool InsertUninitialized(int32 index, int32 count); 39 inline bool Remove(int32 index, int32 count = 1); 44 inline Element& ElementAt(int32 index); 45 inline const Element& ElementAt(int32 index) const; 47 inline Element& operator[](int32 index); 48 inline const Element& operator[](int32 index) const; 55 bool _Resize(int32 index, int32 delta); 115 Array<Element>::Insert(const Element& element, int32 index) argument 117 if (index < 131 InsertUninitialized(int32 index, int32 count) argument 148 Remove(int32 index, int32 count) argument 199 ElementAt(int32 index) argument 215 operator [](int32 index) argument 246 _Resize(int32 index, int32 delta) argument [all...] |
/haiku-fatelf/src/add-ons/print/drivers/pcl6/ |
H A D | DeltaRowCompression.h | 48 // Returns the index where seed row and row differ 50 inline int DiffersIndex(const uchar* row, int index) argument 52 while (index < fSize) { 53 if (fSeedRow[index] != row[index]) 54 return index; 55 index ++; 61 // starting at the specified index. 62 inline int DiffersLength(const uchar* row, int index) argument 64 int startIndex = index; [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/ |
H A D | IndexDirectory.cpp | 76 // create the index 77 AttributeIndex *index = NULL; local 80 index = new(nothrow) AttributeIndexImpl(fVolume, 84 index = new(nothrow) AttributeIndexImpl(fVolume, 88 index = new(nothrow) AttributeIndexImpl(fVolume, 92 index = new(nothrow) AttributeIndexImpl(fVolume, 96 index = new(nothrow) AttributeIndexImpl(fVolume, 100 index = new(nothrow) AttributeIndexImpl(fVolume, 104 index = new(nothrow) AttributeIndexImpl(fVolume, 111 if (error == B_OK && !index) 138 DeleteIndex(Index *index) argument 159 Index *index = fIndices.ItemAt(i); local 171 Index *index = FindIndex(name); local [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/ |
H A D | IndexDirectory.cpp | 76 // create the index 77 AttributeIndex *index = NULL; local 80 index = new(nothrow) AttributeIndexImpl(fVolume, 84 index = new(nothrow) AttributeIndexImpl(fVolume, 88 index = new(nothrow) AttributeIndexImpl(fVolume, 92 index = new(nothrow) AttributeIndexImpl(fVolume, 96 index = new(nothrow) AttributeIndexImpl(fVolume, 100 index = new(nothrow) AttributeIndexImpl(fVolume, 104 index = new(nothrow) AttributeIndexImpl(fVolume, 111 if (error == B_OK && !index) 138 DeleteIndex(Index *index) argument 159 Index *index = fIndices.ItemAt(i); local 171 Index *index = FindIndex(name); local [all...] |
/haiku-fatelf/src/bin/coreutils/man/ |
H A D | ptx.x | 2 ptx \- produce a permuted index of file contents
|
/haiku-fatelf/src/kits/interface/textview_support/ |
H A D | LineBuffer.cpp | 25 BTextView::LineBuffer::InsertLine(STELine* inLine, int32 index) argument 27 InsertItemsAt(1, index, inLine); 32 BTextView::LineBuffer::RemoveLines(int32 index, int32 count) argument 34 RemoveItemsAt(count, index); 57 int32 index = 0; local 60 index = (minIndex + maxIndex) >> 1; 61 if (offset >= fBuffer[index].offset) { 62 if (offset < fBuffer[index + 1].offset) 65 minIndex = index + 1; 67 maxIndex = index; 79 int32 index = 0; local 97 BumpOrigin(float delta, int32 index) argument 105 BumpOffset(int32 delta, int32 index) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | IndirectItem.h | 45 uint64 BlockNumberAt(int32 index) const 48 if (index >= 0 && index < (int32)CountBlocks()) 49 number = le2h(((uint32*)GetData())[index]);
|
/haiku-fatelf/src/bin/gdb/libiberty/ |
H A D | index.c | 1 /* Stub implementation of (obsolete) index(). */ 5 @deftypefn Supplemental char* index (char *@var{s}, int @var{c}) 8 the string @var{s}, or @code{NULL} if not found. The use of @code{index} is 18 index (s, c) function
|
/haiku-fatelf/src/kits/tracker/ |
H A D | PendingNodeMonitorCache.cpp | 106 for (int32 index = count - 1; index >= 0; index--) 107 if (fList.ItemAt(index)->Match(nodeRef)) 108 delete fList.RemoveItemAt(index); 117 for (int32 index = count - 1; index >= 0; index--) 118 if (fList.ItemAt(index)->TooOld(now)) { 120 delete fList.RemoveItemAt(index); [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/reiserfs/ |
H A D | IndirectItem.h | 45 uint64 BlockNumberAt(int32 index) const 48 if (index >= 0 && index < (int32)CountBlocks()) 49 number = le2h(((uint32*)GetData())[index]);
|
/haiku-fatelf/src/tests/kits/net/preflet/InterfacesAddOn/ |
H A D | InterfaceWindow.cpp | 69 for (int index = 0; index < MAX_PROTOCOLS; index++) 71 if (supportedFamilies[index].present) { 72 int inet_id = supportedFamilies[index].inet_id; 78 for (int index = 0; index < MAX_PROTOCOLS; index++) 80 if (supportedFamilies[index].present) { 81 int inet_id = supportedFamilies[index] [all...] |