name
string
code
string
asm
string
file
string
ON_BinaryArchive::ReadArray(ON_ClassArray<ON_String>&)
bool ON_BinaryArchive::ReadArray( ON_ClassArray<ON_String>& a) { a.Empty(); int count = 0; bool rc = ReadInt( &count ); if ( rc && count > 0 ) { a.SetCapacity( count ); int i; for ( i = 0; i < count && rc; i++ ) { rc = ReadString( a.AppendNew() ); } } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rdi callq 0x300160 movq -0x28(%rbp), %rdi movl $0x0, -0x14(%rbp) leaq -0x14(%rbp), %rsi callq 0x30aa10 andb $0x1, %al movb %al, -0x15(%rbp) testb $0x1, -0x15(%rbp) je ...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::ReadArray(ON_ClassArray<ON_wString>&)
bool ON_BinaryArchive::ReadArray( ON_ClassArray<ON_wString>& a) { a.Empty(); int count = 0; bool rc = ReadInt( &count ); if ( rc && count > 0 ) { a.SetCapacity( count ); int i; for ( i = 0; i < count && rc; i++ ) { rc = ReadString( a.AppendNew() ); } } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rdi callq 0x2feb90 movq -0x28(%rbp), %rdi movl $0x0, -0x14(%rbp) leaq -0x14(%rbp), %rsi callq 0x30aa10 andb $0x1, %al movb %al, -0x15(%rbp) testb $0x1, -0x15(%rbp) je ...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::WriteArray(ON_SimpleArray<ON_DisplayMaterialRef> const&)
bool ON_BinaryArchive::WriteArray( const ON_SimpleArray<ON_DisplayMaterialRef>& a ) { int i, count = a.Count(); if ( count < 0 ) count = 0; bool rc = WriteInt( count ); for ( i = 0; i < count && rc; i++ ) { rc = WriteDisplayMaterialRef( a[i] ); } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rdi callq 0x30d3b0 movl %eax, -0x18(%rbp) cmpl $0x0, -0x18(%rbp) jge 0x3952b1 movl $0x0, -0x18(%rbp) movq -0x28(%rbp), %rdi movl -0x18(%rbp), %esi callq 0x308650 andb ...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::WriteArray(ON_ClassArray<ON_String> const&)
bool ON_BinaryArchive::WriteArray( const ON_ClassArray<ON_String>& a ) { int i, count = a.Count(); if ( count < 0 ) count = 0; bool rc = WriteInt( count ); for ( i = 0; i < count && rc; i++ ) { rc = WriteString( a[i] ); } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rdi callq 0x3227e0 movl %eax, -0x18(%rbp) cmpl $0x0, -0x18(%rbp) jge 0x3953a1 movl $0x0, -0x18(%rbp) movq -0x28(%rbp), %rdi movl -0x18(%rbp), %esi callq 0x308650 andb ...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::WriteString(ON_String const&)
bool ON_BinaryArchive::WriteString( const ON_String& sUTF8 ) { // The ON_String::IsValid call prevents corrupt strings from breaking file IO // The parameter MUST be false here. sUTF8.IsValid(false); size_t string_utf8_element_count = sUTF8.Length(); if ( string_utf8_element_count ) string_utf8_element_c...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rdi xorl %esi, %esi callq 0x32a2b0 movq -0x10(%rbp), %rdi callq 0x331430 cltq movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) je 0x395455 movq -0x18(%rbp), %rax addq $0x...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::WriteArray(ON_ClassArray<ON_wString> const&)
bool ON_BinaryArchive::WriteArray( const ON_ClassArray<ON_wString>& a ) { int i, count = a.Count(); if ( count < 0 ) count = 0; bool rc = WriteInt( count ); for ( i = 0; i < count && rc; i++ ) { rc = WriteString( a[i] ); } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rdi callq 0x330dc0 movl %eax, -0x18(%rbp) cmpl $0x0, -0x18(%rbp) jge 0x3954f1 movl $0x0, -0x18(%rbp) movq -0x28(%rbp), %rdi movl -0x18(%rbp), %esi callq 0x308650 andb ...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::WriteString(ON_wString const&)
bool ON_BinaryArchive::WriteString( const ON_wString& s ) { // No matter what size wchar_t is, this function writes a UTF-16 encoded string // to the archive. #if defined(ON_COMPILER_MSC) #pragma ON_PRAGMA_WARNING_PUSH // Disable the MSC /W4 "conditional expression is constant" warning // about 2 == sizeof(wchar_t)...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x80(%rbp) movq -0x10(%rbp), %rdi xorl %esi, %esi callq 0x335b30 movq -0x10(%rbp), %rdi callq 0x3082f0 cltq movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) jbe 0x3955a8 movq -0x18(%rbp), %rax addq $0...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::ReadArray(ON_SimpleArray<char>&)
bool ON_BinaryArchive::ReadArray( ON_SimpleArray<char>& a ) { a.Empty(); int count = 0; bool rc = ReadInt( &count ); if ( rc && count > 0 ) { a.SetCapacity( count ); rc = ReadChar( count, a.Array() ); if ( rc ) a.SetCount(count); } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0x322bb0 movq -0x20(%rbp), %rdi movl $0x0, -0x14(%rbp) leaq -0x14(%rbp), %rsi callq 0x30aa10 andb $0x1, %al movb %al, -0x15(%rbp) testb $0x1, -0x15(%rbp) je ...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::Read3dmLayer(ON_Layer**)
int ON_BinaryArchive::Read3dmLayer( ON_Layer** ppLayer ) { if ( false == Read3dmTableRecord(ON_3dmArchiveTableType::layer_table, (void**)ppLayer)) return 0; ON__UINT32 tcode; ON__INT64 big_value; ON_Layer* layer = nullptr; // returns 0 at end of layer table if ( m_3dm_version == 1 ) { if (Read3dm...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x40(%rbp) movq -0x18(%rbp), %rdx movl $0x80, %esi callq 0x323900 andb $0x1, %al movzbl %al, %ecx xorl %eax, %eax cmpl %ecx, %eax jne 0x3a5cad movl $0x0, -0x4(%rbp) jmp 0x3a5e19 movq -0x40(%rbp),...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::Write3dmGroupComponent(ON_ModelComponent const*)
bool ON_BinaryArchive::Write3dmGroupComponent( const ON_ModelComponent* model_component ) { bool rc = false; for (;;) { const ON_Group* group = ON_Group::Cast(model_component); if (nullptr == group) { ON_ERROR("model_component parameter is not a group component."); break; } r...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movb $0x0, -0x11(%rbp) movq -0x10(%rbp), %rdi callq 0x338ae0 movq %rax, -0x20(%rbp) xorl %eax, %eax cmpq -0x20(%rbp), %rax jne 0x3a5f24 leaq 0x530e3b(%rip), %rdi # 0x8d6d43 movl $0x28...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::Read3dmGroup(ON_Group**)
int ON_BinaryArchive::Read3dmGroup( ON_Group** ppGroup ) { if ( false == Read3dmTableRecord(ON_3dmArchiveTableType::group_table, (void**)ppGroup)) return 0; ON__UINT32 tcode = 0; ON__INT64 big_value = 0; ON_Group* group = nullptr; if ( BeginRead3dmBigChunk( &tcode, &big_value ) ) { if ( tcode == T...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x40(%rbp) movq -0x18(%rbp), %rdx movl $0x100, %esi # imm = 0x100 callq 0x323900 andb $0x1, %al movzbl %al, %ecx xorl %eax, %eax cmpl %ecx, %eax jne 0x3a610d movl $0x0, -0x4(%rbp) jmp ...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::Internal_Write3dmTextStyle(ON_TextStyle const&)
bool ON_BinaryArchive::Internal_Write3dmTextStyle( const class ON_TextStyle& text_style ) { if (false == ArchiveContains3dmTable(ON_3dmArchiveTableType::text_style_table)) return true; if ( false == Internal_Begin3dmTableRecord(ON_3dmArchiveTableType::text_style_table) ) return false; Internal_Increm...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x30(%rbp) movl $0x200, %esi # imm = 0x200 callq 0x3062d0 andb $0x1, %al movzbl %al, %ecx xorl %eax, %eax cmpl %ecx, %eax jne 0x3a6306 movb $0x1, -0x1(%rbp) jmp 0x3a63d6 movq -0x30(%rb...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::Internal_ArchiveCurrentDimStyle()
const ON_DimStyle* ON_BinaryArchive::Internal_ArchiveCurrentDimStyle() { ON::LengthUnitSystem model_unit_system = ON::LengthUnitSystem::Unset; if (nullptr != m_archive_3dm_settings) { model_unit_system = m_archive_3dm_settings->m_ModelUnitsAndTolerances.m_unit_system.UnitSystem(); const ON_UUID id = m_arc...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rcx movq %rcx, -0xa8(%rbp) movb $-0x1, -0x11(%rbp) xorl %eax, %eax cmpq 0x1f8(%rcx), %rax je 0x3a7330 movq -0xa8(%rbp), %rax movq 0x1f8(%rax), %rdi addq $0xb8, %rdi callq 0x30b2e0 movb %al, %cl movq -0xa8(%rbp), %rax movb %cl, -0x11(%...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::Read3dmInstanceDefinition(ON_InstanceDefinition**)
int ON_BinaryArchive::Read3dmInstanceDefinition( ON_InstanceDefinition** ppInstanceDefinition ) { if ( false == Read3dmTableRecord(ON_3dmArchiveTableType::instance_definition_table, (void**)ppInstanceDefinition)) return 0; ON__UINT32 tcode = 0; ON__INT64 big_value = 0; ON_InstanceDefinition* idef = nullptr...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x40(%rbp) movq -0x18(%rbp), %rdx movl $0x4000, %esi # imm = 0x4000 callq 0x323900 andb $0x1, %al movzbl %al, %ecx xorl %eax, %eax cmpl %ecx, %eax jne 0x3a934d movl $0x0, -0x4(%rbp) jmp...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::Read3dmMaterial(ON_Material**)
int ON_BinaryArchive::Read3dmMaterial( ON_Material** ppMaterial ) { if ( false == Read3dmTableRecord(ON_3dmArchiveTableType::material_table, (void**)ppMaterial)) return 0; int rc; ON_Material* material = nullptr; ON__UINT32 tcode = 0; ON__INT64 big_value = 0; if ( m_3dm_version == 1 ) { ON_Mater...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x50(%rbp) movq -0x18(%rbp), %rdx movl $0x20, %esi callq 0x323900 andb $0x1, %al movzbl %al, %ecx xorl %eax, %eax cmpl %ecx, %eax jne 0x3ab55d movl $0x0, -0x4(%rbp) jmp 0x3ab731 movq -0x50(%rbp),...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_BinaryArchive::ReadV1_TCODE_RH_POINT(ON_Object**, ON_3dmObjectAttributes*)
bool ON_BinaryArchive::ReadV1_TCODE_RH_POINT( ON_Object** ppObject, ON_3dmObjectAttributes* pAttributes ) { ON__UINT64 pos0 = 0; ON_3DM_BIG_CHUNK* point_chunk = m_chunk.Last(); if ( 0 != point_chunk && TCODE_RH_POINT == point_chunk->m_typecode && 0 == point_chunk->m_big_value ) { /...
pushq %rbp movq %rsp, %rbp subq $0x120, %rsp # imm = 0x120 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0xc0(%rbp) movq $0x0, -0x20(%rbp) addq $0x60, %rdi callq 0x32a5c0 movq %rax, -0x28(%rbp) xorl %eax, %eax cmpq -0x28(%rbp), %rax je 0x3acd2b movq -0x...
/mcneel[P]opennurbs/opennurbs_archive.cpp
TweakAnnotationPlane(ON_Plane&)
static void TweakAnnotationPlane( ON_Plane& plane ) { // 10 November 2003 Dale Lear // Fixed lots of bugs in annotation plane tweaking. // Before the fix this block of code was cut-n-pasted // in three places. The fabs() calls were wrong. In addition // and the // .x values where tested and the...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movsd 0x52809c(%rip), %xmm0 # 0x8d6c50 movsd %xmm0, -0x10(%rbp) movq -0x8(%rbp), %rax movsd (%rax), %xmm0 movaps 0x524448(%rip), %xmm1 # 0x8d3010 pand %xmm1, %xmm0 movsd 0x52807c(%rip), %xmm1 # 0x8d6c50 ucomisd %xmm1, %xmm0 jbe 0x3aebe5 movq -0x8(%...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ReadV1_TCODE_ANNOTATION_Helper(ON_BinaryArchive&, char*, ON_wString&)
static bool ReadV1_TCODE_ANNOTATION_Helper( ON_BinaryArchive& archive, char* buffer, ON_wString& tc ) { char* cp = 0; int j = 0; if( !archive.ReadInt( &j)) return false; size_t sz = (j+1)*sizeof(cp[0]); if( j > BUFLEN - 1 || !buffer ) { cp = (char*)onmalloc( sz ); if( !cp) return false; ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq $0x0, -0x28(%rbp) movl $0x0, -0x2c(%rbp) movq -0x10(%rbp), %rdi leaq -0x2c(%rbp), %rsi callq 0x30aa10 testb $0x1, %al jne 0x3aee0d movb $0x0, -0x1(%rbp) jmp 0x3aeebb movl -0x2c(%rbp), %eax addl $0x1, %e...
/mcneel[P]opennurbs/opennurbs_archive.cpp
BeginRead3dmLEGACYSTUFF(ON_BinaryArchive&, unsigned int)
static bool BeginRead3dmLEGACYSTUFF( ON_BinaryArchive& file, unsigned int stuff_tcode ) { // begins reading stuff chunk bool rc = false; ON__UINT32 tcode = !stuff_tcode; ON__INT64 big_value = 0; for (;;) { if ( !file.BeginRead3dmBigChunk(&tcode,&big_value) ) break; if ( tcode == stuff_tcode )...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movb $0x0, -0xd(%rbp) cmpl $0x0, -0xc(%rbp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax movl %eax, -0x14(%rbp) movq $0x0, -0x20(%rbp) movq -0x8(%rbp), %rdi leaq -0x14(%rbp), %rsi leaq -0x20(%rbp), %rdx callq 0x304230 t...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ReadV1_RHINOIO_NURBS_CURVE_OBJECT_DATA(ON_BinaryArchive&)
static ON_NurbsCurve* ReadV1_RHINOIO_NURBS_CURVE_OBJECT_DATA( ON_BinaryArchive& file ) { // read TCODE_RHINOIO_OBJECT_DATA chunk that is contained in a // TCODE_RHINOIO_OBJECT_NURBS_CURVE chunk. The TCODE_RHINOIO_OBJECT_DATA // chunk contains the definition of NURBS curves written by the // old RhinoIO toolki...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x10(%rbp) movq $0x0, -0x18(%rbp) movb $0x0, -0x19(%rbp) movl $0x0, -0x20(%rbp) movq $0x0, -0x28(%rbp) movq -0x10(%rbp), %rdi leaq -0x20(%rbp), %rsi leaq -0x28(%rbp), %rdx callq 0x304230 testb $0x1, %al jne 0x3b15dc movq $0x0, -0x8(%rbp) jmp 0x3b17db cmpl $0x2fffe...
/mcneel[P]opennurbs/opennurbs_archive.cpp
ON_SimpleArray<ON_2fVector>::SetCapacity(unsigned long)
T* ON_SimpleArray<T>::SetCapacity( size_t new_capacity ) { if (0 == m_capacity) { // Allow "expert" users of ON_SimpleArray<>.SetArray(*,*,0) to clean up after themselves // and deals with the case when the forget to clean up after themselves. m_a = nullptr; m_count = 0; } // sets capacity to ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x20(%rbp) xorl %eax, %eax cmpl 0x14(%rcx), %eax jne 0x3bf8d2 movq -0x20(%rbp), %rax movq $0x0, 0x8(%rax) movl $0x0, 0x10(%rax) cmpq $0x0, -0x10(%rbp) jbe 0x3bf8ed movl $0xffffffff, %eax # im...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UUID_struct>::Append(ON_UUID_struct const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3bfd6c movq -0x30(%rbp), %rdi callq 0x314cd0 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UuidIndex>::SetCapacity(unsigned long)
T* ON_SimpleArray<T>::SetCapacity( size_t new_capacity ) { if (0 == m_capacity) { // Allow "expert" users of ON_SimpleArray<>.SetArray(*,*,0) to clean up after themselves // and deals with the case when the forget to clean up after themselves. m_a = nullptr; m_count = 0; } // sets capacity to ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x20(%rbp) xorl %eax, %eax cmpl 0x14(%rcx), %eax jne 0x3bfe72 movq -0x20(%rbp), %rax movq $0x0, 0x8(%rax) movl $0x0, 0x10(%rax) cmpq $0x0, -0x10(%rbp) jbe 0x3bfe8d movl $0xffffffff, %eax # im...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UuidIndex>::Append(ON_UuidIndex const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3c0062 movq -0x30(%rbp), %rdi callq 0x301ce0 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UuidPtr>::Append(ON_UuidPtr const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3c0354 movq -0x30(%rbp), %rdi callq 0x32f170 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_LinetypeSegment>::Append(ON_LinetypeSegment const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3c070c movq -0x30(%rbp), %rdi callq 0x2ff9f0 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_SurfaceCurvature>::SetCapacity(unsigned long)
T* ON_SimpleArray<T>::SetCapacity( size_t new_capacity ) { if (0 == m_capacity) { // Allow "expert" users of ON_SimpleArray<>.SetArray(*,*,0) to clean up after themselves // and deals with the case when the forget to clean up after themselves. m_a = nullptr; m_count = 0; } // sets capacity to ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x20(%rbp) xorl %eax, %eax cmpl 0x14(%rcx), %eax jne 0x3c0822 movq -0x20(%rbp), %rax movq $0x0, 0x8(%rax) movl $0x0, 0x10(%rax) cmpq $0x0, -0x10(%rbp) jbe 0x3c083d movl $0xffffffff, %eax # im...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UUID_struct>::BinarySearch(ON_UUID_struct const*, int (*)(ON_UUID_struct const*, ON_UUID_struct const*)) const
int ON_SimpleArray<T>::BinarySearch( const T* key, int (*compar)(const T*,const T*) ) const { const T* found = (nullptr != key && nullptr != m_a && m_count>0) ? (const T*)bsearch( key, m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ) : nullptr; // This worked on...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x50(%rbp) xorl %eax, %eax cmpq -0x10(%rbp), %rax je 0x3c11be movq -0x50(%rbp), %rcx xorl %eax, %eax cmpq 0x8(%rcx), %rax je 0x3c11be movq -0x50(%rbp), %rax cmpl $0x0, 0x10(%...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_3DM_BIG_CHUNK>::Append(ON_3DM_BIG_CHUNK const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3c1418 movq -0x30(%rbp), %rdi callq 0x335610 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UserDataItemFilter>::SetCapacity(unsigned long)
T* ON_SimpleArray<T>::SetCapacity( size_t new_capacity ) { if (0 == m_capacity) { // Allow "expert" users of ON_SimpleArray<>.SetArray(*,*,0) to clean up after themselves // and deals with the case when the forget to clean up after themselves. m_a = nullptr; m_count = 0; } // sets capacity to ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x20(%rbp) xorl %eax, %eax cmpl 0x14(%rcx), %eax jne 0x3c1582 movq -0x20(%rbp), %rax movq $0x0, 0x8(%rax) movl $0x0, 0x10(%rax) cmpq $0x0, -0x10(%rbp) jbe 0x3c159d movl $0xffffffff, %eax # im...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UUID_struct>::QuickSort(int (*)(ON_UUID_struct const*, ON_UUID_struct const*))
bool ON_SimpleArray<T>::QuickSort( int (*compar)(const T*,const T*) ) { bool rc = false; if ( m_a && m_count > 0 && compar ) { if ( m_count > 1 ) ON_qsort( m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); rc = true; } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movb $0x0, -0x11(%rbp) cmpq $0x0, 0x8(%rax) je 0x3c188c movq -0x20(%rbp), %rax cmpl $0x0, 0x10(%rax) jle 0x3c188c cmpq $0x0, -0x10(%rbp) je 0x3c188c movq -0x20(%rbp), %rax cmpl $0x1, 0x1...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_DimStyle*>::Append(ON_DimStyle* const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3c1c74 movq -0x30(%rbp), %rdi callq 0x2fc750 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_TextStyle*>::Append(ON_TextStyle* const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3c1ee4 movq -0x30(%rbp), %rdi callq 0x32f780 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_2fPoint>::Append(ON_2fPoint const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3c26c4 movq -0x30(%rbp), %rdi callq 0x30a060 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_Curve*>::Append(ON_Curve* const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3c28c4 movq -0x30(%rbp), %rdi callq 0x32b1f0 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_Surface*>::Append(ON_Surface* const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3c2a04 movq -0x30(%rbp), %rdi callq 0x3000d0 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_ClassArray<ON_PlugInRef>::QuickSort(int (*)(ON_PlugInRef const*, ON_PlugInRef const*))
bool ON_ClassArray<T>::QuickSort( int (*compar)(const T*,const T*) ) { bool rc = false; if ( m_a && m_count > 0 && compar ) { if ( m_count > 1 ) ON_qsort( m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); rc = true; } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movb $0x0, -0x11(%rbp) cmpq $0x0, 0x8(%rax) je 0x3c2eec movq -0x20(%rbp), %rax cmpl $0x0, 0x10(%rax) jle 0x3c2eec cmpq $0x0, -0x10(%rbp) je 0x3c2eec movq -0x20(%rbp), %rax cmpl $0x1, 0x1...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_ClassArray<ON_3dmView>::HeapSort(int (*)(ON_3dmView const*, ON_3dmView const*))
bool ON_ClassArray<T>::HeapSort( int (*compar)(const T*,const T*) ) { bool rc = false; if ( m_a && m_count > 0 && compar ) { if ( m_count > 1 ) ON_hsort( m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); rc = true; } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movb $0x0, -0x11(%rbp) cmpq $0x0, 0x8(%rax) je 0x3c2fbc movq -0x20(%rbp), %rax cmpl $0x0, 0x10(%rax) jle 0x3c2fbc cmpq $0x0, -0x10(%rbp) je 0x3c2fbc movq -0x20(%rbp), %rax cmpl $0x1, 0x1...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_ClassArray<ON_Texture>::QuickSort(int (*)(ON_Texture const*, ON_Texture const*))
bool ON_ClassArray<T>::QuickSort( int (*compar)(const T*,const T*) ) { bool rc = false; if ( m_a && m_count > 0 && compar ) { if ( m_count > 1 ) ON_qsort( m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); rc = true; } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movb $0x0, -0x11(%rbp) cmpq $0x0, 0x8(%rax) je 0x3c408c movq -0x20(%rbp), %rax cmpl $0x0, 0x10(%rax) jle 0x3c408c cmpq $0x0, -0x10(%rbp) je 0x3c408c movq -0x20(%rbp), %rax cmpl $0x1, 0x1...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_3DM_BIG_CHUNK>::Move(int, int, int)
void ON_SimpleArray<T>::Move( int dest_i, int src_i, int ele_cnt ) { // private function for moving blocks of array memory // caller is responsible for updating m_count. if ( ele_cnt <= 0 || src_i < 0 || dest_i < 0 || src_i == dest_i || src_i + ele_cnt > m_count || dest_i > m_count ) return; int ca...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl %ecx, -0x14(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpl $0x0, -0x14(%rbp) jle 0x3c4202 cmpl $0x0, -0x10(%rbp) jl 0x3c4202 cmpl $0x0, -0xc(%rbp) jl 0x3c4202 movl -0x10(%rbp), %eax cmpl -0xc(%rb...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_Layer*>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax shlq $0x3, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c54d2 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c54fa movq -0x28(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_ClassArray<ON_MappingRef>::NewCapacity() const
int ON_ClassArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking ...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax imulq $0x28, %rax, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c55a2 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c55ca movq -0x...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_ClassArray<ON_ObjRef>::NewCapacity() const
int ON_ClassArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking ...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax imulq $0xe0, %rax, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c56b5 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c56dd movq -0x...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_ObjRef_IRefID>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax imulq $0x190, %rax, %rax # imm = 0x190 cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5785 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) j...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<bool>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax shlq $0x0, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5962 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c598a movq -0x28(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_Xform>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax shlq $0x7, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5a32 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c5a5a movq -0x28(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UUID_struct>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax shlq $0x4, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5b02 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c5b2a movq -0x28(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UuidIndex>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax imulq $0x14, %rax, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5bd2 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c5bfa movq -0x...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UuidPtr>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax imulq $0x18, %rax, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5ca2 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c5cca movq -0x...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_LinetypeSegment>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax shlq $0x4, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5d72 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c5d9a movq -0x28(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_ClippingPlaneInfo>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax imulq $0x38, %rax, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5e42 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c5e6a movq -0x...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UserDataItemFilter>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax imulq $0x28, %rax, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5f12 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c5f3a movq -0x...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_3DM_BIG_CHUNK>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax imulq $0x28, %rax, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3c5fe2 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3c600a movq -0x...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_ComponentManifestTableIndex::SystemItemFromIndex(int) const
const ON_ComponentManifestItem_PRIVATE* ON_ComponentManifestTableIndex::SystemItemFromIndex( int sytem_item_index ) const { if (m_bIndexedComponent && sytem_item_index < 0 && sytem_item_index > ON_UNSET_INT_INDEX ) { // The linked list of system items is always short - hash tables and sorting are a waste of...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) testb $0x1, 0x5(%rax) je 0x3cc3fa cmpl $0x0, -0x14(%rbp) jge 0x3cc3fa cmpl $0x80000001, -0x14(%rbp) # imm = 0x80000001 jle 0x3cc3fa movq -0x28(%rbp), %rax movq 0x28(%rax), %rax movq %r...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ComponentManifestImpl::ActiveAndDeletedItemCountImpl(ON_ModelComponent::Type) const
unsigned int ON_ComponentManifestImpl::ActiveAndDeletedItemCountImpl( ON_ModelComponent::Type component_type ) const { unsigned int count = 0; if (ON_ModelComponent::ComponentTypeIsValidAndNotMixed(component_type)) { const ON_ComponentManifestTableIndex* table_index = TableIndexFromTypeConst(component_typ...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movb %sil, %al movq %rdi, -0x8(%rbp) movb %al, -0x9(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x50(%rbp) movl $0x0, -0x10(%rbp) movzbl -0x9(%rbp), %edi callq 0x306630 testb $0x1, %al jne 0x3cd5c0 jmp 0x3cd5f4 movq -0x50(%rbp), %rdi movzbl -0x9(%rbp), %esi callq 0x3088e0 movq %r...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ComponentManifestImpl::TotalItemCountImpl(ON_ModelComponent::Type) const
unsigned int ON_ComponentManifestImpl::TotalItemCountImpl( ON_ModelComponent::Type component_type ) const { unsigned int count = 0; if (ON_ModelComponent::ComponentTypeIsValidAndNotMixed(component_type)) { const ON_ComponentManifestTableIndex* table_index = TableIndexFromTypeConst(component_type); cou...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movb %sil, %al movq %rdi, -0x8(%rbp) movb %al, -0x9(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x50(%rbp) movl $0x0, -0x10(%rbp) movzbl -0x9(%rbp), %edi callq 0x306630 testb $0x1, %al jne 0x3cd920 jmp 0x3cd954 movq -0x50(%rbp), %rdi movzbl -0x9(%rbp), %esi callq 0x3088e0 movq %r...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ComponentManifestImpl::DeletedItemCountImpl(ON_ModelComponent::Type) const
unsigned int ON_ComponentManifestImpl::DeletedItemCountImpl( ON_ModelComponent::Type component_type ) const { unsigned int count = 0; if (ON_ModelComponent::ComponentTypeIsValidAndNotMixed(component_type)) { const ON_ComponentManifestTableIndex* table_index = TableIndexFromTypeConst(component_type); c...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movb %sil, %al movq %rdi, -0x8(%rbp) movb %al, -0x9(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x50(%rbp) movl $0x0, -0x10(%rbp) movzbl -0x9(%rbp), %edi callq 0x306630 testb $0x1, %al jne 0x3cdac0 jmp 0x3cdaf4 movq -0x50(%rbp), %rdi movzbl -0x9(%rbp), %esi callq 0x3088e0 movq %r...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ComponentManifest::DeleteComponent(ON_UUID_struct)
const ON_ComponentManifestItem& ON_ComponentManifest::DeleteComponent( ON_UUID manifest_item_id ) { if (nullptr == m_impl) return ON_ComponentManifestItem::UnsetItem; const ON_ComponentManifestItem_PRIVATE* manifest_item = m_impl->DeleteItem( m_impl->ItemFromManifestId(manifest_item_id) ); retur...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rsi, -0x18(%rbp) movq %rdx, -0x10(%rbp) movq %rdi, -0x20(%rbp) movq -0x20(%rbp), %rcx movq %rcx, -0x30(%rbp) xorl %eax, %eax cmpq (%rcx), %rax jne 0x3d0b20 movq 0x6ac006(%rip), %rax # 0xa7cb20 movq %rax, -0x8(%rbp) jmp 0x3d0b6e movq -0x30(%rbp), %rax movq (%rax), %rc...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ComponentManifest::UnusedName(ON_ModelComponent const&) const
const ON_wString ON_ComponentManifest::UnusedName( const ON_ModelComponent& model_component ) const { return UnusedName( model_component.ComponentType(), model_component.ParentId(), model_component.NameAsPointer(), nullptr, nullptr, 0, nullptr ); }
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x48(%rbp) movq %rdi, %rax movq %rax, -0x30(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x40(%rbp) movq -0x18(%rbp), %rdi callq 0x30d250 movb %al, -0x31(%rbp) movq -0x18(%rbp), %rdi callq 0x315c60 mo...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ComponentManifest::ItemFromNameHash(ON_ModelComponent::Type, ON_NameHash const&) const
const class ON_ComponentManifestItem& ON_ComponentManifest::ItemFromNameHash( ON_ModelComponent::Type component_type, const ON_NameHash& component_name_hash ) const { const ON_ComponentManifestItem_PRIVATE* item = (nullptr != m_impl) ? m_impl->ItemFromNameHash(component_type,component_name_hash) : n...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movb %sil, %al movq %rdi, -0x8(%rbp) movb %al, -0x9(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x28(%rbp) xorl %eax, %eax cmpq (%rcx), %rax je 0x3d13d1 movq -0x28(%rbp), %rax movq (%rax), %rdi movb -0x9(%rbp), %al movq -0x18(%rbp), %rdx movzbl %al, %esi ca...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ComponentManifest::ItemFromIndex(ON_ModelComponent::Type, int) const
const class ON_ComponentManifestItem& ON_ComponentManifest::ItemFromIndex( ON_ModelComponent::Type component_type, int manifest_item_index ) const { const ON_ComponentManifestItem_PRIVATE* item = (nullptr != m_impl) ? m_impl->ItemFromManifestIndex(component_type,manifest_item_index) : nullptr; ret...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movb %sil, %al movq %rdi, -0x8(%rbp) movb %al, -0x9(%rbp) movl %edx, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x20(%rbp) xorl %eax, %eax cmpq (%rcx), %rax je 0x3d17ff movq -0x20(%rbp), %rax movq (%rax), %rdi movb -0x9(%rbp), %al movl -0x10(%rbp), %edx movzbl %al, %esi ca...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ComponentManifest::PreviousItem(ON_UUID_struct) const
const class ON_ComponentManifestItem* ON_ComponentManifest::PreviousItem( ON_UUID manifest_item_id ) const { const ON_ComponentManifestItem_PRIVATE* item = (nullptr != m_impl) ? m_impl->ItemFromManifestId(manifest_item_id) : nullptr; return (nullptr != item ) ? item->m_prev : nullptr; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rsi, -0x10(%rbp) movq %rdx, -0x8(%rbp) movq %rdi, -0x18(%rbp) movq -0x18(%rbp), %rcx movq %rcx, -0x28(%rbp) xorl %eax, %eax cmpq (%rcx), %rax je 0x3d1a99 movq -0x28(%rbp), %rax movq (%rax), %rdi leaq -0x10(%rbp), %rsi callq 0x316e10 movq %rax, -0x30(%rbp) jmp 0x3d1aa1 x...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ManifestMap_SourceIdHash32Table::FirstManifestMapItemWithSourceId(ON_UUID_struct) const
const ON_ManifestMap_Hash32TableItem* FirstManifestMapItemWithSourceId( ON_UUID source_component_id ) const { if (ON_nil_uuid == source_component_id) return nullptr; const ON__UINT32 hash32 = ON_ManifestMapItem::SourceIdHash32(source_component_id); for (const ON_Hash32TableItem* hash_table_i...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rsi, -0x18(%rbp) movq %rdx, -0x10(%rbp) movq %rdi, -0x20(%rbp) movq -0x20(%rbp), %rax movq %rax, -0x38(%rbp) movq 0x6aab0d(%rip), %rdi # 0xa7c8b0 leaq -0x18(%rbp), %rsi callq 0x3388b0 testb $0x1, %al jne 0x3d1db2 jmp 0x3d1dbc movq $0x0, -0x8(%rbp) jmp 0x3d1e2e leaq -...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_SimpleArray<ON_ComponentManifestItem_PRIVATE const*>::Append(ON_ComponentManifestItem_PRIVATE const* const&)
void ON_SimpleArray<T>::Append( const T& x ) { const T* p = &x; if ( m_count == m_capacity ) { const int newcapacity = NewCapacity(); if ( p >= m_a && p < (m_a + m_capacity) ) { // 26 Sep 2005 Dale Lear // x is in the block of memory about to be reallocated. void* temp = onmalloc(s...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movl 0x10(%rcx), %eax cmpl 0x14(%rcx), %eax jne 0x3d2094 movq -0x30(%rbp), %rdi callq 0x339b40 movq -0x30(%rbp), %rcx movl %eax, -0x1c(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_ComponentIdHash32Table::AddManifestItem(ON_ComponentManifestItem_PRIVATE const*)
const ON_ComponentManifestHash32TableItem* AddManifestItem( const class ON_ComponentManifestItem_PRIVATE* manifest_item ) { const ON_UUID id = IdFromManifestItem(manifest_item); if ( ON_nil_uuid == id ) return nullptr; const ON__UINT32 hash32 = ON_ComponentIdHash32Table::IdHash32(id); ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x40(%rbp) movq -0x18(%rbp), %rdi callq 0x3086b0 movq %rax, -0x28(%rbp) movq %rdx, -0x20(%rbp) movq 0x6aa1e0(%rip), %rdi # 0xa7c8b0 leaq -0x28(%rbp), %rsi callq 0x3388b0 testb $0x1, %al jne 0x...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_ComponentIdHash32Table::RemoveManifestItem(ON_ComponentManifestItem_PRIVATE const*)
bool RemoveManifestItem( const class ON_ComponentManifestItem_PRIVATE* manifest_item ) { const ON_UUID id = IdFromManifestItem(manifest_item); if ( ON_nil_uuid == id ) return false; const ON__UINT32 hash32 = ON_ComponentIdHash32Table::IdHash32(id); for (const ON_Hash32TableItem* hash_ta...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x40(%rbp) movq -0x18(%rbp), %rdi callq 0x3086b0 movq %rax, -0x28(%rbp) movq %rdx, -0x20(%rbp) movq 0x6aa020(%rip), %rdi # 0xa7c8b0 leaq -0x28(%rbp), %rsi callq 0x3388b0 testb $0x1, %al jne 0x...
/mcneel[P]opennurbs/opennurbs_archive_manifest.cpp
ON_SimpleArray<ON_ComponentManifestItem_PRIVATE const*>::SetCapacity(unsigned long)
T* ON_SimpleArray<T>::SetCapacity( size_t new_capacity ) { if (0 == m_capacity) { // Allow "expert" users of ON_SimpleArray<>.SetArray(*,*,0) to clean up after themselves // and deals with the case when the forget to clean up after themselves. m_a = nullptr; m_count = 0; } // sets capacity to ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x20(%rbp) xorl %eax, %eax cmpl 0x14(%rcx), %eax jne 0x3d3342 movq -0x20(%rbp), %rax movq $0x0, 0x8(%rax) movl $0x0, 0x10(%rax) cmpq $0x0, -0x10(%rbp) jbe 0x3d335d movl $0xffffffff, %eax # im...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_ComponentManifestItem_PRIVATE const*>::Move(int, int, int)
void ON_SimpleArray<T>::Move( int dest_i, int src_i, int ele_cnt ) { // private function for moving blocks of array memory // caller is responsible for updating m_count. if ( ele_cnt <= 0 || src_i < 0 || dest_i < 0 || src_i == dest_i || src_i + ele_cnt > m_count || dest_i > m_count ) return; int ca...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl %ecx, -0x14(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpl $0x0, -0x14(%rbp) jle 0x3d3592 cmpl $0x0, -0x10(%rbp) jl 0x3d3592 cmpl $0x0, -0xc(%rbp) jl 0x3d3592 movl -0x10(%rbp), %eax cmpl -0xc(%rb...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_ComponentManifestItem_PRIVATE const*>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax shlq $0x3, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3d3642 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3d366a movq -0x28(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_3dPointArray::Rotate(double, double, ON_3dVector const&, ON_3dPoint const&)
bool ON_3dPointArray::Rotate( double sin_angle, double cos_angle, const ON_3dVector& axis_of_rotation, const ON_3dPoint& center_of_rotation ) { const int count = m_count; ON_Xform rot; rot.Rotation( sin_angle, cos_angle, axis_of_rotation, center_of_rotation ); ON_SimpleArray<int> f...
pushq %rbp movq %rsp, %rbp subq $0x180, %rsp # imm = 0x180 movq %rdi, -0x8(%rbp) movsd %xmm0, -0x10(%rbp) movsd %xmm1, -0x18(%rbp) movq %rsi, -0x20(%rbp) movq %rdx, -0x28(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x118(%rbp) movl 0x10(%rax), %eax movl %eax, -0x2c(%rbp) leaq -0xb0(%rbp), %rdi callq 0x31d180 mov...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_3dPointArray::Create(int, int, int, int, float const*)
bool ON_3dPointArray::Create( int point_dimension, int bRational, int point_count, int point_stride, const float* points ) { bool rc = false; if ( point_dimension >= 2 && point_dimension <= 3 && point_count>0 && points && point_stride >= bRational?(point_dimension+1):point_dimensi...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl %ecx, -0x14(%rbp) movl %r8d, -0x18(%rbp) movq %r9, -0x20(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x68(%rbp) movb $0x0, -0x21(%rbp) cmpl $0x2, -0xc(%rbp) jl 0x3d4175 cmpl $0x3, -0xc(%rbp) jg 0x3d4175 cmpl ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPair::Compare(ON_UuidPair const*, ON_UuidPair const*)
int ON_UuidPair::Compare(const class ON_UuidPair* a,const class ON_UuidPair* b) { int i; if (!a) { return (b) ? -1 : 0; } if (!b) { return 1; } if ( 0 == (i = ON_UuidCompare(a->m_uuid[0],b->m_uuid[0])) ) { i = ON_UuidCompare(a->m_uuid[1],b->m_uuid[1]); } return i; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) cmpq $0x0, -0x10(%rbp) jne 0x3d58be movq -0x18(%rbp), %rdx xorl %eax, %eax movl $0xffffffff, %ecx # imm = 0xFFFFFFFF cmpq $0x0, %rdx cmovnel %ecx, %eax movl %eax, -0x4(%rbp) jmp 0x3d5904 cmpq $0x0, -0x18(%rbp) jne 0x3d58ce m...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidList::PurgeHelper()
void ON_UuidList::PurgeHelper() { if ( m_removed_count <= m_count && m_removed_count > 0 ) { m_removed_count = 0; // purge removed ids int count = 0; for ( int i = 0; i < m_count; i++ ) { if ( ON_max_uuid == m_a[i] ) continue; if ( i > count ) m_a[count] = m_a[i]; ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x18(%rbp) movl 0x1c(%rcx), %eax cmpl 0x10(%rcx), %eax jg 0x3d5e5e movq -0x18(%rbp), %rax cmpl $0x0, 0x1c(%rax) jle 0x3d5e5e movq -0x18(%rbp), %rax movl $0x0, 0x1c(%rax) movl $0x0, -0xc(%rbp) movl $0x0, -0x10(%rbp) movq ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidList::SearchHelper(ON_UUID_struct const*) const
ON_UUID* ON_UuidList::SearchHelper(const ON_UUID* uuid) const { if ( m_count - m_sorted_count > 8 || m_removed_count > 0 ) { // time to resort the array so that the speedy // bsearch() can be used to find uuids const_cast<ON_UuidList*>(this)->SortHelper(); } ON_UUID* p = (m_sorted_count > 0 ) ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x28(%rbp) movl 0x10(%rcx), %eax subl 0x18(%rcx), %eax cmpl $0x8, %eax jg 0x3d604d movq -0x28(%rbp), %rax cmpl $0x0, 0x1c(%rax) jle 0x3d6056 movq -0x28(%rbp), %rdi callq 0x31ef00 movq -0x28(%rbp), ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidList::Write(ON_BinaryArchive&, bool) const
bool ON_UuidList::Write( class ON_BinaryArchive& archive, bool bSortBeforeWrite ) const { // NOTE: // Per bug 101403, this function is called with // bSortBeforeWrite = false when writing ON_HistoryRecord::m_descendants[]. // All other used call this function with bSortBeforeWrite = true. bool rc = a...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movb %dl, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) andb $0x1, %al movb %al, -0x11(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi movl $0x40008000, %esi # imm = 0x40008000 movl $0x1, %edx xorl %ecx, %ecx callq 0x305e30 andb $0x1, %al mo...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidList::Read(ON_BinaryArchive&, bool)
bool ON_UuidList::Read( class ON_BinaryArchive& archive, bool bSortAferRead ) { // NOTE: // Per bug 101403, this function is called with // bSortAferRead = false when reading ON_HistoryRecord::m_descendants[]. // All other used call this function with bSortAferRead = true. m_count = 0; m_remove...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movb %dl, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) andb $0x1, %al movb %al, -0x11(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movl $0x0, 0x10(%rax) movl $0x0, 0x1c(%rax) movl $0x0, 0x18(%rax) movl $0x0, -0x18(%rbp) movl $0x0, -0x1c(%rbp) movq -0x10(%rbp), %rdi ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidIndexList::AddUuidIndex(ON_UUID_struct, int, bool)
bool ON_UuidIndexList::AddUuidIndex(ON_UUID uuid, int index, bool bCheckForDupicates) { bool rc = bCheckForDupicates ? !FindUuid(uuid,nullptr) : true; if (rc) { if ( ON_max_uuid == uuid ) rc = 0; else { ON_UuidIndex& ui = AppendNew(); ui.m_id = uuid; ui.m_i = index; } } ...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movb %r8b, %al movq %rsi, -0x10(%rbp) movq %rdx, -0x8(%rbp) movq %rdi, -0x18(%rbp) movl %ecx, -0x1c(%rbp) andb $0x1, %al movb %al, -0x1d(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x40(%rbp) testb $0x1, -0x1d(%rbp) je 0x3d6469 movq -0x40(%rbp), %rdi movq -0x10(%rbp), %rax movq ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidIndexList::RemoveUuid(ON_UUID_struct)
bool ON_UuidIndexList::RemoveUuid(ON_UUID uuid) { ON_UuidIndex* p = SearchHelper(&uuid); if ( 0 != p ) { p->m_id = ON_max_uuid; m_removed_count++; unsigned int i = (unsigned int)(p - m_a); if ( i < m_sorted_count ) m_sorted_count = i; } return (0!=p); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rsi, -0x10(%rbp) movq %rdx, -0x8(%rbp) movq %rdi, -0x18(%rbp) movq -0x18(%rbp), %rdi movq %rdi, -0x30(%rbp) leaq -0x10(%rbp), %rsi callq 0x310d50 movq %rax, -0x20(%rbp) xorl %eax, %eax cmpq -0x20(%rbp), %rax je 0x3d6643 movq -0x30(%rbp), %rcx movq -0x20(%rbp), %rax movq...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidIndexList::SearchHelper(ON_UUID_struct const*) const
ON_UuidIndex* ON_UuidIndexList::SearchHelper(const ON_UUID* uuid) const { if ( m_count - m_sorted_count > 8 || m_removed_count > 0 ) { // time to resort the array so that the speedy // bsearch() can be used to find uuids const_cast<ON_UuidIndexList*>(this)->ImproveSearchSpeed(); } ON_UuidIndex* p =...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x28(%rbp) movl 0x10(%rcx), %eax subl 0x18(%rcx), %eax cmpl $0x8, %eax ja 0x3d668d movq -0x28(%rbp), %rax cmpl $0x0, 0x1c(%rax) jbe 0x3d6696 movq -0x28(%rbp), %rdi callq 0x322f40 movq -0x28(%rbp), ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPtrList::RemoveUuid(ON_UUID_struct)
bool ON_UuidPtrList::RemoveUuid(ON_UUID uuid) { ON_UuidPtr* p = SearchHelper(&uuid); if ( 0 != p ) { p->m_id = ON_max_uuid; m_removed_count++; unsigned int i = (unsigned int)(p - m_a); if ( i < m_sorted_count ) m_sorted_count = i; } return (0!=p); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rsi, -0x10(%rbp) movq %rdx, -0x8(%rbp) movq %rdi, -0x18(%rbp) movq -0x18(%rbp), %rdi movq %rdi, -0x30(%rbp) leaq -0x10(%rbp), %rsi callq 0x3007d0 movq %rax, -0x20(%rbp) xorl %eax, %eax cmpq -0x20(%rbp), %rax je 0x3d6b43 movq -0x30(%rbp), %rcx movq -0x20(%rbp), %rax movq...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPtrList::SearchHelper(ON_UUID_struct const*) const
ON_UuidPtr* ON_UuidPtrList::SearchHelper(const ON_UUID* uuid) const { if ( m_count - m_sorted_count > 8 || m_removed_count > 0 ) { // time to resort the array so that the speedy // bsearch() can be used to find uuids const_cast<ON_UuidPtrList*>(this)->ImproveSearchSpeed(); } ON_UuidPtr* p = (m_sort...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x28(%rbp) movl 0x10(%rcx), %eax subl 0x18(%rcx), %eax cmpl $0x8, %eax ja 0x3d6b8d movq -0x28(%rbp), %rax cmpl $0x0, 0x1c(%rax) jbe 0x3d6b96 movq -0x28(%rbp), %rdi callq 0x30d440 movq -0x28(%rbp), ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidIndexList2::operator=(ON_UuidIndexList2 const&)
ON_UuidIndexList2& ON_UuidIndexList2::operator=(const ON_UuidIndexList2& src) { if (this != &src) { m_private.reset(new ON_UuidIndexList2_Private(*src.m_private)); } return *this; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) cmpq -0x10(%rbp), %rax je 0x3d727d movq -0x28(%rbp), %rax movq %rax, -0x40(%rbp) movl $0x38, %edi callq 0x3003f0 movq %rax, -0x38(%rbp) movq -0x10(%rbp), %rdi callq 0x328c80 movq %rax, -...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPtrList2::FindUuid(ON_UUID_struct const&, unsigned long*) const
bool ON_UuidPtrList2::FindUuid(const ON_UUID& uuid, ON__UINT_PTR* index) const { const auto it = m_private->map.find(uuid); if (it != m_private->map.end()) { if (index) { *index = it->second; } return true; } return false; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x38(%rbp) callq 0x312750 movq %rax, %rdi movq -0x18(%rbp), %rsi callq 0x324c60 movq -0x38(%rbp), %rdi movq %rax, -0x28(%rbp) callq 0x312750 movq %rax, %rdi callq 0x339480 ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPairList2::FindId1(ON_UUID_struct const&, ON_UUID_struct*) const
bool ON_UuidPairList2::FindId1(const ON_UUID& id1, ON_UUID* id2) const { const auto it = m_private->map.find(id1); if (it != m_private->map.end()) { if (id2) { *id2 = it->second; } return true; } return false; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x38(%rbp) callq 0x329810 movq %rax, %rdi movq -0x18(%rbp), %rsi callq 0x30aeb0 movq -0x38(%rbp), %rdi movq %rax, -0x28(%rbp) callq 0x329810 movq %rax, %rdi callq 0x3184f0 ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPtrList2::GetUuids(ON_SimpleArray<ON_UUID_struct>&) const
unsigned int ON_UuidPtrList2::GetUuids(ON_SimpleArray<ON_UUID>& uuid_list) const { uuid_list.Reserve(Count()); int i = 0; for (const auto& pair : m_private->map) { uuid_list.Append(pair.first); i++; } return i; }
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x40(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x48(%rbp) callq 0x2fe180 movq -0x48(%rbp), %rdi movl %eax, %eax movl %eax, %esi callq 0x30a430 movq -0x40(%rbp), %rdi movl $0x0, -0x14(%rbp) callq 0x3...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPairList2::GetId1s(ON_SimpleArray<ON_UUID_struct>&) const
int ON_UuidPairList2::GetId1s(ON_SimpleArray<ON_UUID>& uuid_list) const { uuid_list.Reserve(Count()); int i = 0; for (const auto& pair : m_private->map) { uuid_list.Append(pair.first); i++; } return i; }
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x40(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x48(%rbp) callq 0x322cf0 movq -0x48(%rbp), %rdi movl %eax, %eax movl %eax, %esi callq 0x30a430 movq -0x40(%rbp), %rdi movl $0x0, -0x14(%rbp) callq 0x3...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPairList::AddPair(ON_UUID_struct, ON_UUID_struct, bool)
bool ON_UuidPairList::AddPair(ON_UUID id1, ON_UUID id2, bool bCheckForDupicates) { bool rc = bCheckForDupicates ? !FindId1(id1,0) : true; if (rc) { if ( ON_max_uuid == id1 && ON_max_uuid == id2 ) { // The value pair (ON_max_uuid,ON_max_uuid) is used // to mark removed elements. rc = fals...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movb %r9b, %al movq %rsi, -0x10(%rbp) movq %rdx, -0x8(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x18(%rbp) movq %rdi, -0x28(%rbp) andb $0x1, %al movb %al, -0x29(%rbp) movq -0x28(%rbp), %rax movq %rax, -0x50(%rbp) testb $0x1, -0x29(%rbp) je 0x3d7ece movq -0x50(%rbp), %rdi movq -...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPairList::RemovePair(ON_UUID_struct)
bool ON_UuidPairList::RemovePair(ON_UUID id1) { ON_UuidPair* p = SearchHelper(&id1); if ( 0 != p ) { p->m_uuid[0] = ON_max_uuid; p->m_uuid[1] = ON_max_uuid; m_removed_count++; unsigned int i = (unsigned int)(p - m_a); if ( i < m_sorted_count ) m_sorted_count = i; } return (0!=p); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rsi, -0x10(%rbp) movq %rdx, -0x8(%rbp) movq %rdi, -0x18(%rbp) movq -0x18(%rbp), %rdi movq %rdi, -0x30(%rbp) leaq -0x10(%rbp), %rsi callq 0x3076d0 movq %rax, -0x20(%rbp) xorl %eax, %eax cmpq -0x20(%rbp), %rax je 0x3d80d7 movq -0x30(%rbp), %rcx movq -0x20(%rbp), %rax movq...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_UuidPairList::GetId1s(ON_SimpleArray<ON_UUID_struct>&) const
int ON_UuidPairList::GetId1s( ON_SimpleArray<ON_UUID>& uuid_list ) const { const int count0 = uuid_list.Count(); int i; uuid_list.Reserve(uuid_list.Count() + m_count - m_removed_count); for ( i = 0; i < m_count; i++ ) { if ( ON_max_uuid == m_a[i].m_uuid[0] && ON_max_uuid == m_a[i].m_uuid[1] ) ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rdi callq 0x32d420 movl %eax, -0x14(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0x32d420 movq -0x28(%rbp), %rcx movq -0x20(%rbp), ...
/mcneel[P]opennurbs/opennurbs_array.cpp
ON_SimpleArray<ON_UuidIndex>::QuickSort(int (*)(ON_UuidIndex const*, ON_UuidIndex const*))
bool ON_SimpleArray<T>::QuickSort( int (*compar)(const T*,const T*) ) { bool rc = false; if ( m_a && m_count > 0 && compar ) { if ( m_count > 1 ) ON_qsort( m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); rc = true; } return rc; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movb $0x0, -0x11(%rbp) cmpq $0x0, 0x8(%rax) je 0x3db91c movq -0x20(%rbp), %rax cmpl $0x0, 0x10(%rax) jle 0x3db91c cmpq $0x0, -0x10(%rbp) je 0x3db91c movq -0x20(%rbp), %rax cmpl $0x1, 0x1...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UuidPair>::NewCapacity() const
int ON_SimpleArray<T>::NewCapacity() const { // Note: // This code appears in ON_SimpleArray<T>::NewCapacity() // and ON_ClassArray<T>::NewCapacity(). Changes made to // either function should be made to both functions. // Because this code is template code that has to // support dynamic linking...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movq $0x10000000, -0x18(%rbp) # imm = 0x10000000 movslq 0x10(%rax), %rax shlq $0x5, %rax cmpq $0x10000000, %rax # imm = 0x10000000 jbe 0x3e39e2 movq -0x28(%rbp), %rax cmpl $0x8, 0x10(%rax) jge 0x3e3a0a movq -0x28(%rbp)...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_UuidPair>::Move(int, int, int)
void ON_SimpleArray<T>::Move( int dest_i, int src_i, int ele_cnt ) { // private function for moving blocks of array memory // caller is responsible for updating m_count. if ( ele_cnt <= 0 || src_i < 0 || dest_i < 0 || src_i == dest_i || src_i + ele_cnt > m_count || dest_i > m_count ) return; int ca...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl %ecx, -0x14(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpl $0x0, -0x14(%rbp) jle 0x3e3a92 cmpl $0x0, -0x10(%rbp) jl 0x3e3a92 cmpl $0x0, -0xc(%rbp) jl 0x3e3a92 movl -0x10(%rbp), %eax cmpl -0xc(%rb...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_SimpleArray<ON_4dPoint>::Move(int, int, int)
void ON_SimpleArray<T>::Move( int dest_i, int src_i, int ele_cnt ) { // private function for moving blocks of array memory // caller is responsible for updating m_count. if ( ele_cnt <= 0 || src_i < 0 || dest_i < 0 || src_i == dest_i || src_i + ele_cnt > m_count || dest_i > m_count ) return; int ca...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl %ecx, -0x14(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpl $0x0, -0x14(%rbp) jle 0x3e3b62 cmpl $0x0, -0x10(%rbp) jl 0x3e3b62 cmpl $0x0, -0xc(%rbp) jl 0x3e3b62 movl -0x10(%rbp), %eax cmpl -0xc(%rb...
/mcneel[P]opennurbs/opennurbs_array_defs.h
ON_DecodeBase64::Decode(wchar_t const*)
const wchar_t* ON_DecodeBase64::Decode(const wchar_t* base64str) { const wchar_t* p; wchar_t w; if ( 0 == base64str ) return 0; p = base64str; for(;;) { w = *p++; if ( w < 32 || w > 122 ) break; } return Decode(base64str,p-base64str); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x30(%rbp) xorl %eax, %eax cmpq -0x18(%rbp), %rax jne 0x3e566a movq $0x0, -0x8(%rbp) jmp 0x3e56b6 movq -0x18(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rax movq %rax, %rcx addq $0x4, %...
/mcneel[P]opennurbs/opennurbs_base64.cpp
ON_Base64EncodeStream::Begin()
bool ON_Base64EncodeStream::Begin() { if ( 0 != m_implementation ) { onfree(m_implementation); m_implementation = 0; } // zero these because the same instance of an // ON_UncompressStream class may be used multiple times. m_in_size = 0; m_out_size = 0; m_in_crc = 0; m_out_crc = 0; ON_Base...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x18(%rbp) xorl %eax, %eax cmpq 0x30(%rcx), %rax je 0x3e5a75 movq -0x18(%rbp), %rax movq 0x30(%rax), %rdi callq 0x308440 movq -0x18(%rbp), %rax movq $0x0, 0x30(%rax) movq -0x18(%rbp), %rax movq $0x0, 0x18(%rax) movq $0x0...
/mcneel[P]opennurbs/opennurbs_base64.cpp
ON_Base64EncodeStream::In(unsigned long, void const*)
bool ON_Base64EncodeStream::In( ON__UINT64 in_buffer_size, const void* in_buffer ) { if ( in_buffer_size <= 0 ) return true; if ( 0 == m_implementation ) { ErrorHandler(); return false; } if ( 0 == in_buffer ) { ErrorHandler(); return false; } bool rc = false; ON__...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x40(%rbp) cmpq $0x0, -0x18(%rbp) ja 0x3e5afc movb $0x1, -0x1(%rbp) jmp 0x3e5e10 movq -0x40(%rbp), %rcx xorl %eax, %eax cmpq 0x30(%rcx), %rax jne 0x3e5b1a movq -0x40(%rbp),...
/mcneel[P]opennurbs/opennurbs_base64.cpp
EncodeBase64Helper3(unsigned char const*, char*)
static void EncodeBase64Helper3(const unsigned char* inbuf, char* outbuf ) { // base64 encode 3 bytes from inbuf into 4 bytes of outbuf. unsigned char b, c; b = *inbuf++; c = (b >> 2); if ( c < 26 ) c += 65; else if ( c < 52 ) c += 71; else if ( c < 62 ) c -= 4; else c = (c&1) ? '/' : '+'; *outbuf++ ...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, %rcx addq $0x1, %rcx movq %rcx, -0x8(%rbp) movb (%rax), %al movb %al, -0x11(%rbp) movzbl -0x11(%rbp), %eax sarl $0x2, %eax movb %al, -0x12(%rbp) movzbl -0x12(%rbp), %eax cmpl $0x1a, %eax jge 0x3e631f movzbl -0x12(%r...
/mcneel[P]opennurbs/opennurbs_base64.cpp
ON_Extrusion::PathStart() const
ON_3dPoint ON_Extrusion::PathStart() const { ON_3dPoint P(ON_3dPoint::UnsetPoint); const double t = m_t.m_t[0]; if ( 0.0 <= t && t <= 1.0 && m_path.IsValid() ) P = m_path.PointAt(t); return P; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x40(%rbp) movq %rdi, %rax movq %rax, -0x38(%rbp) movq %rsi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x30(%rbp) movq 0x695c3a(%rip), %rcx # 0xa7dc60 movq (%rcx), %rdx movq %rdx, (%rdi) movq 0x8(%rcx), %rdx movq %rdx, 0x8(%rdi) movq 0x10(%rcx), %rcx movq %r...
/mcneel[P]opennurbs/opennurbs_beam.cpp
ON_Extrusion::SetMiterPlaneNormal(ON_3dVector, int)
bool ON_Extrusion::SetMiterPlaneNormal(ON_3dVector N, int end) { bool rc = false; if ( end >= 0 && end <= 1 ) { if ( N.IsValid() && N.z > ON_Extrusion::m_Nz_min && (N.IsUnitVector() || N.Unitize()) ) { if (fabs(N.x) <= ON_SQRT_EPSILON && fabs(N.y) <= ON_SQRT_EPSILON) ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp leaq 0x10(%rbp), %rax movq %rax, -0x20(%rbp) movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movb $0x0, -0xd(%rbp) cmpl $0x0, -0xc(%rbp) jl 0x3e8541 cmpl $0x1, -0xc(%rbp) jg 0x3e8541 movq -0x20(%rbp), %rdi callq 0x31a800 testb $0x1, %a...
/mcneel[P]opennurbs/opennurbs_beam.cpp
ON_Extrusion::Profile(int) const
const ON_Curve* ON_Extrusion::Profile(int profile_index) const { if ( 0 == profile_index && 1 == m_profile_count ) return m_profile; if ( profile_index < 0 || profile_index > m_profile_count ) return 0; const ON_PolyCurve* poly_profile = PolyProfile(); return ( 0 != poly_profile ? poly_profile->SegmentC...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) xorl %eax, %eax cmpl -0x14(%rbp), %eax jne 0x3e896a movq -0x28(%rbp), %rcx movl $0x1, %eax cmpl 0x68(%rcx), %eax jne 0x3e896a movq -0x28(%rbp), %rax movq 0x70(%rax), %rax movq %rax, -0...
/mcneel[P]opennurbs/opennurbs_beam.cpp