name
string
code
string
asm
string
file
string
StackToolFormatLevelInfo(ImGuiStackTool*, int, bool, char*, unsigned long)
static int StackToolFormatLevelInfo(ImGuiStackTool* tool, int n, bool format_for_ui, char* buf, size_t buf_size) { ImGuiStackLevelInfo* info = &tool->Results[n]; ImGuiWindow* window = (info->Desc[0] == 0 && n == 0) ? ImGui::FindWindowByID(info->ID) : NULL; if (window) ...
subq $0x58, %rsp movb %dl, %al movq %rdi, 0x48(%rsp) movl %esi, 0x44(%rsp) andb $0x1, %al movb %al, 0x43(%rsp) movq %rcx, 0x38(%rsp) movq %r8, 0x30(%rsp) movq 0x48(%rsp), %rdi addq $0x10, %rdi movl 0x44(%rsp), %esi callq 0x42810 movq %rax, 0x28(%rsp) movq 0x28(%rsp), %rax movsbl 0x7(%rax), %eax cmpl $0x0, %eax jne 0x39...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui.cpp
ChildWindowComparer(void const*, void const*)
static int IMGUI_CDECL ChildWindowComparer(const void* lhs, const void* rhs) { const ImGuiWindow* const a = *(const ImGuiWindow* const *)lhs; const ImGuiWindow* const b = *(const ImGuiWindow* const *)rhs; if (int d = (a->Flags & ImGuiWindowFlags_Popup) - (b->Flags & ImGuiWindowFlags_Popup)) return d...
movq %rdi, -0x10(%rsp) movq %rsi, -0x18(%rsp) movq -0x10(%rsp), %rax movq (%rax), %rax movq %rax, -0x20(%rsp) movq -0x18(%rsp), %rax movq (%rax), %rax movq %rax, -0x28(%rsp) movq -0x20(%rsp), %rax movl 0xc(%rax), %eax andl $0x4000000, %eax # imm = 0x4000000 movq -0x28(%rsp), %rcx movl 0xc(%rcx), %ecx andl $0x400...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui.cpp
ImGui::RenderWindowOuterBorders(ImGuiWindow*)
static void ImGui::RenderWindowOuterBorders(ImGuiWindow* window) { ImGuiContext& g = *GImGui; float rounding = window->WindowRounding; float border_size = window->WindowBorderSize; if (border_size > 0.0f && !(window->Flags & ImGuiWindowFlags_NoBackground)) window->DrawList->AddRect(window->Pos, ...
subq $0x118, %rsp # imm = 0x118 movq %rdi, 0x110(%rsp) movq 0xdeab2(%rip), %rax # 0x118c68 movq %rax, 0x108(%rsp) movq 0x110(%rsp), %rax movss 0x48(%rax), %xmm0 movss %xmm0, 0x104(%rsp) movq 0x110(%rsp), %rax movss 0x4c(%rax), %xmm0 movss %xmm0, 0x100(%rsp) movss 0x100(%rsp), %xmm0 xorps %xmm1, %xmm1 uco...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui.cpp
ImGui::NavScoreItem(ImGuiNavItemData*)
static bool ImGui::NavScoreItem(ImGuiNavItemData* result) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; if (g.NavLayer != window->DC.NavLayerCurrent) return false; // FIXME: Those are not good variables names ImRect cand = g.LastItemData.NavRect; // Current item nav ...
subq $0x88, %rsp movq %rdi, 0x78(%rsp) movq 0xde425(%rip), %rax # 0x118c68 movq %rax, 0x70(%rsp) movq 0x70(%rsp), %rax movq 0x3ea8(%rax), %rax movq %rax, 0x68(%rsp) movq 0x70(%rsp), %rax movl 0x40f4(%rax), %eax movq 0x68(%rsp), %rcx cmpl 0x12c(%rcx), %eax je 0x3a87e movb $0x0, 0x87(%rsp) jmp 0x3add7 movq 0x70(%rsp)...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui.cpp
ImGui::NavUpdateWindowing()
static void ImGui::NavUpdateWindowing() { ImGuiContext& g = *GImGui; ImGuiIO& io = g.IO; ImGuiWindow* apply_focus_window = NULL; bool apply_toggle_layer = false; ImGuiWindow* modal_window = GetTopMostPopupModal(); bool allow_windowing = (modal_window == NULL); if (!allow_windowing) ...
subq $0xc8, %rsp movq 0xddc8a(%rip), %rax # 0x118c68 movq %rax, 0xc0(%rsp) movq 0xc0(%rsp), %rax addq $0x8, %rax movq %rax, 0xb8(%rsp) movq $0x0, 0xb0(%rsp) movb $0x0, 0xaf(%rsp) callq 0x1b190 movq %rax, 0xa0(%rsp) cmpq $0x0, 0xa0(%rsp) sete %al andb $0x1, %al movb %al, 0x9f(%rsp) testb $0x1, 0x9f(%rsp) jne 0x3b04d...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui.cpp
ImGuiViewportP::~ImGuiViewportP()
~ImGuiViewportP() { if (DrawLists[0]) IM_DELETE(DrawLists[0]); if (DrawLists[1]) IM_DELETE(DrawLists[1]); }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rax movq %rax, 0x8(%rsp) cmpq $0x0, 0x38(%rax) je 0x463cc movq 0x8(%rsp), %rax movq 0x38(%rax), %rdi callq 0x46410 jmp 0x463ca jmp 0x463cc movq 0x8(%rsp), %rax cmpq $0x0, 0x40(%rax) je 0x463ea movq 0x8(%rsp), %rax movq 0x40(%rax), %rdi callq 0x46410 jmp 0x463e8 j...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_internal.h
ImGui::StyleColorsClassic(ImGuiStyle*)
void ImGui::StyleColorsClassic(ImGuiStyle* dst) { ImGuiStyle* style = dst ? dst : &ImGui::GetStyle(); ImVec4* colors = style->Colors; colors[ImGuiCol_Text] = ImVec4(0.90f, 0.90f, 0.90f, 1.00f); colors[ImGuiCol_TextDisabled] = ImVec4(0.60f, 0.60f, 0.60f, 1.00f); colors[Im...
subq $0x398, %rsp # imm = 0x398 movq %rdi, 0x390(%rsp) cmpq $0x0, 0x390(%rsp) je 0x479a9 movq 0x390(%rsp), %rax movq %rax, 0x48(%rsp) jmp 0x479b3 callq 0x15bd0 movq %rax, 0x48(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x388(%rsp) movq 0x388(%rsp), %rax addq $0xc8, %rax movq %rax, 0x380(%rsp) leaq 0x370(%rsp), %...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImDrawList::_ResetForNewFrame()
void ImDrawList::_ResetForNewFrame() { // Verify that the ImDrawCmd fields we want to memcmp() are contiguous in memory. IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, ClipRect) == 0); IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, TextureId) == sizeof(ImVec4)); IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, VtxOffset) == s...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq 0x40(%rsp), %rdi movq %rdi, (%rsp) xorl %esi, %esi callq 0x63630 movq (%rsp), %rdi addq $0x10, %rdi xorl %esi, %esi callq 0x3d5c0 movq (%rsp), %rdi addq $0x20, %rdi xorl %esi, %esi callq 0x63680 movq (%rsp), %rdi movq 0x38(%rdi), %rax movl 0x2c(%rax), %eax movl %eax, 0x30(%rd...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImDrawData::DeIndexAllBuffers()
void ImDrawData::DeIndexAllBuffers() { ImVector<ImDrawVert> new_vtx_buffer; TotalVtxCount = TotalIdxCount = 0; for (int i = 0; i < CmdListsCount; i++) { ImDrawList* cmd_list = CmdLists[i]; if (cmd_list->IdxBuffer.empty()) continue; new_vtx_buffer.resize(cmd_list->IdxB...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) leaq 0x50(%rsp), %rdi callq 0x42bc0 movq 0x28(%rsp), %rax movl $0x0, 0x8(%rax) movl $0x0, 0xc(%rax) movl $0x0, 0x4c(%rsp) movq 0x28(%rsp), %rcx movl 0x4c(%rsp), %eax cmpl 0x4(%rcx), %eax jge 0x51194 movq 0x28(%rsp), %rax movq 0x10(%rax),...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImGui::ShadeVertsLinearColorGradientKeepAlpha(ImDrawList*, int, int, ImVec2, ImVec2, unsigned int, unsigned int)
void ImGui::ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, ImVec2 gradient_p0, ImVec2 gradient_p1, ImU32 col0, ImU32 col1) { ImVec2 gradient_extent = gradient_p1 - gradient_p0; float gradient_inv_length2 = 1.0f / ImLengthSqr(gradient_extent); ImDrawVert* ...
subq $0x88, %rsp movlpd %xmm0, 0x80(%rsp) movlpd %xmm1, 0x78(%rsp) movq %rdi, 0x70(%rsp) movl %esi, 0x6c(%rsp) movl %edx, 0x68(%rsp) movl %ecx, 0x64(%rsp) movl %r8d, 0x60(%rsp) leaq 0x78(%rsp), %rdi leaq 0x80(%rsp), %rsi callq 0x4c3c0 movlpd %xmm0, 0x58(%rsp) leaq 0x58(%rsp), %rdi callq 0x514e0 movaps %xmm0, %xmm1 movs...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlas::ImFontAtlas()
ImFontAtlas::ImFontAtlas() { memset(this, 0, sizeof(*this)); TexGlyphPadding = 1; PackIdMouseCursors = PackIdLines = -1; }
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq 0x50(%rsp), %rdi movq %rdi, 0x30(%rsp) addq $0x38, %rdi callq 0x3d480 movq 0x30(%rsp), %rdi addq $0x40, %rdi callq 0x3d480 movq 0x30(%rsp), %rdi addq $0x48, %rdi movq %rdi, 0x28(%rsp) callq 0x43040 movq 0x30(%rsp), %rdi addq $0x58, %rdi movq %rdi, 0x38(%rsp) callq 0x63f70 jmp...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlas::Build()
bool ImFontAtlas::Build() { IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); // Default font is none are specified if (ConfigData.Size == 0) AddFontDefault(); // Select builder // - Note that we do not reassign to atlas->FontBuilderIO...
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rax movq %rax, (%rsp) cmpl $0x0, 0x68(%rax) jne 0x51dc5 movq (%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x520f0 movq (%rsp), %rax movq 0x478(%rax), %rax movq %rax, 0x8(%rsp) cmpq $0x0, 0x8(%rsp) jne 0x51de7 callq 0x52ea0 movq %rax, 0x8(%rsp) movq (%rsp), ...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlas::AddFont(ImFontConfig const*)
ImFont* ImFontAtlas::AddFont(const ImFontConfig* font_cfg) { IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); IM_ASSERT(font_cfg->FontData != NULL && font_cfg->FontDataSize > 0); IM_ASSERT(font_cfg->SizePixels > 0.0f); // Create new font if (!fon...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x28(%rsp) movq 0x58(%rsp), %rax testb $0x1, 0x48(%rax) jne 0x51ff8 movq 0x28(%rsp), %rax addq $0x48, %rax movq %rax, 0x8(%rsp) movl $0x70, %edi movq %rdi, 0x10(%rsp) callq 0x11f10 movq 0x10(%rsp), %rdi movq %rax, %rsi movq %r...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlas::AddFontFromMemoryTTF(void*, int, float, ImFontConfig const*, unsigned short const*)
ImFont* ImFontAtlas::AddFontFromMemoryTTF(void* ttf_data, int ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) { IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!"); ImFontConfig font_cfg = font_cfg_template ? *font...
subq $0xc8, %rsp movq %rdi, 0xc0(%rsp) movq %rsi, 0xb8(%rsp) movl %edx, 0xb4(%rsp) movss %xmm0, 0xb0(%rsp) movq %rcx, 0xa8(%rsp) movq %r8, 0xa0(%rsp) movq 0xc0(%rsp), %rax movq %rax, 0x10(%rsp) cmpq $0x0, 0xa8(%rsp) je 0x52548 movq 0xa8(%rsp), %rsi leaq 0x18(%rsp), %rdi movl $0x88, %edx callq 0xc090 jmp 0x52552 leaq 0x...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
stb_decompress(unsigned char*, unsigned char const*, unsigned int)
static unsigned int stb_decompress(unsigned char *output, const unsigned char *i, unsigned int /*length*/) { if (stb__in4(0) != 0x57bC0000) return 0; if (stb__in4(4) != 0) return 0; // error! stream is > 4GB const unsigned int olen = stb_decompress_length(i); stb__barrier_in_b = i; stb__bar...
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq %rsi, 0x10(%rsp) movl %edx, 0xc(%rsp) movq 0x10(%rsp), %rax movzbl (%rax), %eax shll $0x18, %eax movq 0x10(%rsp), %rcx movzbl 0x1(%rcx), %ecx shll $0x10, %ecx movq 0x10(%rsp), %rdx movzbl 0x2(%rdx), %edx shll $0x8, %edx movq 0x10(%rsp), %rsi movzbl 0x3(%rsi), %esi addl %esi, ...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlas::AddCustomRectRegular(int, int)
int ImFontAtlas::AddCustomRectRegular(int width, int height) { IM_ASSERT(width > 0 && width <= 0xFFFF); IM_ASSERT(height > 0 && height <= 0xFFFF); ImFontAtlasCustomRect r; r.Width = (unsigned short)width; r.Height = (unsigned short)height; CustomRects.push_back(r); return CustomRects.Size - ...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movl %esi, 0x2c(%rsp) movl %edx, 0x28(%rsp) movq 0x30(%rsp), %rax movq %rax, (%rsp) leaq 0x8(%rsp), %rdi callq 0x64200 movq (%rsp), %rdi movl 0x2c(%rsp), %eax movw %ax, 0x8(%rsp) movl 0x28(%rsp), %eax movw %ax, 0xa(%rsp) addq $0x58, %rdi leaq 0x8(%rsp), %rsi callq 0x64270 movq (%r...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlas::GetMouseCursorTexData(int, ImVec2*, ImVec2*, ImVec2*, ImVec2*)
bool ImFontAtlas::GetMouseCursorTexData(ImGuiMouseCursor cursor_type, ImVec2* out_offset, ImVec2* out_size, ImVec2 out_uv_border[2], ImVec2 out_uv_fill[2]) { if (cursor_type <= ImGuiMouseCursor_None || cursor_type >= ImGuiMouseCursor_COUNT) return false; if (Flags & ImFontAtlasFlags_NoMouseCursors) ...
subq $0xc8, %rsp movq %rdi, 0xb8(%rsp) movl %esi, 0xb4(%rsp) movq %rdx, 0xa8(%rsp) movq %rcx, 0xa0(%rsp) movq %r8, 0x98(%rsp) movq %r9, 0x90(%rsp) movq 0xb8(%rsp), %rax movq %rax, 0x38(%rsp) cmpl $-0x1, 0xb4(%rsp) jle 0x52c57 cmpl $0x9, 0xb4(%rsp) jl 0x52c64 movb $0x0, 0xc7(%rsp) jmp 0x52e3b movq 0x38(%rsp), %rax movl ...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlasBuildWithStbTruetype(ImFontAtlas*)
static bool ImFontAtlasBuildWithStbTruetype(ImFontAtlas* atlas) { IM_ASSERT(atlas->ConfigData.Size > 0); ImFontAtlasBuildInit(atlas); // Clear atlas atlas->TexID = (ImTextureID)NULL; atlas->TexWidth = atlas->TexHeight = 0; atlas->TexUvScale = ImVec2(0.0f, 0.0f); atlas->TexUvWhitePixel = Im...
subq $0x488, %rsp # imm = 0x488 movq %rdi, 0x478(%rsp) movq 0x478(%rsp), %rdi callq 0x55250 movq 0x478(%rsp), %rax movq $0x0, 0x8(%rax) movq 0x478(%rsp), %rax movl $0x0, 0x34(%rax) movq 0x478(%rsp), %rax movl $0x0, 0x30(%rax) leaq 0x470(%rsp), %rdi xorps %xmm1, %xmm1 movss %xmm1, 0x16c(%rsp) movaps %xmm1, %x...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlasBuildRender32bppRectFromString(ImFontAtlas*, int, int, int, int, char const*, char, unsigned int)
void ImFontAtlasBuildRender32bppRectFromString(ImFontAtlas* atlas, int x, int y, int w, int h, const char* in_str, char in_marker_char, unsigned int in_marker_pixel_value) { IM_ASSERT(x >= 0 && x + w <= atlas->TexWidth); IM_ASSERT(y >= 0 && y + h <= atlas->TexHeight); unsigned int* out_pixel = atlas->TexPix...
movl 0x10(%rsp), %eax movb 0x8(%rsp), %al movq %rdi, -0x8(%rsp) movl %esi, -0xc(%rsp) movl %edx, -0x10(%rsp) movl %ecx, -0x14(%rsp) movl %r8d, -0x18(%rsp) movq %r9, -0x20(%rsp) movq -0x8(%rsp), %rax movq 0x28(%rax), %rax movslq -0xc(%rsp), %rcx shlq $0x2, %rcx addq %rcx, %rax movl -0x10(%rsp), %ecx movq -0x8(%rsp), %rd...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlasBuildRenderLinesTexData(ImFontAtlas*)
static void ImFontAtlasBuildRenderLinesTexData(ImFontAtlas* atlas) { if (atlas->Flags & ImFontAtlasFlags_NoBakedLines) return; // This generates a triangular shape in the texture, with the various line widths stacked on top of each other to allow interpolation between them ImFontAtlasCustomRect* r ...
subq $0x98, %rsp movq %rdi, 0x90(%rsp) movq 0x90(%rsp), %rax movl (%rax), %eax andl $0x4, %eax cmpl $0x0, %eax je 0x55766 jmp 0x55b13 movq 0x90(%rsp), %rdi movq 0x90(%rsp), %rax movl 0x488(%rax), %esi callq 0x642f0 movq %rax, 0x88(%rsp) movl $0x0, 0x84(%rsp) cmpl $0x40, 0x84(%rsp) jae 0x55b13 movl 0x84(%rsp), %eax movl...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontAtlas::GetGlyphRangesVietnamese()
const ImWchar* ImFontAtlas::GetGlyphRangesVietnamese() { static const ImWchar ranges[] = { 0x0020, 0x00FF, // Basic Latin 0x0102, 0x0103, 0x0110, 0x0111, 0x0128, 0x0129, 0x0168, 0x0169, 0x01A0, 0x01A1, 0x01AF, 0x01B0, 0x1EA0, 0x1EF9, 0, ...
movq %rdi, -0x8(%rsp) leaq 0x8c3b4(%rip), %rax # 0xe27e0 retq nopl (%rax)
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFontGlyphRangesBuilder::AddRanges(unsigned short const*)
void ImFontGlyphRangesBuilder::AddRanges(const ImWchar* ranges) { for (; ranges[0]; ranges += 2) for (unsigned int c = ranges[0]; c <= ranges[1] && c <= IM_UNICODE_CODEPOINT_MAX; c++) //-V560 AddChar((ImWchar)c); }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x18(%rsp), %rax cmpw $0x0, (%rax) je 0x5656f movq 0x18(%rsp), %rax movzwl (%rax), %eax movl %eax, 0x14(%rsp) movl 0x14(%rsp), %ecx movq 0x18(%rsp), %rax movzwl 0x2(%rax), %edx xorl %eax, %eax cmpl %edx, %ecx mo...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFont::ImFont()
ImFont::ImFont() { FontSize = 0.0f; FallbackAdvanceX = 0.0f; FallbackChar = (ImWchar)-1; EllipsisChar = (ImWchar)-1; DotChar = (ImWchar)-1; FallbackGlyph = NULL; ContainerAtlas = NULL; ConfigData = NULL; ConfigDataCount = 0; DirtyLookupTables = false; Scale = 1.0f; Ascent...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rdi movq %rdi, 0x10(%rsp) movq %rdi, %rax movq %rax, 0x8(%rsp) callq 0x42ae0 movq 0x10(%rsp), %rdi addq $0x18, %rdi movq %rdi, 0x18(%rsp) callq 0x3d4d0 jmp 0x566a5 movq 0x8(%rsp), %rdi addq $0x28, %rdi callq 0x644a0 jmp 0x566b5 movq 0x8(%rsp), %rdi xorps %xmm0, %...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
FindFirstExistingGlyph(ImFont*, unsigned short const*, int)
static ImWchar FindFirstExistingGlyph(ImFont* font, const ImWchar* candidate_chars, int candidate_chars_count) { for (int n = 0; n < candidate_chars_count; n++) if (font->FindGlyphNoFallback(candidate_chars[n]) != NULL) return candidate_chars[n]; return (ImWchar)-1; }
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq %rsi, 0x10(%rsp) movl %edx, 0xc(%rsp) movl $0x0, 0x8(%rsp) movl 0x8(%rsp), %eax cmpl 0xc(%rsp), %eax jge 0x56996 movq 0x18(%rsp), %rdi movq 0x10(%rsp), %rax movslq 0x8(%rsp), %rcx movzwl (%rax,%rcx,2), %esi callq 0x569b0 cmpq $0x0, %rax je 0x56987 movq 0x10(%rsp), %rax movslq...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFont::IsGlyphRangeUnused(unsigned int, unsigned int)
bool ImFont::IsGlyphRangeUnused(unsigned int c_begin, unsigned int c_last) { unsigned int page_begin = (c_begin / 4096); unsigned int page_last = (c_last / 4096); for (unsigned int page_n = page_begin; page_n <= page_last; page_n++) if ((page_n >> 3) < sizeof(Used4kPagesMap)) if (Used4kP...
movq %rdi, -0x10(%rsp) movl %esi, -0x14(%rsp) movl %edx, -0x18(%rsp) movq -0x10(%rsp), %rax movq %rax, -0x30(%rsp) movl -0x14(%rsp), %eax shrl $0xc, %eax movl %eax, -0x1c(%rsp) movl -0x18(%rsp), %eax shrl $0xc, %eax movl %eax, -0x20(%rsp) movl -0x1c(%rsp), %eax movl %eax, -0x24(%rsp) movl -0x24(%rsp), %eax cmpl -0x20(%...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFont::CalcWordWrapPositionA(float, char const*, char const*, float) const
const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const { // Simple word-wrapping for English, not full-featured. Please submit failing cases! // FIXME: Much possible improvements (don't cut things like "word !", "word!!!" but cut within "word,,,,",...
subq $0x88, %rsp movq %rdi, 0x80(%rsp) movss %xmm0, 0x7c(%rsp) movq %rsi, 0x70(%rsp) movq %rdx, 0x68(%rsp) movss %xmm1, 0x64(%rsp) movq 0x80(%rsp), %rax movq %rax, 0x18(%rsp) xorps %xmm0, %xmm0 movss %xmm0, 0x60(%rsp) xorps %xmm0, %xmm0 movss %xmm0, 0x5c(%rsp) xorps %xmm0, %xmm0 movss %xmm0, 0x58(%rsp) movss 0x7c(%rsp)...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImFont::RenderChar(ImDrawList*, float, ImVec2, unsigned int, unsigned short) const
void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const { const ImFontGlyph* glyph = FindGlyph(c); if (!glyph || !glyph->Visible) return; if (glyph->Colored) col |= ~IM_COL32_A_MASK; float scale = (size >= 0.0f) ? (size / FontSize) : 1.0f; p...
subq $0x78, %rsp movw %cx, %ax movlpd %xmm1, 0x70(%rsp) movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movss %xmm0, 0x5c(%rsp) movl %edx, 0x58(%rsp) movw %ax, 0x56(%rsp) movq 0x68(%rsp), %rdi movq %rdi, 0x18(%rsp) movzwl 0x56(%rsp), %esi callq 0x56840 movq %rax, 0x48(%rsp) cmpq $0x0, 0x48(%rsp) je 0x573b8 movq 0x48(%rsp),...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImGui::RenderCheckMark(ImDrawList*, ImVec2, unsigned int, float)
void ImGui::RenderCheckMark(ImDrawList* draw_list, ImVec2 pos, ImU32 col, float sz) { float thickness = ImMax(sz / 5.0f, 1.0f); sz -= thickness * 0.5f; pos += ImVec2(thickness * 0.25f, thickness * 0.25f); float third = sz / 3.0f; float bx = pos.x + third; float by = pos.y + sz - third * 0.5f; ...
subq $0x68, %rsp movlpd %xmm0, 0x60(%rsp) movq %rdi, 0x58(%rsp) movl %esi, 0x54(%rsp) movss %xmm1, 0x50(%rsp) movss 0x50(%rsp), %xmm0 movss 0x8585d(%rip), %xmm1 # 0xdd214 divss %xmm1, %xmm0 movss 0x8568d(%rip), %xmm1 # 0xdd050 callq 0x49660 movss %xmm0, 0x4c(%rsp) movss 0x4c(%rsp), %xmm0 movss 0x50(%rsp), %xmm1 m...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImGui::RenderRectFilledRangeH(ImDrawList*, ImRect const&, unsigned int, float, float, float)
void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding) { if (x_end_norm == x_start_norm) return; if (x_start_norm > x_end_norm) ImSwap(x_start_norm, x_end_norm); ImVec2 p0 = ImVec2(ImLerp(rect.Min.x, rec...
subq $0x118, %rsp # imm = 0x118 movq %rdi, 0x110(%rsp) movq %rsi, 0x108(%rsp) movl %edx, 0x104(%rsp) movss %xmm0, 0x100(%rsp) movss %xmm1, 0xfc(%rsp) movss %xmm2, 0xf8(%rsp) movss 0xfc(%rsp), %xmm0 ucomiss 0x100(%rsp), %xmm0 jne 0x57e53 jp 0x57e53 jmp 0x58685 movss 0x100(%rsp), %xmm0 ucomiss 0xfc(%rsp), %xmm...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
ImGui::RenderColorRectWithAlphaCheckerboard(ImDrawList*, ImVec2, ImVec2, unsigned int, float, ImVec2, float, int)
void ImGui::RenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list, ImVec2 p_min, ImVec2 p_max, ImU32 col, float grid_step, ImVec2 grid_off, float rounding, ImDrawFlags flags) { if ((flags & ImDrawFlags_RoundCornersMask_) == 0) flags = ImDrawFlags_RoundCornersDefault_; if (((col & IM_COL32_A_MASK) >...
subq $0x78, %rsp movlpd %xmm0, 0x70(%rsp) movlpd %xmm1, 0x68(%rsp) movlpd %xmm3, 0x60(%rsp) movq %rdi, 0x58(%rsp) movl %esi, 0x54(%rsp) movss %xmm2, 0x50(%rsp) movss %xmm4, 0x4c(%rsp) movl %edx, 0x48(%rsp) movl 0x48(%rsp), %eax andl $0x1f0, %eax # imm = 0x1F0 cmpl $0x0, %eax jne 0x58d75 movl $0xf0, 0x48(%rsp...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
UnpackBitVectorToFlatIndexList(ImBitVector const*, ImVector<int>*)
static void UnpackBitVectorToFlatIndexList(const ImBitVector* in, ImVector<int>* out) { IM_ASSERT(sizeof(in->Storage.Data[0]) == sizeof(int)); const ImU32* it_begin = in->Storage.begin(); const ImU32* it_end = in->Storage.end(); for (const ImU32* it = it_begin; it < it_end; it++) if (ImU32 entri...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rdi callq 0x64df0 movq %rax, 0x20(%rsp) movq 0x30(%rsp), %rdi callq 0x64e00 movq %rax, 0x18(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x10(%rsp), %rax cmpq 0x18(%rsp), %rax jae 0x59734 movq 0x10(%rsp), %rax movl (%rax), %eax mov...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_draw.cpp
stbtt_GetPackedQuad(stbtt_packedchar const*, int, int, int, float*, float*, stbtt_aligned_quad*, int)
STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int align_to_integer) { float ipw = 1.0f / pw, iph = 1.0f / ph; const stbtt_packedchar *b = chardata + char_index; if (align_to_integer) { float x = (floa...
subq $0x48, %rsp movl 0x58(%rsp), %eax movq 0x50(%rsp), %rax movq %rdi, 0x40(%rsp) movl %esi, 0x3c(%rsp) movl %edx, 0x38(%rsp) movl %ecx, 0x34(%rsp) movq %r8, 0x28(%rsp) movq %r9, 0x20(%rsp) cvtsi2ssl 0x3c(%rsp), %xmm1 movss 0x82d2a(%rip), %xmm0 # 0xdd050 divss %xmm1, %xmm0 movss %xmm0, 0x1c(%rsp) cvtsi2ssl 0x38(%rs...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_truetype.h
stbtt__isfont(unsigned char*)
static int stbtt__isfont(stbtt_uint8 *font) { // check the version number if (stbtt_tag4(font, '1',0,0,0)) return 1; // TrueType 1 if (stbtt_tag(font, "typ1")) return 1; // TrueType with type 1 font -- we don't support this! if (stbtt_tag(font, "OTTO")) return 1; // OpenType with CFF if (stbtt_tag4(...
movq %rdi, -0x10(%rsp) movq -0x10(%rsp), %rax movzbl (%rax), %eax cmpl $0x31, %eax jne 0x5a6a9 movq -0x10(%rsp), %rax movzbl 0x1(%rax), %eax cmpl $0x0, %eax jne 0x5a6a9 movq -0x10(%rsp), %rax movzbl 0x2(%rax), %eax cmpl $0x0, %eax jne 0x5a6a9 movq -0x10(%rsp), %rax movzbl 0x3(%rax), %eax cmpl $0x0, %eax jne 0x5a6a9 mov...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_truetype.h
stbtt__new_buf(void const*, unsigned long)
static stbtt__buf stbtt__new_buf(const void *p, size_t size) { stbtt__buf r; STBTT_assert(size < 0x40000000); r.data = (stbtt_uint8*) p; r.size = (int) size; r.cursor = 0; return r; }
movq %rdi, -0x18(%rsp) movq %rsi, -0x20(%rsp) jmp 0x5b1ac movq -0x18(%rsp), %rax movq %rax, -0x10(%rsp) movl -0x20(%rsp), %eax movl %eax, -0x4(%rsp) movl $0x0, -0x8(%rsp) movq -0x10(%rsp), %rax movq -0x8(%rsp), %rdx retq nopw %cs:(%rax,%rax)
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_truetype.h
stbtt__get_subrs(stbtt__buf, stbtt__buf)
static stbtt__buf stbtt__get_subrs(stbtt__buf cff, stbtt__buf fontdict) { stbtt_uint32 subrsoff = 0, private_loc[2] = { 0, 0 }; stbtt__buf pdict; stbtt__dict_get_ints(&fontdict, 18, 2, private_loc); if (!private_loc[1] || !private_loc[0]) return stbtt__new_buf(NULL, 0); pdict = stbtt__buf_range(&cff, pri...
subq $0x68, %rsp movq %rdi, 0x48(%rsp) movq %rsi, 0x50(%rsp) movq %rdx, 0x38(%rsp) movq %rcx, 0x40(%rsp) movl $0x0, 0x34(%rsp) leaq 0x2c(%rsp), %rdi xorl %esi, %esi movl $0x8, %edx callq 0xc1f0 leaq 0x2c(%rsp), %rcx leaq 0x38(%rsp), %rdi movl $0x12, %esi movl $0x2, %edx callq 0x5b540 cmpl $0x0, 0x30(%rsp) je 0x5b628 cm...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_truetype.h
stbtt__cff_skip_operand(stbtt__buf*)
static void stbtt__cff_skip_operand(stbtt__buf *b) { int v, b0 = stbtt__buf_peek8(b); STBTT_assert(b0 >= 28); if (b0 == 30) { stbtt__buf_skip(b, 1); while (b->cursor < b->size) { v = stbtt__buf_get8(b); if ((v & 0xF) == 0xF || (v >> 4) == 0xF) break; } } else ...
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rdi callq 0x5ba10 movzbl %al, %eax movl %eax, 0x8(%rsp) jmp 0x5ba6c cmpl $0x1e, 0x8(%rsp) jne 0x5bac3 movq 0x10(%rsp), %rdi movl $0x1, %esi callq 0x5b2f0 movq 0x10(%rsp), %rax movl 0x8(%rax), %eax movq 0x10(%rsp), %rcx cmpl 0xc(%rcx), %eax jge 0x5bac1 movq 0x10(%...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_truetype.h
stbtt__csctx_v(stbtt__csctx*, unsigned char, int, int, int, int, int, int)
static void stbtt__csctx_v(stbtt__csctx *c, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy, stbtt_int32 cx1, stbtt_int32 cy1) { if (c->bounds) { stbtt__track_vertex(c, x, y); if (type == STBTT_vcubic) { stbtt__track_vertex(c, cx, cy); stbtt__track_vertex(...
subq $0x28, %rsp movb %sil, %al movl 0x38(%rsp), %esi movl 0x30(%rsp), %esi movq %rdi, 0x20(%rsp) movb %al, 0x1f(%rsp) movl %edx, 0x18(%rsp) movl %ecx, 0x14(%rsp) movl %r8d, 0x10(%rsp) movl %r9d, 0xc(%rsp) movq 0x20(%rsp), %rax cmpl $0x0, (%rax) je 0x5d926 movq 0x20(%rsp), %rdi movl 0x18(%rsp), %esi movl 0x14(%rsp), %e...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_truetype.h
stbtt__tesselate_curve(stbtt__point*, int*, float, float, float, float, float, float, float, int)
static int stbtt__tesselate_curve(stbtt__point *points, int *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float objspace_flatness_squared, int n) { // midpoint float mx = (x0 + 2*x1 + x2)/4; float my = (y0 + 2*y1 + y2)/4; // versus directly drawn line float dx = (x0+x2)/2 - mx;...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movq %rsi, 0x30(%rsp) movss %xmm0, 0x2c(%rsp) movss %xmm1, 0x28(%rsp) movss %xmm2, 0x24(%rsp) movss %xmm3, 0x20(%rsp) movss %xmm4, 0x1c(%rsp) movss %xmm5, 0x18(%rsp) movss %xmm6, 0x14(%rsp) movl %edx, 0x10(%rsp) movss 0x2c(%rsp), %xmm1 movss 0x24(%rsp), %xmm0 addss %xmm0, %xmm0 ad...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_truetype.h
stbtt__fill_active_edges_new(float*, float*, int, stbtt__active_edge*, float)
static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, int len, stbtt__active_edge *e, float y_top) { float y_bottom = y_top+1; while (e) { // brute force every pixel // compute intersection points with top & bottom STBTT_assert(e->ey >= y_top); if (e->fdx == 0)...
subq $0x98, %rsp movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movl %edx, 0x84(%rsp) movq %rcx, 0x78(%rsp) movss %xmm0, 0x74(%rsp) movss 0x7b7bf(%rip), %xmm0 # 0xdd050 addss 0x74(%rsp), %xmm0 movss %xmm0, 0x70(%rsp) cmpq $0x0, 0x78(%rsp) je 0x62339 jmp 0x618ab jmp 0x618ad movq 0x78(%rsp), %rax movss 0xc(%rax), %xmm0 x...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_truetype.h
stbtt__hheap_alloc(stbtt__hheap*, unsigned long, void*)
static void *stbtt__hheap_alloc(stbtt__hheap *hh, size_t size, void *userdata) { if (hh->first_free) { void *p = hh->first_free; hh->first_free = * (void **) p; return p; } else { if (hh->num_remaining_in_head_chunk == 0) { int count = (size < 32 ? 2000 : size < 128 ? 800 : 100); ...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movq %rsi, 0x30(%rsp) movq %rdx, 0x28(%rsp) movq 0x38(%rsp), %rax cmpq $0x0, 0x8(%rax) je 0x623ed movq 0x38(%rsp), %rax movq 0x8(%rax), %rax movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rax movq (%rax), %rcx movq 0x38(%rsp), %rax movq %rcx, 0x8(%rax) movq 0x20(%rsp), %rax movq %rax, 0x...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_truetype.h
rect_height_compare(void const*, void const*)
static int STBRP__CDECL rect_height_compare(const void *a, const void *b) { const stbrp_rect *p = (const stbrp_rect *) a; const stbrp_rect *q = (const stbrp_rect *) b; if (p->h > q->h) return -1; if (p->h < q->h) return 1; return (p->w > q->w) ? -1 : (p->w < q->w); }
movq %rdi, -0x10(%rsp) movq %rsi, -0x18(%rsp) movq -0x10(%rsp), %rax movq %rax, -0x20(%rsp) movq -0x18(%rsp), %rax movq %rax, -0x28(%rsp) movq -0x20(%rsp), %rax movzwl 0x6(%rax), %eax movq -0x28(%rsp), %rcx movzwl 0x6(%rcx), %ecx cmpl %ecx, %eax jle 0x627fe movl $0xffffffff, -0x4(%rsp) # imm = 0xFFFFFFFF jmp 0x62867 mo...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imstb_rectpack.h
ImBitVector::~ImBitVector()
struct IMGUI_API ImBitVector { ImVector<ImU32> Storage; void Create(int sz) { Storage.resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); } void Clear() { Storage.clear(); } bool TestBit(int n)...
pushq %rax movq %rdi, (%rsp) movq (%rsp), %rdi callq 0x3e7e0 popq %rax retq
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_internal.h
ShowExampleAppLayout(bool*)
static void ShowExampleAppLayout(bool* p_open) { ImGui::SetNextWindowSize(ImVec2(500, 440), ImGuiCond_FirstUseEver); if (ImGui::Begin("Example: Simple layout", p_open, ImGuiWindowFlags_MenuBar)) { IMGUI_DEMO_MARKER("Examples/Simple layout"); if (ImGui::BeginMenuBar()) { i...
subq $0xd8, %rsp movq %rdi, 0xd0(%rsp) leaq 0xc8(%rsp), %rdi movss 0x7f19d(%rip), %xmm0 # 0xe645c movss 0x7f199(%rip), %xmm1 # 0xe6460 callq 0xdd40 leaq 0xc8(%rsp), %rdi movl $0x4, %esi callq 0x1fc80 movq 0xd0(%rsp), %rsi leaq 0x8a3a5(%rip), %rdi # 0xf1692 movl $0x400, %edx # imm = 0x400 callq 0x1f...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_demo.cpp
ShowExampleAppFullscreen(bool*)
static void ShowExampleAppFullscreen(bool* p_open) { static bool use_work_area = true; static ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings; // We demonstrate using the full viewport area or the work area (wit...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) callq 0x23f40 movq %rax, 0x38(%rsp) testb $0x1, 0xb06de(%rip) # 0x118b38 je 0x6846c movq 0x38(%rsp), %rax addq $0x14, %rax movq %rax, 0x20(%rsp) jmp 0x6847a movq 0x38(%rsp), %rax addq $0x4, %rax movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x18(%rsp) leaq 0x30(%rsp),...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_demo.cpp
ShowExampleAppCustomRendering(bool*)
static void ShowExampleAppCustomRendering(bool* p_open) { if (!ImGui::Begin("Example: Custom rendering", p_open)) { ImGui::End(); return; } IMGUI_DEMO_MARKER("Examples/Custom Rendering"); // Tip: If you do a lot of custom rendering, you probably want to use your own geometrical type...
subq $0x3d8, %rsp # imm = 0x3D8 movq %rdi, 0x3d0(%rsp) movq 0x3d0(%rsp), %rsi leaq 0x897ca(%rip), %rdi # 0xf2018 xorl %edx, %edx callq 0x1fcf0 testb $0x1, %al jne 0x68863 callq 0x23f70 jmp 0x6a84c jmp 0x68865 cmpq $0x0, 0xb5a73(%rip) # 0x11e2e0 je 0x68892 movq 0xb5a6a(%rip), %rax # 0x11e2e0 movq ...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_demo.cpp
HelpMarker(char const*)
static void HelpMarker(const char* desc) { ImGui::TextDisabled("(?)"); if (ImGui::IsItemHovered()) { ImGui::BeginTooltip(); ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f); ImGui::TextUnformatted(desc); ImGui::PopTextWrapPos(); ImGui::EndTooltip(); } }
pushq %rax movq %rdi, (%rsp) leaq 0x72fcd(%rip), %rdi # 0xdf909 movb $0x0, %al callq 0x95950 xorl %edi, %edi callq 0x194c0 testb $0x1, %al jne 0x6c950 jmp 0x6c982 callq 0x2eb20 callq 0x2b170 movss 0x7093e(%rip), %xmm1 # 0xdd2a0 mulss %xmm1, %xmm0 callq 0x2a6e0 movq (%rsp), %rdi xorl %eax, %eax movl %eax, %esi ca...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_demo.cpp
ShowDemoWindowMisc()
static void ShowDemoWindowMisc() { IMGUI_DEMO_MARKER("Filtering"); if (ImGui::CollapsingHeader("Filtering")) { // Helper class to easy setup a text filter. // You may want to implement a more feature-full filtering scheme in your own application. static ImGuiTextFilter filter; ...
subq $0x3f8, %rsp # imm = 0x3F8 cmpq $0x0, 0x9fc61(%rip) # 0x11e2e0 je 0x7e6a4 movq 0x9fc58(%rip), %rax # 0x11e2e0 movq 0x9fc59(%rip), %rcx # 0x11e2e8 leaq 0x6837c(%rip), %rdi # 0xe6a12 movl $0x160d, %esi # imm = 0x160D leaq 0x72275(%rip), %rdx # 0xf0917 callq *%rax jmp 0x7e6a6 ...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_demo.cpp
ShowDemoWindowWidgets()::Funcs::MyResizeCallback(ImGuiInputTextCallbackData*)
static int MyResizeCallback(ImGuiInputTextCallbackData* data) { if (data->EventFlag == ImGuiInputTextFlags_CallbackResize) { ImVector<char>* my_str = (ImVector<char>*)data->UserData; IM_ASSERT(my_str->begin() == data...
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rax cmpl $0x40000, (%rax) # imm = 0x40000 jne 0x803dc movq 0x10(%rsp), %rax movq 0x8(%rax), %rax movq %rax, 0x8(%rsp) movq 0x8(%rsp), %rdi movq 0x10(%rsp), %rax movl 0x24(%rax), %esi callq 0x3dab0 movq 0x8(%rsp), %rdi callq 0x44cf0 movq %rax, %rcx movq 0x1...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_demo.cpp
EditTableColumnsFlags(int*)
static void EditTableColumnsFlags(ImGuiTableColumnFlags* p_flags) { ImGui::CheckboxFlags("_Disabled", p_flags, ImGuiTableColumnFlags_Disabled); ImGui::SameLine(); HelpMarker("Master disable flag (also hide from context menu)"); ImGui::CheckboxFlags("_DefaultHide", p_flags, ImGuiTableColumnFlags_DefaultHide); ...
pushq %rax movq %rdi, (%rsp) movq (%rsp), %rsi leaq 0x6fdbf(%rip), %rdi # 0xf04cf movl $0x1, %edx callq 0x99b10 xorps %xmm0, %xmm0 movss 0x5c933(%rip), %xmm1 # 0xdd058 callq 0x2d330 leaq 0x6fda8(%rip), %rdi # 0xf04d9 callq 0x6c930 movq (%rsp), %rsi leaq 0x6fdca(%rip), %rdi # 0xf050b movl $0x2, %edx callq...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_demo.cpp
ExampleAppConsole::TextEditCallback(ImGuiInputTextCallbackData*)
int TextEditCallback(ImGuiInputTextCallbackData* data) { //AddLog("cursor: %d, selection: %d-%d", data->CursorPos, data->SelectionStart, data->SelectionEnd); switch (data->EventFlag) { case ImGuiInputTextFlags_CallbackCompletion: { // Example of TEXT C...
subq $0x108, %rsp # imm = 0x108 movq %rdi, 0x100(%rsp) movq %rsi, 0xf8(%rsp) movq 0x100(%rsp), %rax movq %rax, 0x88(%rsp) movq 0xf8(%rsp), %rax movl (%rax), %eax movl %eax, 0x94(%rsp) subl $0x40, %eax je 0x833c6 jmp 0x833af movl 0x94(%rsp), %eax subl $0x80, %eax je 0x838cb jmp 0x83a42 movq 0xf8(%rsp), %rax m...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_demo.cpp
ImGui::TableLoadSettings(ImGuiTable*)
void ImGui::TableLoadSettings(ImGuiTable* table) { ImGuiContext& g = *GImGui; table->IsSettingsRequestLoad = false; if (table->Flags & ImGuiTableFlags_NoSavedSettings) return; // Bind settings ImGuiTableSettings* settings; if (table->SettingsOffset == -1) { settings = TableS...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) leaq 0x926b8(%rip), %rax # 0x118c68 movq (%rax), %rax movq %rax, 0x58(%rsp) movq 0x60(%rsp), %rax movb $0x0, 0x1ff(%rax) movq 0x60(%rsp), %rax movl 0x4(%rax), %eax andl $0x10, %eax cmpl $0x0, %eax je 0x865d9 jmp 0x868f8 movq 0x60(%rsp), %rax cmpl $-0x1, 0x6c(%rax) jne 0x86643 ...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_tables.cpp
ImGui::TableSetColumnWidth(int, float)
void ImGui::TableSetColumnWidth(int column_n, float width) { ImGuiContext& g = *GImGui; ImGuiTable* table = g.CurrentTable; IM_ASSERT(table != NULL && table->IsLayoutLocked == false); IM_ASSERT(column_n >= 0 && column_n < table->ColumnsCount); ImGuiTableColumn* column_0 = &table->Columns[column_n]; ...
subq $0x58, %rsp movl %edi, 0x54(%rsp) movss %xmm0, 0x50(%rsp) leaq 0x91fd3(%rip), %rax # 0x118c68 movq (%rax), %rax movq %rax, 0x48(%rsp) movq 0x48(%rsp), %rax movq 0x4308(%rax), %rax movq %rax, 0x40(%rsp) movq 0x40(%rsp), %rdi addq $0x18, %rdi movl 0x54(%rsp), %esi callq 0x44d00 movq %rax, 0x38(%rsp) movss 0x50(%...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_tables.cpp
TableSetupColumnFlags(ImGuiTable*, ImGuiTableColumn*, int)
static void TableSetupColumnFlags(ImGuiTable* table, ImGuiTableColumn* column, ImGuiTableColumnFlags flags_in) { ImGuiTableColumnFlags flags = flags_in; // Sizing Policy if ((flags & ImGuiTableColumnFlags_WidthMask_) == 0) { const ImGuiTableFlags table_sizing_policy = (table->Flags & ImGuiTable...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movl %edx, 0x14(%rsp) movl 0x14(%rsp), %eax movl %eax, 0x10(%rsp) movl 0x10(%rsp), %eax andl $0x18, %eax cmpl $0x0, %eax jne 0x88ab5 movq 0x20(%rsp), %rax movl 0x4(%rax), %eax andl $0xe000, %eax # imm = 0xE000 movl %eax, 0xc(%rsp) cmpl $0x2000, 0xc(...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_tables.cpp
ImGui::TableGetColumnName(int)
const char* ImGui::TableGetColumnName(int column_n) { ImGuiContext& g = *GImGui; ImGuiTable* table = g.CurrentTable; if (!table) return NULL; if (column_n < 0) column_n = table->CurrentColumn; return TableGetColumnName(table, column_n); }
subq $0x28, %rsp movl %edi, 0x1c(%rsp) leaq 0x8b8f9(%rip), %rax # 0x118c68 movq (%rax), %rax movq %rax, 0x10(%rsp) movq 0x10(%rsp), %rax movq 0x4308(%rax), %rax movq %rax, 0x8(%rsp) cmpq $0x0, 0x8(%rsp) jne 0x8d39b movq $0x0, 0x20(%rsp) jmp 0x8d3c1 cmpl $0x0, 0x1c(%rsp) jge 0x8d3ae movq 0x8(%rsp), %rax movl 0x7c(%r...
/ggerganov[P]imgui-ws/third-party/imgui/imgui/imgui_tables.cpp
sago::internal::getHome[abi:cxx11]()
std::string getHome() { std::string res; int uid = getuid(); const char* homeEnv = std::getenv("HOME"); if ( uid != 0 && homeEnv) { //We only acknowlegde HOME if not root. res = homeEnv; return res; } struct passwd* pw = nullptr; struct passwd pwd; long bufsize = sysconf(_SC_GETPW_R_SIZE_MAX); if (bufsiz...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0xa0(%rbp) movq %rdi, %rax movq %rax, -0x98(%rbp) movq %rdi, -0x8(%rbp) movb $0x0, -0x9(%rbp) callq 0xb360 callq 0xb130 movl %eax, -0x10(%rbp) leaq 0x6ba0(%rip), %rdi # 0x122a8 callq 0xb2f0 movq %rax, -0x18(%rbp) cmpl $0x0, -0x10(%rb...
/sago007[P]PlatformFolders/sago/platform_folders.cpp
sago::getDataHome[abi:cxx11]()
std::string getDataHome() { #ifdef _WIN32 return GetAppData(); #elif defined(__APPLE__) return sago::internal::getHome()+"/Library/Application Support"; #else return getLinuxFolderDefault("XDG_DATA_HOME", ".local/share"); #endif }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, %rax movq %rax, -0x10(%rbp) movq %rdi, -0x8(%rbp) leaq 0x6421(%rip), %rsi # 0x1207b leaq 0x6428(%rip), %rdx # 0x12089 callq 0xbc70 movq -0x10(%rbp), %rax addq $0x10, %rsp popq %rbp retq
/sago007[P]PlatformFolders/sago/platform_folders.cpp
sago::PlatformFolders::getDocumentsFolder[abi:cxx11]() const
std::string PlatformFolders::getDocumentsFolder() const { #ifdef _WIN32 return GetKnownWindowsFolder(FOLDERID_Documents, "Failed to find My Documents folder"); #elif defined(__APPLE__) return sago::internal::getHome()+"/Documents"; #else return data->folders["XDG_DOCUMENTS_DIR"]; #endif }
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x68(%rbp) movq %rdi, %rax movq %rax, -0x60(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rax movq %rax, -0x58(%rbp) leaq -0x31(%rbp), %rdi movq %rdi, -0x50(%rbp) callq 0xb440 movq -0x50(%rbp), %rdx leaq 0x5927(%rip), %rsi...
/sago007[P]PlatformFolders/sago/platform_folders.cpp
void QtPromisePrivate::qtpromise_defer<QtPromisePrivate::PromiseData<QList<bool>>::notify(QList<std::pair<QPointer<QThread>, std::function<void (QList<bool> const&)>>> const&)::'lambda'()>(QtPromisePrivate::PromiseData<QList<bool>>::notify(QList<std::pair<QPointer<QThread>, std::function<void (QList<bool> const&)>>> co...
~Event() override { m_f(); }
pushq %r14 pushq %rbx pushq %rax leaq 0x24d71(%rip), %rax # 0x35040 movq %rax, (%rdi) cmpq $0x0, 0x20(%rdi) je 0x1031d movq %rdi, %rbx leaq 0x10(%rdi), %r14 movq 0x30(%rdi), %rsi movq %r14, %rdi callq *0x28(%rbx) movq 0x38(%rbx), %rdi testq %rdi, %rdi je 0x102f8 callq 0x140ca movq 0x20(%rbx), %rax testq %rax, %rax ...
/simonbrunel[P]qtpromise/include/../src/qtpromise/qpromise_p.h
QtPromisePrivate::PromiseDataBase<void, void ()>::dispatch()
void dispatch() { if (isPending()) { return; } // A promise can't be resolved multiple times so once settled, its state can't // change. When fulfilled, handlers must be called (a single time) and catchers // ignored indefinitely (or vice-versa when the promise i...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdi, %rbx callq 0x171a6 testb %al, %al jne 0x170f6 leaq 0x10(%rbx), %r14 movq %r14, %rdi callq 0x5200 movups 0x20(%rbx), %xmm0 movaps %xmm0, 0x30(%rsp) movq 0x30(%rbx), %rax movq %rax, 0x40(%rsp) xorl %eax, %eax movq %rax, 0x30(%rb...
/simonbrunel[P]qtpromise/include/../src/qtpromise/qpromise_p.h
QtPromisePrivate::PromiseDataBase<QList<int>, void (QList<int> const&)>::dispatch()
void dispatch() { if (isPending()) { return; } // A promise can't be resolved multiple times so once settled, its state can't // change. When fulfilled, handlers must be called (a single time) and catchers // ignored indefinitely (or vice-versa when the promise i...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdi, %rbx callq 0x19722 testb %al, %al jne 0x19600 leaq 0x10(%rbx), %r14 movq %r14, %rdi callq 0x5200 movups 0x20(%rbx), %xmm0 movaps %xmm0, 0x30(%rsp) movq 0x30(%rbx), %rax movq %rax, 0x40(%rsp) xorl %eax, %eax movq %rax, 0x30(%rb...
/simonbrunel[P]qtpromise/include/../src/qtpromise/qpromise_p.h
void QtPromisePrivate::PromiseFulfill<QtPromise::QPromise<bool>>::call<QtPromise::QPromiseResolve<bool>, QtPromise::QPromiseReject<bool>>(QtPromise::QPromise<bool> const&, QtPromise::QPromiseResolve<bool> const&, QtPromise::QPromiseReject<bool> const&)
static void call(const QtPromise::QPromise<T>& promise, const TResolve& resolve, const TReject& reject) { if (promise.isFulfilled()) { resolve(promise.m_d->value()); } else if (promise.isRejected()) { reject(promise.m_d->error()); } else { promise.then...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x70, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq 0x8(%rdi), %r13 movq %r13, %rdi callq 0x1458e movq 0x8(%rbx), %r12 testb %al, %al jne 0x1b33b cmpq $0x0, 0x50(%r13) jne 0x1b33b addq $0x58, %r12 movq %r15, %rdi movq %r12, %rsi addq $0x70, %rsp p...
/simonbrunel[P]qtpromise/include/../src/qtpromise/qpromise_p.h
void QtPromisePrivate::PromiseDataBase<bool, void (bool const&)>::reject<QtPromisePrivate::PromiseError const&>(QtPromisePrivate::PromiseError const&)
void reject(E&& error) { Q_ASSERT(isPending()); Q_ASSERT(m_error.isNull()); m_error = PromiseError{std::forward<E>(error)}; setSettled(); }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movq (%rsi), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x1b6eb leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x50f0 movq (%r14), %rax jmp 0x1b6ed xorl %eax, %eax movq $0x0, 0x8(%rsp) movq 0x50(%rbx), %rcx movq %rcx, 0x10(%rsp) movq %rax, 0x50(%rbx) testq %rcx, %rc...
/simonbrunel[P]qtpromise/include/../src/qtpromise/qpromise_p.h
QtPromisePrivate::PromiseDataBase<std::__cxx11::list<int, std::allocator<int>>, void (std::__cxx11::list<int, std::allocator<int>> const&)>::~PromiseDataBase()
virtual ~PromiseDataBase() { }
pushq %rbx movq %rdi, %rbx leaq 0x14d41(%rip), %rax # 0x35b70 addq $0x10, %rax movq %rax, (%rdi) cmpq $0x0, 0x50(%rdi) je 0x20e46 leaq 0x50(%rbx), %rdi callq 0x50c0 leaq 0x38(%rbx), %rdi callq 0x13ee0 leaq 0x20(%rbx), %rdi callq 0x20e66 addq $0x10, %rbx movq %rbx, %rdi popq %rbx jmp 0x52f0 nop
/simonbrunel[P]qtpromise/include/../src/qtpromise/qpromise_p.h
void QtPromisePrivate::PromiseData<std::__cxx11::list<int, std::allocator<int>>>::resolve<std::__cxx11::list<int, std::allocator<int>>>(std::__cxx11::list<int, std::allocator<int>>&&)
void resolve(V&& value) { Q_ASSERT(this->isPending()); Q_ASSERT(m_value.isNull()); m_value = PromiseValue<T>{std::forward<V>(value)}; this->setSettled(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movl $0x28, %edi callq 0x5090 movq %rax, %r15 leaq 0xf(%rsp), %rsi movq %rax, %rdi movq %r14, %rdx callq 0x213b8 leaq 0x10(%r15), %rax movq %rax, 0x58(%rbx) movq 0x60(%rbx), %rdi movq %r15, 0x60(%rbx) testq %rdi, %rdi je 0x21108 callq 0x1...
/simonbrunel[P]qtpromise/include/../src/qtpromise/qpromise_p.h
std::function<void (QtPromisePrivate::PromiseError const&)> QtPromisePrivate::PromiseCatcher<std::__cxx11::list<int, std::allocator<int>>, std::nullptr_t, void>::create<QtPromise::QPromiseResolve<void>, QtPromise::QPromiseReject<void>>(std::nullptr_t, QtPromise::QPromiseResolve<void> const&, QtPromise::QPromiseReject<v...
static std::function<void(const PromiseError&)> create(std::nullptr_t, const TResolve&, const TReject& reject) { return [=](const PromiseError& error) { // 2.2.7.4. If onRejected is not a function and promise1 is rejected, // promise2 must be rejected with the same reason as prom...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq (%rcx), %r14 testq %r14, %r14 je 0x21971 lock incl (%r14) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rbx) movups %xmm0, (%rbx) movl $0x8, %edi callq 0x5090 movq %r14, (%rax) testq %r14, %r14 je 0x219bf lock incl (%r14) movq %rax, (%rbx) leaq 0xfad(%rip), %rax # 0x...
/simonbrunel[P]qtpromise/include/../src/qtpromise/qpromise_p.h
avilib::cancel(int, int, int&, int&)
bool avilib::cancel( int32_t nom, int32_t denom, int32_t &out_nom, int32_t &out_denom ) { if( !denom || !nom ) return false; int32_t _gcd = gcd( nom, denom ); if( _gcd ) { out_nom = nom / _gcd; out_denom = denom / _gcd; return true; } return false; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rcx, %rbx testl %esi, %esi sete %al testl %edi, %edi sete %cl orb %al, %cl jne 0x30bbb movq %rdx, %r14 movl %esi, %ebp movl %edi, %r15d callq 0x30b62 testl %eax, %eax je 0x30bbb movl %eax, %ecx movl %r15d, %eax cltd idivl %ecx movl %eax, (%r14) movl %ebp, %ea...
/arionik[P]avilib/avilib.cpp
avilib::AviReader::~AviReader()
avilib::AviReader::~AviReader() { _f.close(); }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx leaq 0x16afb(%rip), %rax # 0x47cf0 movq %rax, (%rdi) leaq 0x58(%rdi), %r14 movq %r14, %rdi callq 0x24070 leaq 0x470(%rbx), %rdi callq 0x3317a leaq 0x440(%rbx), %rdi callq 0x32de0 leaq 0x410(%rbx), %rdi callq 0x32de0 leaq 0x320(%rbx), %rdi callq 0x32e9c movq %r14, %rd...
/arionik[P]avilib/reader.cpp
avilib::AviReader::open(char const*)
bool avilib::AviReader::open( const char *filename ) { char tag[ 5 ] = {0}; uint32_t size = 0; bool b_audio = false; int32_t i_streamHeader = 0; m_useMovieOffset = false; char message[512]; clear_log(); m_moviOffs.clear(); _f.open( filename, ifstream::binary ); if( !_f.good() ){ log( "Cannot parse, file is...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x408, %rsp # imm = 0x408 movq %rsi, %rbx andl $0x0, 0x8(%rsp) movq %rdi, %r15 andl $0x0, 0x4(%rsp) xorl %r14d, %r14d movb %r14b, 0xc(%rsp) movb %r14b, 0x4c4(%rdi) leaq 0x8(%rdi), %rbp movq %rbp, %rdi callq 0x30c02 leaq 0x470(%r15), %r13...
/arionik[P]avilib/reader.cpp
avilib::AviWriter::~AviWriter()
avilib::AviWriter::~AviWriter() { close(); }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x1367e(%rip), %rax # 0x47d48 movq %rax, (%rdi) callq 0x347ce leaq 0x430(%rbx), %rdi callq 0x364b6 leaq 0x3a0(%rbx), %rdi callq 0x36776 leaq 0x370(%rbx), %rdi callq 0x3650e leaq 0x340(%rbx), %rdi callq 0x36566 leaq 0x310(%rbx), %rdi callq 0x36686 leaq 0x2e0(%rbx...
/arionik[P]avilib/writer.cpp
acutest_help_
static void acutest_help_(void) { printf("Usage: %s [options] [test...]\n", acutest_argv0_); printf("\n"); printf("Run the specified unit tests; or if the option '--exclude' is used, run all\n"); printf("tests in the suite but those listed. By default, if no tests are specified\n"); printf("on the ...
pushq %rbp movq %rsp, %rbp movq 0x6165d(%rip), %rsi # 0x6d3d8 leaq 0x468ce(%rip), %rdi # 0x52650 movb $0x0, %al callq 0x8070 leaq 0x4a773(%rip), %rdi # 0x56503 movb $0x0, %al callq 0x8070 leaq 0x468d1(%rip), %rdi # 0x5266f movb $0x0, %al callq 0x8070 leaq 0x46910(%rip), %rdi # 0x526bc movb $0x0, %al...
/nanomsg[P]nng/src/testing/acutest.h
dialer_reap
static void dialer_reap(void *arg) { nni_dialer *d = arg; nni_sock *s = d->d_sock; #ifdef NNG_ENABLE_STATS nni_stat_unregister(&d->st_root); #endif nni_mtx_lock(&s->s_mx); if (!nni_list_empty(&d->d_pipes)) { nni_pipe *p; // This should already have been done, but be certain! NNI_LIST_FOREACH (&d->d_pipes...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq 0x80(%rax), %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rdi addq $0x550, %rdi # imm = 0x550 callq 0x1cdf0 movq -0x18(%rbp), %rdi addq $0x10, %rdi callq 0x1e940 movq -0...
/nanomsg[P]nng/src/core/socket.c
nni_url_default_port
uint16_t nni_url_default_port(const char *scheme) { const char *s; for (int i = 0; (s = nni_url_default_ports[i].scheme) != NULL; i++) { size_t l = strlen(s); if (strncmp(s, scheme, strlen(s)) != 0) { continue; } // It can have a suffix of either "4" or "6" to restrict // the address family. This is an...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movl $0x0, -0x1c(%rbp) movslq -0x1c(%rbp), %rcx leaq 0x4bff2(%rip), %rax # 0x6b690 shlq $0x4, %rcx addq %rcx, %rax movq (%rax), %rax movq %rax, -0x18(%rbp) cmpq $0x0, %rax je 0x1f778 movq -0x18(%rbp), %rdi callq 0x8340 movq %rax, -0x28(%rbp) movq -0...
/nanomsg[P]nng/src/core/url.c
nuts_logger
void nuts_logger(nng_log_level level, nng_log_facility fac, const char *msgid, const char *msg) { (void) fac; char *lstr; int color; switch (level) { case NNG_LOG_DEBUG: lstr = "DEBUG"; color = NUTS_COLOR_DEFAULT_; break; case NNG_LOG_INFO: lstr = "INFO"; color = NUTS_COLOR_DEFAULT_; break; c...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movl %edi, -0x4(%rbp) movl %esi, -0x8(%rbp) movq %rdx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movl -0x4(%rbp), %eax addl $-0x3, %eax movl %eax, %ecx movq %rcx, -0x30(%rbp) subl $0x4, %eax ja 0x24b9f movq -0x30(%rbp), %rax leaq 0x2fdba(%rip), %rcx # 0x548ec movslq (%rcx,%rax,4...
/nanomsg[P]nng/src/testing/util.c
pair1_pipe_recv_cb
static void pair1_pipe_recv_cb(void *arg) { pair1_pipe *p = arg; pair1_sock *s = p->pair; nni_msg *msg; uint32_t hdr; nni_pipe *pipe = p->pipe; size_t len; nni_aio *a; if (nni_aio_result(&p->aio_recv) != 0) { nni_pipe_close(p->pipe); return; } msg = nni_aio_get_msg(&p->aio_recv); // St...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rax movq %rax, -0x30(%rbp) movq -0x10(%rbp), %rdi addq $0x1d8, %rdi # imm = 0x1D8 callq 0x1114...
/nanomsg[P]nng/src/sp/protocol/pair1/pair.c
sfd_tran_ep_fini
static void sfd_tran_ep_fini(void *arg) { sfd_tran_ep *ep = arg; nni_mtx_lock(&ep->mtx); nni_mtx_unlock(&ep->mtx); nni_aio_stop(&ep->connaio); nng_stream_listener_free(ep->listener); nni_aio_fini(&ep->connaio); nni_mtx_fini(&ep->mtx); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0x1e940 movq -0x10(%rbp), %rdi callq 0x1e960 movq -0x10(%rbp), %rdi addq $0xd0, %rdi callq 0x10dd0 movq -0x10(%rbp), %rax movq 0x2d0(%rax), %rdi callq 0x3f680 movq -0x10(%rbp), %rd...
/nanomsg[P]nng/src/sp/transport/socket/sockfd.c
sfd_tran_ep_match
static void sfd_tran_ep_match(sfd_tran_ep *ep) { nni_aio *aio; sfd_tran_pipe *p; if (((aio = ep->useraio) == NULL) || ((p = nni_list_first(&ep->waitpipes)) == NULL)) { return; } nni_list_remove(&ep->waitpipes, p); ep->useraio = NULL; p->rcvmax = ep->rcvmax; nni_aio_set_output(aio, 0, p->npipe); ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq 0xc8(%rax), %rax movq %rax, -0x10(%rbp) cmpq $0x0, %rax je 0x2bacb movq -0x8(%rbp), %rdi addq $0x298, %rdi # imm = 0x298 callq 0x14d60 movq %rax, -0x18(%rbp) cmpq $0x0, %rax jne 0x2bacd jmp 0x2bb22 movq -0x8(%rbp), %...
/nanomsg[P]nng/src/sp/transport/socket/sockfd.c
sfd_tran_pipe_close
static void sfd_tran_pipe_close(void *arg) { sfd_tran_pipe *p = arg; nni_mtx_lock(&p->mtx); p->closed = true; nni_mtx_unlock(&p->mtx); nni_aio_close(&p->rxaio); nni_aio_close(&p->txaio); nni_aio_close(&p->negoaio); nng_stream_close(p->conn); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rdi addq $0x600, %rdi # imm = 0x600 callq 0x1e940 movq -0x10(%rbp), %rax movb $0x1, 0x20(%rax) movq -0x10(%rbp), %rdi addq $0x600, %rdi # imm = 0x600 callq 0x1e960 movq...
/nanomsg[P]nng/src/sp/transport/socket/sockfd.c
sfd_tran_pipe_init
static int sfd_tran_pipe_init(void *arg, nni_pipe *npipe) { sfd_tran_pipe *p = arg; p->npipe = npipe; nni_mtx_init(&p->mtx); nni_aio_init(&p->txaio, sfd_tran_pipe_send_cb, p); nni_aio_init(&p->rxaio, sfd_tran_pipe_recv_cb, p); nni_aio_init(&p->negoaio, sfd_tran_pipe_nego_cb, p); nni_aio_list_init(&p->rec...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rcx movq -0x18(%rbp), %rax movq %rcx, 0x8(%rax) movq -0x18(%rbp), %rdi addq $0x600, %rdi # imm = 0x600 callq 0x1e900 movq -0x18(%rbp), %rdi addq $0xa0, %rdi...
/nanomsg[P]nng/src/sp/transport/socket/sockfd.c
sfd_tran_pipe_fini
static void sfd_tran_pipe_fini(void *arg) { sfd_tran_pipe *p = arg; nni_aio_fini(&p->rxaio); nni_aio_fini(&p->txaio); nni_aio_fini(&p->negoaio); nng_stream_free(p->conn); nni_msg_free(p->rxmsg); nni_mtx_fini(&p->mtx); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rdi addq $0x268, %rdi # imm = 0x268 callq 0x10b50 movq -0x10(%rbp), %rdi addq $0xa0, %rdi callq 0x10b50 movq -0x10(%rbp), %rdi addq $0x430, %rdi # imm = 0x430 callq 0x1...
/nanomsg[P]nng/src/sp/transport/socket/sockfd.c
sfd_tran_pipe_send
static void sfd_tran_pipe_send(void *arg, nni_aio *aio) { sfd_tran_pipe *p = arg; nni_mtx_lock(&p->mtx); if (!nni_aio_start(aio, sfd_tran_pipe_send_cancel, p)) { nni_mtx_unlock(&p->mtx); return; } nni_list_append(&p->sendq, aio); if (nni_list_first(&p->sendq) == aio) { sfd_tran_pipe_send_start(p); } nni_...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rdi addq $0x600, %rdi # imm = 0x600 callq 0x1e940 movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rdx leaq 0xb89(%rip), %rsi # 0x2ca10 callq 0x11220 testb $...
/nanomsg[P]nng/src/sp/transport/socket/sockfd.c
sfd_tran_pipe_send_start
static void sfd_tran_pipe_send_start(sfd_tran_pipe *p) { nni_aio *aio; nni_aio *txaio; nni_msg *msg; int niov; nni_iov iov[3]; uint64_t len; if (p->closed) { while ((aio = nni_list_first(&p->sendq)) != NULL) { nni_list_remove(&p->sendq, aio); nni_aio_finish_error(aio, NNG_ECLOSED); } return; ...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax testb $0x1, 0x20(%rax) je 0x2c74b jmp 0x2c708 movq -0x8(%rbp), %rdi addq $0x88, %rdi callq 0x14d60 movq %rax, -0x10(%rbp) cmpq $0x0, %rax je 0x2c746 movq -0x8(%rbp), %rdi addq $0x88, %rdi movq -0x10(%rbp), %rsi callq 0x15120 movq -0...
/nanomsg[P]nng/src/sp/transport/socket/sockfd.c
sfd_tran_pipe_send_cancel
static void sfd_tran_pipe_send_cancel(nni_aio *aio, void *arg, int rv) { sfd_tran_pipe *p = arg; nni_mtx_lock(&p->mtx); if (!nni_aio_list_active(aio)) { nni_mtx_unlock(&p->mtx); return; } // If this is being sent, then cancel the pending transfer. // The callback on the txaio will cause the user aio to // b...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rdi addq $0x600, %rdi # imm = 0x600 callq 0x1e940 movq -0x8(%rbp), %rdi callq 0x118a0 cmpl $0x0, %eax jne 0x2ca5b movq -0x20(%rbp), ...
/nanomsg[P]nng/src/sp/transport/socket/sockfd.c
inproc_ep_connect
static void inproc_ep_connect(void *arg, nni_aio *aio) { inproc_ep *ep = arg; inproc_ep *server; nni_aio_reset(aio); nni_mtx_lock(&nni_inproc.mx); // Find a server. NNI_LIST_FOREACH (&nni_inproc.servers, server) { if (strcmp(server->addr, ep->addr) == 0) { break; } } if (server == NULL) { nni_mtx_un...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0x111b0 leaq 0x3f148(%rip), %rdi # 0x6bdc0 callq 0x1e940 leaq 0x3f13c(%rip), %rdi # 0x6bdc0 addq $0x28, %rdi callq 0x14d60 movq %rax, -0x20(%rbp) cmp...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
inproc_ep_init
static void inproc_ep_init(inproc_ep *ep, nni_sock *sock, const nng_url *url) { nni_mtx_init(&ep->mtx); ep->proto = nni_sock_proto_id(sock); ep->rcvmax = 0; NNI_LIST_INIT(&ep->clients, inproc_ep, node); nni_aio_list_init(&ep->aios); ep->addr = url->u_path; // we match on the URL path. }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi addq $0xa0, %rdi callq 0x1e900 movq -0x10(%rbp), %rdi callq 0x1ab20 movw %ax, %cx movq -0x8(%rbp), %rax movw %cx, 0x28(%rax) movq -0x8(%rbp), %rax movq $0x0, 0x98(%rax) movq -0x8(%rbp), ...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
inproc_ep_cancel
static void inproc_ep_cancel(nni_aio *aio, void *arg, int rv) { inproc_ep *ep = arg; nni_mtx_lock(&nni_inproc.mx); if (nni_aio_list_active(aio)) { nni_aio_list_remove(aio); nni_list_node_remove(&ep->node); nni_aio_finish_error(aio, rv); } nni_mtx_unlock(&nni_inproc.mx); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) leaq 0x3ee0e(%rip), %rdi # 0x6bdc0 callq 0x1e940 movq -0x8(%rbp), %rdi callq 0x118a0 cmpl $0x0, %eax je 0x2cfe7 movq -0x8(%rbp), %rdi callq 0x11870 movq -0x20...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
inproc_accept_clients
static void inproc_accept_clients(inproc_ep *srv) { inproc_ep *cli, *nclient; nclient = nni_list_first(&srv->clients); while ((cli = nclient) != NULL) { nni_aio *caio; nclient = nni_list_next(&srv->clients, nclient); NNI_LIST_FOREACH (&cli->aios, caio) { inproc_pipe *cpipe; inproc_pipe *spipe; inpro...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi addq $0x68, %rdi callq 0x14d60 movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x10(%rbp) cmpq $0x0, %rax je 0x2d356 movq -0x8(%rbp), %rdi addq $0x68, %rdi movq -0x18(%rbp), %rsi callq 0x15060 movq %rax, -0x18(%rbp) movq -...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
inproc_ep_get_recvmaxsz
static int inproc_ep_get_recvmaxsz(void *arg, void *v, size_t *szp, nni_opt_type t) { inproc_ep *ep = arg; int rv; nni_mtx_lock(&ep->mtx); rv = nni_copyout_size(ep->rcvmax, v, szp, t); nni_mtx_unlock(&ep->mtx); return (rv); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rdi addq $0xa0, %rdi callq 0x1e940 movq -0x28(%rbp), %rax movq 0x98(%rax), %rdi movq -0x10(%rbp), %rsi movq -0x18(%rbp), ...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
inproc_ep_set_recvmaxsz
static int inproc_ep_set_recvmaxsz(void *arg, const void *v, size_t sz, nni_opt_type t) { inproc_ep *ep = arg; size_t val; int rv; if ((rv = nni_copyin_size(&val, v, sz, 0, NNI_MAXSZ, t)) == 0) { nni_mtx_lock(&ep->mtx); ep->rcvmax = val; nni_mtx_unlock(&ep->mtx); } return (rv); }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rsi movq -0x18(%rbp), %rdx movl -0x1c(%rbp), %r9d leaq -0x30(%rbp), %rdi xorl %eax, %eax movl %eax, %ecx movl $0xffffffff...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
inproc_ep_accept
static void inproc_ep_accept(void *arg, nni_aio *aio) { inproc_ep *ep = arg; nni_aio_reset(aio); nni_mtx_lock(&nni_inproc.mx); // We need not worry about the case where a non-blocking // accept was tried -- there is no API to do such a thing. if (!nni_aio_start(aio, inproc_ep_cancel, ep)) { nni_mtx_unlock(&n...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0x111b0 leaq 0x3e6a8(%rip), %rdi # 0x6bdc0 callq 0x1e940 movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rdx leaq -0x79c(%rip), %rsi # 0x2cf90 callq 0x112...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
inproc_pipe_recv
static void inproc_pipe_recv(void *arg, nni_aio *aio) { inproc_pipe *pipe = arg; inproc_queue *queue = pipe->recv_queue; nni_aio_reset(aio); nni_mtx_lock(&queue->lock); if (!nni_aio_start(aio, inproc_queue_cancel, queue)) { nni_mtx_unlock(&queue->lock); return; } nni_aio_list_append(&queue->readers, aio)...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movq 0x10(%rax), %rax movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0x111b0 movq -0x20(%rbp), %rdi addq $0x30, %rdi callq 0x1e940 movq -0x10(%rbp), %rdi movq...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
inproc_pipe_close
static void inproc_pipe_close(void *arg) { inproc_pipe *pipe = arg; inproc_pair *pair = pipe->pair; for (int i = 0; i < 2; i++) { inproc_queue *queue = &pair->queues[i]; nni_mtx_lock(&queue->lock); queue->closed = true; inproc_queue_run_closed(queue); nni_mtx_unlock(&queue->lock); } }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x18(%rbp) movl $0x0, -0x1c(%rbp) cmpl $0x2, -0x1c(%rbp) jge 0x2d99a movq -0x18(%rbp), %rax addq $0x18, %rax movslq -0x1c(%rbp), %rcx imulq $0x60, %rcx, ...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
inproc_queue_cancel
static void inproc_queue_cancel(nni_aio *aio, void *arg, int rv) { inproc_queue *queue = arg; nni_mtx_lock(&queue->lock); if (nni_aio_list_active(aio)) { nni_aio_list_remove(aio); nni_aio_finish_error(aio, rv); } nni_mtx_unlock(&queue->lock); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rdi addq $0x30, %rdi callq 0x1e940 movq -0x8(%rbp), %rdi callq 0x118a0 cmpl $0x0, %eax je 0x2da5b movq -0x8(%rbp), %rdi callq 0x11870 movq -0x8...
/nanomsg[P]nng/src/sp/transport/inproc/inproc.c
nni_sp_ipc_register
void nni_sp_ipc_register(void) { nni_sp_tran_register(&ipc_tran); #ifdef NNG_PLATFORM_POSIX nni_sp_tran_register(&ipc_tran_unix); #endif #ifdef NNG_HAVE_ABSTRACT_SOCKETS nni_sp_tran_register(&ipc_tran_abstract); #endif }
pushq %rbp movq %rsp, %rbp leaq 0x3e165(%rip), %rdi # 0x6be00 callq 0x23f30 leaq 0x3e199(%rip), %rdi # 0x6be40 callq 0x23f30 leaq 0x3e1cd(%rip), %rdi # 0x6be80 callq 0x23f30 popq %rbp retq nopw (%rax,%rax)
/nanomsg[P]nng/src/sp/transport/ipc/ipc.c
tcptran_ep_accept
static void tcptran_ep_accept(void *arg, nni_aio *aio) { tcptran_ep *ep = arg; nni_aio_reset(aio); nni_mtx_lock(&ep->mtx); if (ep->closed) { nni_mtx_unlock(&ep->mtx); nni_aio_finish_error(aio, NNG_ECLOSED); return; } if (ep->useraio != NULL) { nni_mtx_unlock(&ep->mtx); nni_aio_finish_error(aio, NNG_EBU...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0x111b0 movq -0x18(%rbp), %rdi callq 0x1e940 movq -0x18(%rbp), %rax testb $0x1, 0x3a(%rax) je 0x30710 movq -0x18(%rbp), %rdi callq 0x1e960 movq -0x10(%rbp), ...
/nanomsg[P]nng/src/sp/transport/tcp/tcp.c
udp_ep_get_recvmaxsz
static int udp_ep_get_recvmaxsz(void *arg, void *v, size_t *szp, nni_opt_type t) { udp_ep *ep = arg; int rv; nni_mtx_lock(&ep->mtx); rv = nni_copyout_size(ep->rcvmax, v, szp, t); nni_mtx_unlock(&ep->mtx); return (rv); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rdi addq $0x8, %rdi callq 0x1e940 movq -0x28(%rbp), %rax movzwl 0xa30(%rax), %eax movl %eax, %edi movq -0x10(%rbp), %rsi ...
/nanomsg[P]nng/src/sp/transport/udp/udp.c
udp_ep_get_copymax
static int udp_ep_get_copymax(void *arg, void *v, size_t *szp, nni_opt_type t) { udp_ep *ep = arg; int rv; nni_mtx_lock(&ep->mtx); rv = nni_copyout_size(ep->copymax, v, szp, t); nni_mtx_unlock(&ep->mtx); return (rv); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rdi addq $0x8, %rdi callq 0x1e940 movq -0x28(%rbp), %rax movzwl 0xa32(%rax), %eax movl %eax, %edi movq -0x10(%rbp), %rsi ...
/nanomsg[P]nng/src/sp/transport/udp/udp.c
udp_ep_get_remaddr
static int udp_ep_get_remaddr(void *arg, void *v, size_t *szp, nni_opt_type t) { udp_ep *ep = arg; int rv; nng_sockaddr sa; if (!ep->dialer) { return (NNG_ENOTSUP); } sa = ep->peer_sa; rv = nni_copyout_sockaddr(&sa, v, szp, t); return (rv); }
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movl %ecx, -0x24(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x30(%rbp) movq -0x30(%rbp), %rax testb $0x1, 0x3e8(%rax) jne 0x367b8 movl $0x9, -0x4(%rbp) jmp 0x367f4 movq -0x30(%rbp), %rsi addq $0x8e0, %rsi ...
/nanomsg[P]nng/src/sp/transport/udp/udp.c
udp_ep_accept
static void udp_ep_accept(void *arg, nni_aio *aio) { udp_ep *ep = arg; nni_aio_reset(aio); nni_mtx_lock(&ep->mtx); if (ep->closed) { nni_mtx_unlock(&ep->mtx); nni_aio_finish_error(aio, NNG_ECLOSED); return; } if (!nni_aio_start(aio, udp_ep_cancel, ep)) { nni_mtx_unlock(&ep->mtx); return; } nni_aio_li...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0x111b0 movq -0x18(%rbp), %rdi addq $0x8, %rdi callq 0x1e940 movq -0x18(%rbp), %rax testb $0x1, 0x36(%rax) je 0x36b05 movq -0x18(%rbp), %rdi addq $0x8, %rdi ...
/nanomsg[P]nng/src/sp/transport/udp/udp.c
udp_pipe_stop
static void udp_pipe_stop(void *arg) { udp_pipe *p = arg; udp_ep *ep = p->ep; udp_pipe_close(arg); nni_mtx_lock(&ep->mtx); if (p->self_id != 0) { nni_id_remove(&p->ep->pipes, p->self_id); p->self_id = 0; } nni_list_node_remove(&p->node); nni_mtx_unlock(&ep->mtx); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rax movq %rax, -0x18(%rbp) movq -0x8(%rbp), %rdi callq 0x36fe0 movq -0x18(%rbp), %rdi addq $0x8, %rdi callq 0x1e940 movq -0x10(%rbp), %rax cmpl $0x0, 0x9c(%rax) je 0x36d6f ...
/nanomsg[P]nng/src/sp/transport/udp/udp.c
udp_pipe_recv
static void udp_pipe_recv(void *arg, nni_aio *aio) { udp_pipe *p = arg; udp_ep *ep = p->ep; nni_aio_reset(aio); nni_mtx_lock(&ep->mtx); if (p->closed) { nni_mtx_unlock(&ep->mtx); nni_aio_finish_error(aio, NNG_ECLOSED); return; } if (!nni_aio_start(aio, udp_pipe_recv_cancel, p)) { nni_mtx_unlock(&ep->...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movq (%rax), %rax movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0x111b0 movq -0x20(%rbp), %rdi addq $0x8, %rdi callq 0x1e940 movq -0x18(%rbp), %rax testb $0x...
/nanomsg[P]nng/src/sp/transport/udp/udp.c