Searched refs:Buf (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/shared/
H A Dbios_devmem.c43 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, argument
66 if (read(fd, Buf, Len) != Len)
H A Dbios_mmap.c44 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, argument
73 (void)memcpy(Buf, (void *)(ptr + Offset), Len);
105 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, argument
134 xf86SlowBCopyFromBus((unsigned char *)(base+Offset), Buf, Len);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/hurd/
H A Dhurd_mmap.c40 xf86ReadBIOS(unsigned long Base,unsigned long Offset,unsigned char *Buf,int Len) argument
85 memcpy(Buf,(void*)((int)addr + Offset), Len);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/
H A Dsparc64_video.c86 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, argument
H A Dppc_video.c103 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, argument
124 rv = read(kmem, Buf, Len);
H A Darm_video.c237 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, argument
266 (void)memcpy(Buf, (void *)(ptr + Offset), Len);
269 xf86MsgVerb(X_INFO, 3, "xf86ReadBIOS(%x, %x, Buf, %x)"
271 Base, Offset, Len, Buf[0], Buf[1], Buf[2], Buf[3]);
H A Dalpha_video.c364 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, argument
393 (void)memcpy(Buf, (void *)(ptr + Offset), Len);
396 xf86MsgVerb(X_INFO, 3, "xf86ReadBIOS(%x, %x, Buf, %x)"
398 Base, Offset, Len, Buf[0], Buf[1], Buf[2], Buf[3]);
H A Di386_video.c283 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, argument
317 (void)memcpy(Buf, (void *)(ptr + Offset), Len);
320 xf86MsgVerb(X_INFO, 3, "xf86ReadBIOS(%x, %x, Buf, %x)"
322 Base, Offset, Len, Buf[0], Buf[1], Buf[2], Buf[3]);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/int10/
H A Dgeneric.c80 read_legacy_video_BIOS(struct pci_device *dev, unsigned char *Buf) argument
93 if (pci_device_read_rom(dev, Buf) == 0) {
105 Buf[len] = src[len];
108 if ((Buf[0] == 0x55) && (Buf[1] == 0xAA) && (Buf[2] > 0x80)) {
110 Buf[len] = src[len];
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/
H A Dtest_isel.cpp68 layout(binding=0) buffer Buf {
148 layout(binding=1) buffer Buf {
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/
H A Dsun_vid.c184 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, argument
212 (void)memcpy(Buf, (void *)(ptr + Offset), Len);
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.h1429 // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state.
1432 char* Buf; // Text buffer // Read-write // [Resize] Can replace pointer / [Completion,History,Always] Only write to pointed data, don't replace the actual pointer! member in struct:ImGuiInputTextCallbackData
1435 bool BufDirty; // Set if you modify Buf/BufTextLen! // Write // [Completion,History,Always]
1582 ImVector<char> Buf; member in struct:ImGuiTextBuffer
1586 inline char operator[](int i) { IM_ASSERT(Buf.Data != NULL); return Buf.Data[i]; }
1587 const char* begin() const { return Buf.Data ? &Buf.front() : EmptyString; }
1588 const char* end() const { return Buf.Data ? &Buf
[all...]
H A Dimgui_demo.cpp3345 const char* word_end = data->Buf + data->CursorPos;
3347 while (word_start > data->Buf)
3369 data->DeleteChars((int)(word_start-data->Buf), (int)(word_end-word_start));
3393 data->DeleteChars((int)(word_start - data->Buf), (int)(word_end-word_start));
3452 ImGuiTextBuffer Buf; member in struct:ExampleAppLog
3467 Buf.clear();
3474 int old_size = Buf.size();
3477 Buf.appendfv(fmt, args);
3479 for (int new_size = Buf.size(); old_size < new_size; old_size++)
3480 if (Buf[old_siz
[all...]
H A Dimgui_widgets.cpp3017 char* dst = Buf + pos;
3018 const char* src = Buf + pos + bytes_count;
3045 IM_ASSERT(Buf == edit_state->TempBuffer.Data);
3048 Buf = edit_state->TempBuffer.Data;
3053 memmove(Buf + pos + new_text_len, Buf + pos, (size_t)(BufTextLen - pos));
3054 memcpy(Buf + pos, new_text, (size_t)new_text_len * sizeof(char));
3055 Buf[BufTextLen + new_text_len] = '\0';
3530 callback_data.Buf = edit_state.TempBuffer.Data;
3545 IM_ASSERT(callback_data.Buf
[all...]
H A Dimgui.cpp2133 const int write_off = (Buf.Size != 0) ? Buf.Size : 1;
2135 if (write_off + len >= Buf.Capacity)
2137 int new_capacity = Buf.Capacity * 2;
2138 Buf.reserve(needed_sz > new_capacity ? needed_sz : new_capacity);
2141 Buf.resize(needed_sz);
2142 memcpy(&Buf[write_off - 1], str, (size_t)len);
2143 Buf[write_off - 1 + len] = 0;
2168 const int write_off = (Buf.Size != 0) ? Buf
[all...]
H A Dimgui_internal.h1302 IM_ASSERT(tab->NameOffset != -1 && tab->NameOffset < TabsNames.Buf.Size);
1303 return TabsNames.Buf.Data + tab->NameOffset;
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.h1429 // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state.
1432 char* Buf; // Text buffer // Read-write // [Resize] Can replace pointer / [Completion,History,Always] Only write to pointed data, don't replace the actual pointer! member in struct:ImGuiInputTextCallbackData
1435 bool BufDirty; // Set if you modify Buf/BufTextLen! // Write // [Completion,History,Always]
1582 ImVector<char> Buf; member in struct:ImGuiTextBuffer
1586 inline char operator[](int i) { IM_ASSERT(Buf.Data != NULL); return Buf.Data[i]; }
1587 const char* begin() const { return Buf.Data ? &Buf.front() : EmptyString; }
1588 const char* end() const { return Buf.Data ? &Buf
[all...]
H A Dimgui_widgets.cpp3017 char* dst = Buf + pos;
3018 const char* src = Buf + pos + bytes_count;
3045 IM_ASSERT(Buf == edit_state->TempBuffer.Data);
3048 Buf = edit_state->TempBuffer.Data;
3053 memmove(Buf + pos + new_text_len, Buf + pos, (size_t)(BufTextLen - pos));
3054 memcpy(Buf + pos, new_text, (size_t)new_text_len * sizeof(char));
3055 Buf[BufTextLen + new_text_len] = '\0';
3530 callback_data.Buf = edit_state.TempBuffer.Data;
3545 IM_ASSERT(callback_data.Buf
[all...]
H A Dimgui.cpp2133 const int write_off = (Buf.Size != 0) ? Buf.Size : 1;
2135 if (write_off + len >= Buf.Capacity)
2137 int new_capacity = Buf.Capacity * 2;
2138 Buf.reserve(needed_sz > new_capacity ? needed_sz : new_capacity);
2141 Buf.resize(needed_sz);
2142 memcpy(&Buf[write_off - 1], str, (size_t)len);
2143 Buf[write_off - 1 + len] = 0;
2168 const int write_off = (Buf.Size != 0) ? Buf
[all...]
H A Dimgui_internal.h1302 IM_ASSERT(tab->NameOffset != -1 && tab->NameOffset < TabsNames.Buf.Size);
1303 return TabsNames.Buf.Data + tab->NameOffset;

Completed in 77 milliseconds