Searched refs:index (Results 1 - 25 of 1829) sorted by relevance

1234567891011>>

/haiku/src/libs/libunwind/unwind/
H A DSetGR.c32 _Unwind_SetGR (struct _Unwind_Context *context, int index, argument
36 index = dwarf_to_unw_regnum(index);
38 unw_set_reg (&context->cursor, index, new_value);
40 if (index >= UNW_IA64_GR && index <= UNW_IA64_GR + 127)
42 unw_set_reg (&context->cursor, UNW_IA64_NAT + (index - UNW_IA64_GR), 0);
H A DGetGR.c29 _Unwind_GetGR (struct _Unwind_Context *context, int index) argument
33 if (index == UNW_REG_SP && context->end_of_stack)
38 unw_get_reg (&context->cursor, index, &val);
/haiku/src/add-ons/translators/gif/
H A DLoadPalette.cpp34 LoadPalette::ColorForIndex(int index) argument
36 // never index into pal directly - this function is safe
37 if (index >= 0 && index <= size) {
38 if (usetransparent && index == transparentindex)
41 return data[index];
48 LoadPalette::SetColor(int index, uint8 red, uint8 green, uint8 blue) argument
50 if (index < 0 || index > 255)
53 data[index]
[all...]
/haiku/headers/os/support/
H A DTLS.h29 tls_get(int32 index) argument
34 : "=r" (ret) : "r" (index));
39 tls_address(int32 index) argument
45 : "=&r" (ret) : "r" (index));
50 tls_set(int32 index, void *value) argument
54 : : "r" (index), "r" (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/src/system/libroot/os/arch/arm/
H A Dtls.c35 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/src/system/libroot/os/arch/m68k/
H A Dtls.c35 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/src/system/libroot/os/arch/ppc/
H A Dtls.c35 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/src/system/libroot/os/arch/riscv64/
H A Dtls.c35 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/src/system/libroot/os/arch/sparc/
H A Dtls.c35 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/docs/interface_guidelines/
H A Dconvert.sh6 xmlto $1 index.xml --skip-validation
/haiku/src/preferences/time/
H A DBitmaps.cpp30 for (int32 index = 0; index < bitsLength; index++)
31 if (bits[index] == B_TRANSPARENT_8_BIT)
32 bits[index] = withIndex;
/haiku/src/system/libroot/posix/stdlib/
H A Dpty.cpp33 int32 index; local
34 if (ioctl(masterFD, B_IOCTL_GET_TTY_INDEX, &index, sizeof(index)) < 0)
41 char(letter + index / 16), index % 16);
/haiku/headers/private/kernel/util/
H A DBitmap.h24 inline bool Get(int index) const;
25 inline void Set(int index);
26 inline void Clear(int index);
49 Bitmap::Get(int index) const
51 ASSERT(index < fSize);
53 const int kArrayElement = index / kBitsPerElement;
54 const addr_t kBitMask = addr_t(1) << (index % kBitsPerElement);
60 Bitmap::Set(int index)
62 ASSERT(index < fSize);
64 const int kArrayElement = index / kBitsPerElemen
[all...]
/haiku/src/kits/debugger/arch/x86/
H A DCpuStateX86.cpp194 int32 index = reg->Index(); local
195 if (!IsRegisterSet(index))
198 if (index >= X86_XMM_REGISTER_END)
203 _value.SetTo((uint16)fIntRegisters[index]);
205 _value.SetTo(fIntRegisters[index]);
207 index -= X86_REGISTER_ST0;
209 _value.SetTo((float)fFloatRegisters[index]);
211 _value.SetTo(fFloatRegisters[index]);
213 if (index >= X86_REGISTER_MM0 && index < X86_REGISTER_XMM
229 int32 index = reg->Index(); local
278 SetIntRegister(int32 index, uint32 value) argument
301 SetFloatRegister(int32 index, double value) argument
324 SetMMXRegister(int32 index, const uint8* value) argument
348 SetXMMRegister(int32 index, const uint8* value) argument
360 UnsetRegister(int32 index) argument
[all...]
/haiku/src/kits/tracker/
H A DPoseList.cpp47 for (int32 index = 0; index < count; index++) {
48 BPose* pose = ItemAt(index);
52 *resultingIndex = index;
66 for (int32 index = 0; index < count; index++) {
67 BPose* pose = ItemAt(index);
71 *resultingIndex = index;
[all...]
H A DPendingNodeMonitorCache.cpp108 for (int32 index = count - 1; index >= 0; index--)
109 if (fList.ItemAt(index)->Match(nodeRef))
110 delete fList.RemoveItemAt(index);
119 for (int32 index = count - 1; index >= 0; index--)
120 if (fList.ItemAt(index)->TooOld(now)) {
122 delete fList.RemoveItemAt(index);
[all...]
/haiku/headers/private/shared/
H A DArray.h37 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/headers/private/app/
H A DServerReadOnlyMemory.h20 // + 1 for index-offset, + 2 for B_SUCCESS_COLOR, B_FAILURE_COLOR
41 index_to_color_which(int32 index) argument
43 if (index >= 0 && index < kColorWhichCount) {
44 if ((color_which)index < kColorWhichCount - 3)
45 return (color_which)(index + 1);
47 return (color_which)(index + B_SUCCESS_COLOR
/haiku/src/add-ons/print/drivers/pcl6/
H A DDeltaRowCompression.h48 // 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/src/add-ons/kernel/file_systems/ramfs/
H A DIndexDirectory.cpp79 // create the index
80 AttributeIndex *index = NULL; local
83 index = new(nothrow) AttributeIndexImpl(fVolume,
87 index = new(nothrow) AttributeIndexImpl(fVolume,
91 index = new(nothrow) AttributeIndexImpl(fVolume,
95 index = new(nothrow) AttributeIndexImpl(fVolume,
99 index = new(nothrow) AttributeIndexImpl(fVolume,
103 index = new(nothrow) AttributeIndexImpl(fVolume,
107 index = new(nothrow) AttributeIndexImpl(fVolume,
114 if (error == B_OK && !index)
141 DeleteIndex(Index *index) argument
162 Index *index = fIndices.ItemAt(i); local
174 Index *index = FindIndex(name); local
[all...]
/haiku/src/kits/interface/textview_support/
H A DLineBuffer.cpp25 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...]
H A DLineBuffer.h31 void InsertLine(STELine* inLine, int32 index);
32 void RemoveLines(int32 index, int32 count = 1);
39 void BumpOrigin(float delta, int32 index);
40 void BumpOffset(int32 delta, int32 index);
44 STELine* operator[](int32 index) const;
56 BTextView::LineBuffer::operator[](int32 index) const
58 return &fBuffer[index];
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DIndirectItem.h45 uint64 BlockNumberAt(int32 index) const
48 if (index >= 0 && index < (int32)CountBlocks())
49 number = le2h(((uint32*)GetData())[index]);
/haiku/src/add-ons/network_settings/dialup/
H A DInterfaceUtils.cpp34 FindNextMenuInsertionIndex(BMenu *menu, const char *name, int32 index) argument
37 for(; index < menu->CountItems(); index++) {
38 item = menu->ItemAt(index);
40 return index;
43 return index;
50 int32 index = 0; local
52 for(; index < list->CountItems(); index++) {
53 item = static_cast<BStringItem*>(list->ItemAt(index));
[all...]
/haiku/src/bin/
H A Dsetusbconfig.cpp11 printf("usage: %s <device> <configuration index>\n", argv[0]);
21 uint32 index; local
22 if (sscanf(argv[2], "%lu", &index) != 1) {
23 printf("could not parse configuration index\n");
27 const BUSBConfiguration *config = device.ConfigurationAt(index);
29 printf("couldn't get configuration at %lu\n", index);
39 printf("configuration %lu set on device %s\n", index, argv[1]);

Completed in 141 milliseconds

1234567891011>>