| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/shared/ |
| bios_devmem.c | 43 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, 66 if (read(fd, Buf, Len) != Len)
|
| bios_mmap.c | 44 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, 73 (void)memcpy(Buf, (void *)(ptr + Offset), Len); 105 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, 134 xf86SlowBCopyFromBus((unsigned char *)(base+Offset), Buf, Len);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/hurd/ |
| hurd_mmap.c | 40 xf86ReadBIOS(unsigned long Base,unsigned long Offset,unsigned char *Buf,int Len) 85 memcpy(Buf,(void*)((int)addr + Offset), Len);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/ |
| sparc64_video.c | 86 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf,
|
| ppc_video.c | 103 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, 124 rv = read(kmem, Buf, Len);
|
| arm_video.c | 237 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, 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]);
|
| alpha_video.c | 364 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, 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]);
|
| i386_video.c | 283 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, 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/ |
| generic.c | 80 read_legacy_video_BIOS(struct pci_device *dev, unsigned char *Buf) 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/ |
| test_isel.cpp | 68 layout(binding=0) buffer Buf { 148 layout(binding=1) buffer Buf {
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/ |
| sun_vid.c | 184 xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, 212 (void)memcpy(Buf, (void *)(ptr + Offset), Len);
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| imgui.h | 447 IMGUI_API bool InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 448 IMGUI_API bool InputTextMultiline(const char* label, char* buf, size_t buf_size, const ImVec2& size = ImVec2(0,0), ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 1429 // - 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! 1435 bool BufDirty; // Set if you modify Buf/BufTextLen! // Write // [Completion,History,Always] 1582 ImVector<char> Buf; 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; [all...] |
| imgui_widgets.cpp | 100 static inline int DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* data_ptr, const char* format); 102 static bool DataTypeApplyOpFromText(const char* buf, const char* initial_value_buf, ImGuiDataType data_type, void* data_ptr, const char* format); 1537 static inline int DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* data_ptr, const char* format) 1540 return ImFormatString(buf, buf_size, format, *(const ImU32*)data_ptr); 1542 return ImFormatString(buf, buf_size, format, *(const ImU64*)data_ptr); 1544 return ImFormatString(buf, buf_size, format, *(const float*)data_ptr); 1546 return ImFormatString(buf, buf_size, format, *(const double*)data_ptr); 1588 static bool DataTypeApplyOpFromText(const char* buf, const char* initial_value_buf, ImGuiDataType data_type, void* data_ptr, const char* format) 1590 while (ImCharIsBlankA(*buf)) 1591 buf++ [all...] |
| imgui.cpp | 710 sprintf(buf, "My game (%f FPS)###MyGame", fps); 711 Begin(buf); // Variable title, ID = hash of "MyGame" 1007 static void SettingsHandlerWindow_WriteAll(ImGuiContext* imgui_ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* buf); 1307 void* buf = ImGui::MemAlloc(len + 1); 1308 return (char*)memcpy(buf, (const void*)str, len + 1); 1376 void ImStrTrimBlanks(char* buf) 1378 char* p = buf; 1386 if (p_start != buf) // Copy memory if we had leading blanks 1387 memmove(buf, p_start, p - p_start); 1388 buf[p - p_start] = 0; // Zero terminat 1516 ImVector<ImWchar> buf; local 7221 char buf[128]; local 7834 if (g.NavWindow) { ImU32 col = (!g.NavWindow->Hidden) ? IM_COL32(255,0,255,255) : IM_COL32(255,0,0,255); ImVec2 p = NavCalcPreferredRefPos(); char buf[32]; ImFormatString(buf, 32, "%d", g.NavLayer); GetOverlayDrawList(g.NavWindow)->AddCircleFilled(p, 3.0f, col); GetOverlayDrawList(g.NavWindow)->AddText(NULL, 13.0f, p + ImVec2(8,-4), col, buf); } local 9016 char* buf = (char*)ImGui::MemAlloc(ini_size + 1); local 9347 char buf[300]; local 9426 char buf[256]; local 9498 char buf[32]; local [all...] |
| imgui_internal.h | 143 IMGUI_API int ImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_text_end); // return output UTF-8 bytes count 145 IMGUI_API int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, const char** in_remaining = NULL); // return input UTF-8 bytes count 183 IMGUI_API int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...) IM_FMTARGS(3); 184 IMGUI_API int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args) IM_FMTLIST(3); 187 IMGUI_API const char* ImParseFormatTrimDecorations(const char* format, char* buf, size_t buf_size); 1302 IM_ASSERT(tab->NameOffset != -1 && tab->NameOffset < TabsNames.Buf.Size); 1303 return TabsNames.Buf.Data + tab->NameOffset; 1488 IMGUI_API bool InputTextEx(const char* label, char* buf, int buf_size, const ImVec2& size_arg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback = NULL, void* user_data = NULL);
|
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| imgui.h | 447 IMGUI_API bool InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 448 IMGUI_API bool InputTextMultiline(const char* label, char* buf, size_t buf_size, const ImVec2& size = ImVec2(0,0), ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 1429 // - 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! 1435 bool BufDirty; // Set if you modify Buf/BufTextLen! // Write // [Completion,History,Always] 1582 ImVector<char> Buf; 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; [all...] |
| imgui_demo.cpp | 708 static char buf[32] = "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e"; local 709 //static char buf[32] = u8"NIHONGO"; // <- this is how you would write it with C++11, using real kanjis 710 ImGui::InputText("UTF-8 input", buf, IM_ARRAYSIZE(buf)); 831 char buf[32]; local 832 sprintf(buf, "Object %d", n); 833 if (ImGui::Selectable(buf, selected == n)) 844 char buf[32]; local 845 sprintf(buf, "Object %d", n); 846 if (ImGui::Selectable(buf, selection[n]) 1021 char buf[32]; local 1609 char buf[32]; local 2159 char buf[64]; sprintf(buf, "Button: %s###Button", name); \/\/ ### operator override ID ignoring the preceding label local 2510 static char buf[32] = "dummy"; local 2528 static char buf[128] = "click on a button to set focus"; local 3150 static char* Strdup(const char *str) { size_t len = strlen(str) + 1; void* buf = malloc(len); IM_ASSERT(buf); return (char*)memcpy(buf, (const void*)str, len); } local 3164 char buf[1024]; variable 3522 const char* buf = Buf.begin(); local 3925 char buf[128]; local 4097 char buf[256]; local [all...] |
| imgui_widgets.cpp | 100 static inline int DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* data_ptr, const char* format); 102 static bool DataTypeApplyOpFromText(const char* buf, const char* initial_value_buf, ImGuiDataType data_type, void* data_ptr, const char* format); 1537 static inline int DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* data_ptr, const char* format) 1540 return ImFormatString(buf, buf_size, format, *(const ImU32*)data_ptr); 1542 return ImFormatString(buf, buf_size, format, *(const ImU64*)data_ptr); 1544 return ImFormatString(buf, buf_size, format, *(const float*)data_ptr); 1546 return ImFormatString(buf, buf_size, format, *(const double*)data_ptr); 1588 static bool DataTypeApplyOpFromText(const char* buf, const char* initial_value_buf, ImGuiDataType data_type, void* data_ptr, const char* format) 1590 while (ImCharIsBlankA(*buf)) 1591 buf++ [all...] |
| imgui.cpp | 710 sprintf(buf, "My game (%f FPS)###MyGame", fps); 711 Begin(buf); // Variable title, ID = hash of "MyGame" 1007 static void SettingsHandlerWindow_WriteAll(ImGuiContext* imgui_ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* buf); 1307 void* buf = ImGui::MemAlloc(len + 1); 1308 return (char*)memcpy(buf, (const void*)str, len + 1); 1376 void ImStrTrimBlanks(char* buf) 1378 char* p = buf; 1386 if (p_start != buf) // Copy memory if we had leading blanks 1387 memmove(buf, p_start, p - p_start); 1388 buf[p - p_start] = 0; // Zero terminat 1516 ImVector<ImWchar> buf; local 7221 char buf[128]; local 7834 if (g.NavWindow) { ImU32 col = (!g.NavWindow->Hidden) ? IM_COL32(255,0,255,255) : IM_COL32(255,0,0,255); ImVec2 p = NavCalcPreferredRefPos(); char buf[32]; ImFormatString(buf, 32, "%d", g.NavLayer); GetOverlayDrawList(g.NavWindow)->AddCircleFilled(p, 3.0f, col); GetOverlayDrawList(g.NavWindow)->AddText(NULL, 13.0f, p + ImVec2(8,-4), col, buf); } local 9016 char* buf = (char*)ImGui::MemAlloc(ini_size + 1); local 9347 char buf[300]; local 9426 char buf[256]; local 9498 char buf[32]; local [all...] |
| imgui_internal.h | 143 IMGUI_API int ImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_text_end); // return output UTF-8 bytes count 145 IMGUI_API int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, const char** in_remaining = NULL); // return input UTF-8 bytes count 183 IMGUI_API int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...) IM_FMTARGS(3); 184 IMGUI_API int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args) IM_FMTLIST(3); 187 IMGUI_API const char* ImParseFormatTrimDecorations(const char* format, char* buf, size_t buf_size); 1302 IM_ASSERT(tab->NameOffset != -1 && tab->NameOffset < TabsNames.Buf.Size); 1303 return TabsNames.Buf.Data + tab->NameOffset; 1488 IMGUI_API bool InputTextEx(const char* label, char* buf, int buf_size, const ImVec2& size_arg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback = NULL, void* user_data = NULL);
|