_ZN7Alembic3Abc3v128ArgumentC2Ev:
  123|    216|        m_whichVariant( kArgumentNone ) {}
_ZN7Alembic3Abc3v128Argument15ArgumentVariantC2Ev:
  207|    216|        ArgumentVariant() : timeSamplingIndex( 0 ) {}
_ZNK7Alembic3Abc3v129Arguments21getErrorHandlerPolicyEv:
   84|     54|    { return m_errorHandlerPolicy; }
_ZN7Alembic3Abc3v129ArgumentsC2ENS1_12ErrorHandler6PolicyERKNS_15AbcCoreAbstract3v128MetaDataENSt3__110shared_ptrINS6_12TimeSamplingEEEjNS1_20SchemaInterpMatchingENS1_10SparseFlagE:
   58|     54|      : m_errorHandlerPolicy( iPolicy ),
   59|     54|        m_metaData( iMetaData ),
   60|     54|        m_timeSampling( iTimeSampling ),
   61|     54|        m_timeSamplingIndex( iTimeIndex ),
   62|     54|        m_matching( iMatch ),
   63|     54|        m_sparse( iSparse ) {}
_ZNK7Alembic3Abc3v128Argument7setIntoERNS1_9ArgumentsE:
  150|    216|    {
  151|    216|        switch ( m_whichVariant )
  152|    216|        {
  153|      0|            case kArgumentErrorHandlerPolicy:
  ------------------
  |  Branch (153:13): [True: 0, False: 216]
  ------------------
  154|      0|                iArgs( m_variant.policy );
  155|      0|            break;
  156|       |
  157|      0|            case kArgumentTimeSamplingIndex:
  ------------------
  |  Branch (157:13): [True: 0, False: 216]
  ------------------
  158|      0|                iArgs( m_variant.timeSamplingIndex );
  159|      0|            break;
  160|       |
  161|      0|            case kArgumentMetaData:
  ------------------
  |  Branch (161:13): [True: 0, False: 216]
  ------------------
  162|      0|                iArgs( *m_variant.metaData );
  163|      0|            break;
  164|       |
  165|      0|            case kArgumentTimeSamplingPtr:
  ------------------
  |  Branch (165:13): [True: 0, False: 216]
  ------------------
  166|      0|                iArgs( *m_variant.timeSamplingPtr );
  167|      0|            break;
  168|       |
  169|      0|            case kArgumentSchemaInterpMatching:
  ------------------
  |  Branch (169:13): [True: 0, False: 216]
  ------------------
  170|      0|                iArgs( m_variant.schemaInterpMatching );
  171|      0|            break;
  172|       |
  173|      0|            case kArgumentSparse:
  ------------------
  |  Branch (173:13): [True: 0, False: 216]
  ------------------
  174|      0|                iArgs( m_variant.sparseFlag );
  175|      0|            break;
  176|       |
  177|       |            // no-op
  178|    216|            case kArgumentNone:
  ------------------
  |  Branch (178:13): [True: 216, False: 0]
  ------------------
  179|    216|            break;
  180|       |
  181|      0|            default:
  ------------------
  |  Branch (181:13): [True: 0, False: 216]
  ------------------
  182|       |                // we added something that we forgot to support in the switch
  183|      0|                assert(false);
  ------------------
  |  Branch (183:17): [Folded, False: 0]
  ------------------
  184|      0|            break;
  185|    216|        }
  186|       |
  187|       |
  188|    216|    }
_ZN7Alembic3Abc3v1221GetErrorHandlerPolicyINSt3__110shared_ptrINS_15AbcCoreAbstract3v1212ObjectReaderEEEEENS1_12ErrorHandler6PolicyET_RKNS1_8ArgumentESE_SE_SE_:
  247|     54|{
  248|     54|    Arguments args( GetErrorHandlerPolicy( iSomething ) );
  249|     54|    iArg0.setInto( args );
  250|     54|    iArg1.setInto( args );
  251|     54|    iArg2.setInto( args );
  252|     54|    iArg3.setInto( args );
  253|     54|    return args.getErrorHandlerPolicy();
  254|     54|}

_ZN7Alembic3Abc3v124Base5resetEv:
   71|    144|    {
   72|    144|        m_errorHandler.clear();
   73|    144|    }
_ZNK7Alembic3Abc3v124Base5validEv:
   66|    396|    {
   67|    396|        return m_errorHandler.valid();
   68|    396|    }
_ZN7Alembic3Abc3v124BaseC2ERKS2_:
   57|     54|      : m_errorHandler( iCopy.m_errorHandler ) {}
_ZN7Alembic3Abc3v124BaseC2Ev:
   51|    396|    Base() {}
_ZNK7Alembic3Abc3v124Base15getErrorHandlerEv:
   77|    720|    {
   78|    720|        return m_errorHandler;
   79|    720|    }

_ZN7Alembic3Abc3v1212ErrorHandlerclERSt9exceptionRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE:
   46|    144|{
   47|    144|    handleIt( ( iMsg + "\nERROR: EXCEPTION:\n" ) + iExc.what() );
   48|    144|}
_ZN7Alembic3Abc3v1212ErrorHandler8handleItERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   66|    144|{
   67|    144|    if ( m_policy == kNoisyNoopPolicy )
  ------------------
  |  Branch (67:10): [True: 0, False: 144]
  ------------------
   68|      0|    {
   69|      0|        std::cerr << iMsg << std::endl;
   70|      0|        m_errorLog.append( iMsg );
   71|      0|        m_errorLog.append( "\n" );
   72|      0|    }
   73|    144|    else if ( m_policy == kQuietNoopPolicy )
  ------------------
  |  Branch (73:15): [True: 144, False: 0]
  ------------------
   74|    144|    {
   75|    144|        m_errorLog.append( iMsg );
   76|    144|        m_errorLog.append( "\n" );
   77|    144|    }
   78|      0|    else
   79|      0|    {
   80|      0|        ABCA_THROW( iMsg );
  ------------------
  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|      0|    }
   82|    144|}

_ZN7Alembic3Abc3v1212ErrorHandler5clearEv:
   90|    144|    void clear() { m_errorLog = ""; }
_ZNK7Alembic3Abc3v1212ErrorHandler5validEv:
   88|    396|    bool valid() const { return ( m_errorLog == "" ); }
_ZN7Alembic3Abc3v1212ErrorHandlerC2Ev:
   64|    396|      : m_policy( kThrowPolicy )
   65|    396|      , m_errorLog( "" ) {}
_ZN7Alembic3Abc3v1212ErrorHandler7ContextC2ERS2_PKc:
   96|    414|          : m_handler( iEhnd ),
   97|    414|            m_message( iCtxMsg ) {}
_ZN7Alembic3Abc3v1212ErrorHandler9setPolicyENS2_6PolicyE:
   84|    306|    void setPolicy( Policy iPolicy ) { m_policy = iPolicy; }
_ZN7Alembic3Abc3v1212ErrorHandler7ContextclERSt9exception:
  100|    144|        {
  101|    144|            m_handler( iExc, m_message );
  102|    144|        }
_ZN7Alembic3Abc3v1221GetErrorHandlerPolicyENSt3__110shared_ptrINS_15AbcCoreAbstract3v1212ObjectReaderEEE:
  157|     54|{ return ErrorHandler::kThrowPolicy; }

_ZN7Alembic3Abc3v1218GetObjectReaderPtrENSt3__110shared_ptrINS_15AbcCoreAbstract3v1212ObjectReaderEEE:
  201|     54|{
  202|     54|    return iPtr;
  203|     54|}

_ZN7Alembic3Abc3v128IArchiveD2Ev:
   46|    396|{
   47|       |    // Nothing - just here as a support entry point for debugging
   48|    396|}
_ZNK7Alembic3Abc3v128IArchive7getNameEv:
   52|     54|{
   53|    108|    ALEMBIC_ABC_SAFE_CALL_BEGIN(
  ------------------
  |  |  172|     54|#define ALEMBIC_ABC_SAFE_CALL_BEGIN( CONTEXT )              \
  |  |  173|     54|do                                                              \
  |  |  174|     54|{                                                               \
  |  |  175|     54|    ::Alembic::Abc::ErrorHandler::Context                   \
  |  |  176|     54|        __err( this->getErrorHandler(), ( CONTEXT ) );          \
  |  |  177|     54|    try                                                         \
  |  |  178|     54|    {
  ------------------
   54|    108|        "IArchive::getName()" );
   55|       |
   56|    108|    return m_archive->getName();
   57|       |
   58|    108|    ALEMBIC_ABC_SAFE_CALL_END();
  ------------------
  |  |  199|     54|    }                                                           \
  |  |  200|     54|    catch ( std::exception &exc )                               \
  |  |  201|     54|    {                                                           \
  |  |  202|      0|        __err( exc );                                           \
  |  |  203|      0|    }                                                           \
  |  |  204|     54|    catch ( ... )                                               \
  |  |  205|     54|    {                                                           \
  |  |  206|      0|        __err( ::Alembic::Abc::                             \
  |  |  207|      0|             ErrorHandler::kUnknownException );                 \
  |  |  208|      0|    }                                                           \
  |  |  209|     54|}                                                               \
  |  |  210|     54|while( 0 )
  |  |  ------------------
  |  |  |  Branch (210:8): [Folded, False: 0]
  |  |  ------------------
  ------------------
   59|       |
   60|       |    // Not all error handlers throw,
   61|       |    // so return a NO-OP value
   62|      0|    return "";
   63|     54|}
_ZNK7Alembic3Abc3v128IArchive6getTopEv:
   67|     54|{
   68|    108|    ALEMBIC_ABC_SAFE_CALL_BEGIN( "IArchive::getTop()" );
  ------------------
  |  |  172|     54|#define ALEMBIC_ABC_SAFE_CALL_BEGIN( CONTEXT )              \
  |  |  173|     54|do                                                              \
  |  |  174|     54|{                                                               \
  |  |  175|     54|    ::Alembic::Abc::ErrorHandler::Context                   \
  |  |  176|     54|        __err( this->getErrorHandler(), ( CONTEXT ) );          \
  |  |  177|     54|    try                                                         \
  |  |  178|     54|    {
  ------------------
   69|       |
   70|    108|    return IObject( m_archive->getTop() );
   71|       |
   72|    108|    ALEMBIC_ABC_SAFE_CALL_END();
  ------------------
  |  |  199|     54|    }                                                           \
  |  |  200|     54|    catch ( std::exception &exc )                               \
  |  |  201|     54|    {                                                           \
  |  |  202|      0|        __err( exc );                                           \
  |  |  203|      0|    }                                                           \
  |  |  204|     54|    catch ( ... )                                               \
  |  |  205|     54|    {                                                           \
  |  |  206|      0|        __err( ::Alembic::Abc::                             \
  |  |  207|      0|             ErrorHandler::kUnknownException );                 \
  |  |  208|      0|    }                                                           \
  |  |  209|     54|}                                                               \
  |  |  210|     54|while( 0 )
  |  |  ------------------
  |  |  |  Branch (210:8): [Folded, False: 0]
  |  |  ------------------
  ------------------
   73|       |
   74|       |    // Not all error handlers throw, so here is a default behavior.
   75|      0|    return IObject();
   76|     54|}

_ZNK7Alembic3Abc3v128IArchive5validEv:
  173|    396|    {
  174|    396|        return ( Base::valid() && m_archive );
  ------------------
  |  Branch (174:18): [True: 252, False: 144]
  |  Branch (174:35): [True: 108, False: 144]
  ------------------
  175|    396|    }
_ZN7Alembic3Abc3v128IArchiveC2Ev:
   66|    144|    IArchive() {}
_ZN7Alembic3Abc3v128IArchive5resetEv:
  155|    144|    void reset() { m_archive.reset(); Base::reset(); }
_ZN7Alembic3Abc3v128IArchiveC2INS_12AbcCoreOgawa3v1211ReadArchiveEEET_RKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEENS1_12ErrorHandler6PolicyENS8_10shared_ptrINS_15AbcCoreAbstract3v1220ReadArraySampleCacheEEE:
  202|    198|{
  203|       |    // Set the error handling policy.
  204|    198|    getErrorHandler().setPolicy( iPolicy );
  205|       |
  206|    396|    ALEMBIC_ABC_SAFE_CALL_BEGIN( "IArchive::IArchive( iFileName )" );
  ------------------
  |  |  172|    198|#define ALEMBIC_ABC_SAFE_CALL_BEGIN( CONTEXT )              \
  |  |  173|    198|do                                                              \
  |  |  174|    198|{                                                               \
  |  |  175|    198|    ::Alembic::Abc::ErrorHandler::Context                   \
  |  |  176|    198|        __err( this->getErrorHandler(), ( CONTEXT ) );          \
  |  |  177|    198|    try                                                         \
  |  |  178|    198|    {
  ------------------
  207|       |
  208|    396|    m_archive = iCtor( iFileName, iCachePtr );
  209|       |
  210|    396|    ALEMBIC_ABC_SAFE_CALL_END_RESET();
  ------------------
  |  |  182|    198|    }                                                           \
  |  |  183|    198|    catch ( std::exception &exc )                               \
  |  |  184|    198|    {                                                           \
  |  |  185|    144|        this->reset();                                          \
  |  |  186|    144|        __err( exc );                                           \
  |  |  187|    144|    }                                                           \
  |  |  188|    198|    catch ( ... )                                               \
  |  |  189|    198|    {                                                           \
  |  |  190|      0|        this->reset();                                          \
  |  |  191|      0|        __err( ::Alembic::Abc::                             \
  |  |  192|      0|             ErrorHandler::kUnknownException );                 \
  |  |  193|      0|    }                                                           \
  |  |  194|    198|}                                                               \
  |  |  195|    198|while( 0 )
  |  |  ------------------
  |  |  |  Branch (195:8): [Folded, False: 198]
  |  |  ------------------
  ------------------
  211|       |
  212|    198|}

_ZN7Alembic3Abc3v127IObjectD2Ev:
   50|     54|{
   51|       |    // Nothing for now.
   52|       |    // Mostly here in case we need to add reference-counting debug code.
   53|       |    //std::cout << "IObject::~IObject() name: "
   54|       |    //          << m_object->getName()
   55|       |    //          << std::endl
   56|       |    //          << "\tUse count of writer ptr: "
   57|       |    //          << m_object.use_count() << std::endl;
   58|     54|}
_ZNK7Alembic3Abc3v127IObject9getHeaderEv:
   68|     54|{
   69|    108|    ALEMBIC_ABC_SAFE_CALL_BEGIN( "IObject::getHeader()" );
  ------------------
  |  |  172|     54|#define ALEMBIC_ABC_SAFE_CALL_BEGIN( CONTEXT )              \
  |  |  173|     54|do                                                              \
  |  |  174|     54|{                                                               \
  |  |  175|     54|    ::Alembic::Abc::ErrorHandler::Context                   \
  |  |  176|     54|        __err( this->getErrorHandler(), ( CONTEXT ) );          \
  |  |  177|     54|    try                                                         \
  |  |  178|     54|    {
  ------------------
   70|       |
   71|    108|    if ( m_object )
  ------------------
  |  Branch (71:10): [True: 54, False: 0]
  ------------------
   72|     54|    {
   73|     54|        return m_object->getHeader();
   74|     54|    }
   75|       |
   76|    108|    ALEMBIC_ABC_SAFE_CALL_END();
  ------------------
  |  |  199|     54|    }                                                           \
  |  |  200|     54|    catch ( std::exception &exc )                               \
  |  |  201|     54|    {                                                           \
  |  |  202|      0|        __err( exc );                                           \
  |  |  203|      0|    }                                                           \
  |  |  204|     54|    catch ( ... )                                               \
  |  |  205|     54|    {                                                           \
  |  |  206|      0|        __err( ::Alembic::Abc::                             \
  |  |  207|      0|             ErrorHandler::kUnknownException );                 \
  |  |  208|      0|    }                                                           \
  |  |  209|     54|}                                                               \
  |  |  210|     54|while( 0 )
  |  |  ------------------
  |  |  |  Branch (210:8): [Folded, False: 0]
  |  |  ------------------
  ------------------
   77|       |
   78|       |    // Not all error handlers throw, so have a default behavior.
   79|      0|    return g_ohd;
   80|     54|};
_ZNK7Alembic3Abc3v127IObject14getNumChildrenEv:
  265|     54|{
  266|       |
  267|    108|    ALEMBIC_ABC_SAFE_CALL_BEGIN( "IObject::getNumChildren()" );
  ------------------
  |  |  172|     54|#define ALEMBIC_ABC_SAFE_CALL_BEGIN( CONTEXT )              \
  |  |  173|     54|do                                                              \
  |  |  174|     54|{                                                               \
  |  |  175|     54|    ::Alembic::Abc::ErrorHandler::Context                   \
  |  |  176|     54|        __err( this->getErrorHandler(), ( CONTEXT ) );          \
  |  |  177|     54|    try                                                         \
  |  |  178|     54|    {
  ------------------
  268|       |
  269|    108|    if ( m_object )
  ------------------
  |  Branch (269:10): [True: 54, False: 0]
  ------------------
  270|     54|    {
  271|     54|        return m_object->getNumChildren();
  272|     54|    }
  273|       |
  274|    108|    ALEMBIC_ABC_SAFE_CALL_END();
  ------------------
  |  |  199|     54|    }                                                           \
  |  |  200|     54|    catch ( std::exception &exc )                               \
  |  |  201|     54|    {                                                           \
  |  |  202|      0|        __err( exc );                                           \
  |  |  203|      0|    }                                                           \
  |  |  204|     54|    catch ( ... )                                               \
  |  |  205|     54|    {                                                           \
  |  |  206|      0|        __err( ::Alembic::Abc::                             \
  |  |  207|      0|             ErrorHandler::kUnknownException );                 \
  |  |  208|      0|    }                                                           \
  |  |  209|     54|}                                                               \
  |  |  210|     54|while( 0 )
  |  |  ------------------
  |  |  |  Branch (210:8): [Folded, False: 0]
  |  |  ------------------
  ------------------
  275|       |
  276|       |    // Not all error handlers throw, have a default.
  277|      0|    return 0;
  278|     54|}
_ZN7Alembic3Abc3v127IObject12initInstanceEv:
  548|     54|{
  549|       |
  550|       |    // not an instance so m_instanceObject will stay empty
  551|     54|    if ( !m_object || m_object->getMetaData().get("isInstance") != "1")
  ------------------
  |  Branch (551:10): [True: 0, False: 54]
  |  Branch (551:10): [True: 54, False: 0]
  |  Branch (551:23): [True: 54, False: 0]
  ------------------
  552|     54|    {
  553|     54|        return;
  554|     54|    }
  555|       |
  556|      0|    AbcA::CompoundPropertyReaderPtr propsPtr = m_object->getProperties();
  557|      0|    std::string instanceSource = readInstanceSource( propsPtr );
  558|      0|    AbcA::ObjectReaderPtr targetObject =
  559|      0|        objectReaderByName( m_object, instanceSource );
  560|       |
  561|      0|    m_instanceObject = m_object;
  562|      0|    m_object = targetObject;
  563|       |
  564|       |    // initialize the full name to the instance full name
  565|      0|    if ( m_instanceObject != 0 )
  ------------------
  |  Branch (565:10): [True: 0, False: 0]
  ------------------
  566|      0|    {
  567|      0|        m_instancedFullName = m_instanceObject->getFullName();
  568|      0|    }
  569|      0|}

_ZN7Alembic3Abc3v127IObjectC2ENSt3__110shared_ptrINS_15AbcCoreAbstract3v1212ObjectReaderEEERKNS1_8ArgumentE:
   89|     54|        : m_object( GetObjectReaderPtr( iPtr ) )
   90|     54|    {
   91|       |        // Set the error handling policy
   92|     54|        getErrorHandler().setPolicy(
   93|     54|            GetErrorHandlerPolicy( iPtr, iArg0 ) );
   94|       |
   95|     54|        initInstance();
   96|     54|    }

_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1218PolyMeshSchemaInfoEE14getSchemaTitleEv:
   69|    162|    {
   70|    162|        return INFO::title();
   71|    162|    }
_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1218PolyMeshSchemaInfoEE20getDefaultSchemaNameEv:
   76|    108|    {
   77|    108|        return INFO::defaultName();
   78|    108|    }
_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1214SubDSchemaInfoEE14getSchemaTitleEv:
   69|    162|    {
   70|    162|        return INFO::title();
   71|    162|    }
_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1214SubDSchemaInfoEE20getDefaultSchemaNameEv:
   76|    108|    {
   77|    108|        return INFO::defaultName();
   78|    108|    }
_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1217FaceSetSchemaInfoEE14getSchemaTitleEv:
   69|    162|    {
   70|    162|        return INFO::title();
   71|    162|    }
_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1217FaceSetSchemaInfoEE20getDefaultSchemaNameEv:
   76|    108|    {
   77|    108|        return INFO::defaultName();
   78|    108|    }
_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1216CurvesSchemaInfoEE14getSchemaTitleEv:
   69|    162|    {
   70|    162|        return INFO::title();
   71|    162|    }
_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1216CurvesSchemaInfoEE20getDefaultSchemaNameEv:
   76|    108|    {
   77|    108|        return INFO::defaultName();
   78|    108|    }
_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1215XformSchemaInfoEE14getSchemaTitleEv:
   69|    162|    {
   70|    162|        return INFO::title();
   71|    162|    }
_ZN7Alembic3Abc3v127ISchemaINS_7AbcGeom3v1215XformSchemaInfoEE20getDefaultSchemaNameEv:
   76|    108|    {
   77|    108|        return INFO::defaultName();
   78|    108|    }
_ZN7Alembic3Abc3v127ISchemaINS_11AbcMaterial3v1218MaterialSchemaInfoEE14getSchemaTitleEv:
   69|    162|    {
   70|    162|        return INFO::title();
   71|    162|    }
_ZN7Alembic3Abc3v127ISchemaINS_11AbcMaterial3v1218MaterialSchemaInfoEE20getDefaultSchemaNameEv:
   76|    108|    {
   77|    108|        return INFO::defaultName();
   78|    108|    }

_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1215IPolyMeshSchemaEE14getSchemaTitleEv:
   77|     54|    {
   78|     54|        return SCHEMA::getSchemaTitle();
   79|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1211ISubDSchemaEE14getSchemaTitleEv:
   77|     54|    {
   78|     54|        return SCHEMA::getSchemaTitle();
   79|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1214IFaceSetSchemaEE14getSchemaTitleEv:
   77|     54|    {
   78|     54|        return SCHEMA::getSchemaTitle();
   79|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1213ICurvesSchemaEE14getSchemaTitleEv:
   77|     54|    {
   78|     54|        return SCHEMA::getSchemaTitle();
   79|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1212IXformSchemaEE14getSchemaTitleEv:
   77|     54|    {
   78|     54|        return SCHEMA::getSchemaTitle();
   79|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_11AbcMaterial3v1215IMaterialSchemaEE14getSchemaTitleEv:
   77|     54|    {
   78|     54|        return SCHEMA::getSchemaTitle();
   79|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1215IPolyMeshSchemaEE7matchesERKNS_15AbcCoreAbstract3v1212ObjectHeaderENS1_20SchemaInterpMatchingE:
  113|     54|    {
  114|     54|        return matches( iHeader.getMetaData(), iMatching );
  115|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1215IPolyMeshSchemaEE7matchesERKNS_15AbcCoreAbstract3v128MetaDataENS1_20SchemaInterpMatchingE:
   86|     54|    {
   87|       |
   88|     54|        if ( std::string() == getSchemaTitle() || iMatching == kNoMatching )
  ------------------
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:51): [True: 0, False: 54]
  ------------------
   89|      0|        {
   90|      0|            return true;
   91|      0|        }
   92|       |
   93|       |
   94|     54|        if ( iMatching == kStrictMatching )
  ------------------
  |  Branch (94:14): [True: 54, False: 0]
  ------------------
   95|     54|        {
   96|     54|            return iMetaData.get( "schemaObjTitle" ) == getSchemaObjTitle() ||
  ------------------
  |  Branch (96:20): [True: 0, False: 54]
  ------------------
   97|     54|                iMetaData.get( "schema" ) == getSchemaObjTitle();
  ------------------
  |  Branch (97:17): [True: 0, False: 54]
  ------------------
   98|     54|        }
   99|       |
  100|      0|        if ( iMatching == kSchemaTitleMatching )
  ------------------
  |  Branch (100:14): [True: 0, False: 0]
  ------------------
  101|      0|        {
  102|      0|            return iMetaData.get( "schema" ) == getSchemaTitle();
  103|      0|        }
  104|       |
  105|      0|        return false;
  106|      0|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1215IPolyMeshSchemaEE17getSchemaObjTitleEv:
   71|    108|    {
   72|    108|        return SCHEMA::getSchemaTitle() + std::string( ":" )
   73|    108|            + SCHEMA::getDefaultSchemaName();
   74|    108|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1211ISubDSchemaEE7matchesERKNS_15AbcCoreAbstract3v1212ObjectHeaderENS1_20SchemaInterpMatchingE:
  113|     54|    {
  114|     54|        return matches( iHeader.getMetaData(), iMatching );
  115|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1211ISubDSchemaEE7matchesERKNS_15AbcCoreAbstract3v128MetaDataENS1_20SchemaInterpMatchingE:
   86|     54|    {
   87|       |
   88|     54|        if ( std::string() == getSchemaTitle() || iMatching == kNoMatching )
  ------------------
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:51): [True: 0, False: 54]
  ------------------
   89|      0|        {
   90|      0|            return true;
   91|      0|        }
   92|       |
   93|       |
   94|     54|        if ( iMatching == kStrictMatching )
  ------------------
  |  Branch (94:14): [True: 54, False: 0]
  ------------------
   95|     54|        {
   96|     54|            return iMetaData.get( "schemaObjTitle" ) == getSchemaObjTitle() ||
  ------------------
  |  Branch (96:20): [True: 0, False: 54]
  ------------------
   97|     54|                iMetaData.get( "schema" ) == getSchemaObjTitle();
  ------------------
  |  Branch (97:17): [True: 0, False: 54]
  ------------------
   98|     54|        }
   99|       |
  100|      0|        if ( iMatching == kSchemaTitleMatching )
  ------------------
  |  Branch (100:14): [True: 0, False: 0]
  ------------------
  101|      0|        {
  102|      0|            return iMetaData.get( "schema" ) == getSchemaTitle();
  103|      0|        }
  104|       |
  105|      0|        return false;
  106|      0|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1211ISubDSchemaEE17getSchemaObjTitleEv:
   71|    108|    {
   72|    108|        return SCHEMA::getSchemaTitle() + std::string( ":" )
   73|    108|            + SCHEMA::getDefaultSchemaName();
   74|    108|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1214IFaceSetSchemaEE7matchesERKNS_15AbcCoreAbstract3v1212ObjectHeaderENS1_20SchemaInterpMatchingE:
  113|     54|    {
  114|     54|        return matches( iHeader.getMetaData(), iMatching );
  115|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1214IFaceSetSchemaEE7matchesERKNS_15AbcCoreAbstract3v128MetaDataENS1_20SchemaInterpMatchingE:
   86|     54|    {
   87|       |
   88|     54|        if ( std::string() == getSchemaTitle() || iMatching == kNoMatching )
  ------------------
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:51): [True: 0, False: 54]
  ------------------
   89|      0|        {
   90|      0|            return true;
   91|      0|        }
   92|       |
   93|       |
   94|     54|        if ( iMatching == kStrictMatching )
  ------------------
  |  Branch (94:14): [True: 54, False: 0]
  ------------------
   95|     54|        {
   96|     54|            return iMetaData.get( "schemaObjTitle" ) == getSchemaObjTitle() ||
  ------------------
  |  Branch (96:20): [True: 0, False: 54]
  ------------------
   97|     54|                iMetaData.get( "schema" ) == getSchemaObjTitle();
  ------------------
  |  Branch (97:17): [True: 0, False: 54]
  ------------------
   98|     54|        }
   99|       |
  100|      0|        if ( iMatching == kSchemaTitleMatching )
  ------------------
  |  Branch (100:14): [True: 0, False: 0]
  ------------------
  101|      0|        {
  102|      0|            return iMetaData.get( "schema" ) == getSchemaTitle();
  103|      0|        }
  104|       |
  105|      0|        return false;
  106|      0|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1214IFaceSetSchemaEE17getSchemaObjTitleEv:
   71|    108|    {
   72|    108|        return SCHEMA::getSchemaTitle() + std::string( ":" )
   73|    108|            + SCHEMA::getDefaultSchemaName();
   74|    108|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1213ICurvesSchemaEE7matchesERKNS_15AbcCoreAbstract3v1212ObjectHeaderENS1_20SchemaInterpMatchingE:
  113|     54|    {
  114|     54|        return matches( iHeader.getMetaData(), iMatching );
  115|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1213ICurvesSchemaEE7matchesERKNS_15AbcCoreAbstract3v128MetaDataENS1_20SchemaInterpMatchingE:
   86|     54|    {
   87|       |
   88|     54|        if ( std::string() == getSchemaTitle() || iMatching == kNoMatching )
  ------------------
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:51): [True: 0, False: 54]
  ------------------
   89|      0|        {
   90|      0|            return true;
   91|      0|        }
   92|       |
   93|       |
   94|     54|        if ( iMatching == kStrictMatching )
  ------------------
  |  Branch (94:14): [True: 54, False: 0]
  ------------------
   95|     54|        {
   96|     54|            return iMetaData.get( "schemaObjTitle" ) == getSchemaObjTitle() ||
  ------------------
  |  Branch (96:20): [True: 0, False: 54]
  ------------------
   97|     54|                iMetaData.get( "schema" ) == getSchemaObjTitle();
  ------------------
  |  Branch (97:17): [True: 0, False: 54]
  ------------------
   98|     54|        }
   99|       |
  100|      0|        if ( iMatching == kSchemaTitleMatching )
  ------------------
  |  Branch (100:14): [True: 0, False: 0]
  ------------------
  101|      0|        {
  102|      0|            return iMetaData.get( "schema" ) == getSchemaTitle();
  103|      0|        }
  104|       |
  105|      0|        return false;
  106|      0|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1213ICurvesSchemaEE17getSchemaObjTitleEv:
   71|    108|    {
   72|    108|        return SCHEMA::getSchemaTitle() + std::string( ":" )
   73|    108|            + SCHEMA::getDefaultSchemaName();
   74|    108|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1212IXformSchemaEE7matchesERKNS_15AbcCoreAbstract3v1212ObjectHeaderENS1_20SchemaInterpMatchingE:
  113|     54|    {
  114|     54|        return matches( iHeader.getMetaData(), iMatching );
  115|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1212IXformSchemaEE7matchesERKNS_15AbcCoreAbstract3v128MetaDataENS1_20SchemaInterpMatchingE:
   86|     54|    {
   87|       |
   88|     54|        if ( std::string() == getSchemaTitle() || iMatching == kNoMatching )
  ------------------
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:51): [True: 0, False: 54]
  ------------------
   89|      0|        {
   90|      0|            return true;
   91|      0|        }
   92|       |
   93|       |
   94|     54|        if ( iMatching == kStrictMatching )
  ------------------
  |  Branch (94:14): [True: 54, False: 0]
  ------------------
   95|     54|        {
   96|     54|            return iMetaData.get( "schemaObjTitle" ) == getSchemaObjTitle() ||
  ------------------
  |  Branch (96:20): [True: 0, False: 54]
  ------------------
   97|     54|                iMetaData.get( "schema" ) == getSchemaObjTitle();
  ------------------
  |  Branch (97:17): [True: 0, False: 54]
  ------------------
   98|     54|        }
   99|       |
  100|      0|        if ( iMatching == kSchemaTitleMatching )
  ------------------
  |  Branch (100:14): [True: 0, False: 0]
  ------------------
  101|      0|        {
  102|      0|            return iMetaData.get( "schema" ) == getSchemaTitle();
  103|      0|        }
  104|       |
  105|      0|        return false;
  106|      0|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_7AbcGeom3v1212IXformSchemaEE17getSchemaObjTitleEv:
   71|    108|    {
   72|    108|        return SCHEMA::getSchemaTitle() + std::string( ":" )
   73|    108|            + SCHEMA::getDefaultSchemaName();
   74|    108|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_11AbcMaterial3v1215IMaterialSchemaEE7matchesERKNS_15AbcCoreAbstract3v1212ObjectHeaderENS1_20SchemaInterpMatchingE:
  113|     54|    {
  114|     54|        return matches( iHeader.getMetaData(), iMatching );
  115|     54|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_11AbcMaterial3v1215IMaterialSchemaEE7matchesERKNS_15AbcCoreAbstract3v128MetaDataENS1_20SchemaInterpMatchingE:
   86|     54|    {
   87|       |
   88|     54|        if ( std::string() == getSchemaTitle() || iMatching == kNoMatching )
  ------------------
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:14): [True: 0, False: 54]
  |  Branch (88:51): [True: 0, False: 54]
  ------------------
   89|      0|        {
   90|      0|            return true;
   91|      0|        }
   92|       |
   93|       |
   94|     54|        if ( iMatching == kStrictMatching )
  ------------------
  |  Branch (94:14): [True: 54, False: 0]
  ------------------
   95|     54|        {
   96|     54|            return iMetaData.get( "schemaObjTitle" ) == getSchemaObjTitle() ||
  ------------------
  |  Branch (96:20): [True: 0, False: 54]
  ------------------
   97|     54|                iMetaData.get( "schema" ) == getSchemaObjTitle();
  ------------------
  |  Branch (97:17): [True: 0, False: 54]
  ------------------
   98|     54|        }
   99|       |
  100|      0|        if ( iMatching == kSchemaTitleMatching )
  ------------------
  |  Branch (100:14): [True: 0, False: 0]
  ------------------
  101|      0|        {
  102|      0|            return iMetaData.get( "schema" ) == getSchemaTitle();
  103|      0|        }
  104|       |
  105|      0|        return false;
  106|      0|    }
_ZN7Alembic3Abc3v1213ISchemaObjectINS_11AbcMaterial3v1215IMaterialSchemaEE17getSchemaObjTitleEv:
   71|    108|    {
   72|    108|        return SCHEMA::getSchemaTitle() + std::string( ":" )
   73|    108|            + SCHEMA::getDefaultSchemaName();
   74|    108|    }

_ZN7Alembic7AbcGeom3v1218PolyMeshSchemaInfo5titleEv:
  108|    162|    static const char * title() { return ( STITLE ) ; }                 \
_ZN7Alembic7AbcGeom3v1218PolyMeshSchemaInfo11defaultNameEv:
  109|    108|    static const char * defaultName() { return ( SDFLT ); }             \
_ZN7Alembic7AbcGeom3v1214SubDSchemaInfo5titleEv:
  108|    162|    static const char * title() { return ( STITLE ) ; }                 \
_ZN7Alembic7AbcGeom3v1214SubDSchemaInfo11defaultNameEv:
  109|    108|    static const char * defaultName() { return ( SDFLT ); }             \
_ZN7Alembic7AbcGeom3v1217FaceSetSchemaInfo5titleEv:
  108|    162|    static const char * title() { return ( STITLE ) ; }                 \
_ZN7Alembic7AbcGeom3v1217FaceSetSchemaInfo11defaultNameEv:
  109|    108|    static const char * defaultName() { return ( SDFLT ); }             \
_ZN7Alembic7AbcGeom3v1216CurvesSchemaInfo5titleEv:
  108|    162|    static const char * title() { return ( STITLE ) ; }                 \
_ZN7Alembic7AbcGeom3v1216CurvesSchemaInfo11defaultNameEv:
  109|    108|    static const char * defaultName() { return ( SDFLT ); }             \
_ZN7Alembic7AbcGeom3v1215XformSchemaInfo5titleEv:
  108|    162|    static const char * title() { return ( STITLE ) ; }                 \
_ZN7Alembic7AbcGeom3v1215XformSchemaInfo11defaultNameEv:
  109|    108|    static const char * defaultName() { return ( SDFLT ); }             \
_ZN7Alembic11AbcMaterial3v1218MaterialSchemaInfo5titleEv:
  108|    162|    static const char * title() { return ( STITLE ) ; }                 \
_ZN7Alembic11AbcMaterial3v1218MaterialSchemaInfo11defaultNameEv:
  109|    108|    static const char * defaultName() { return ( SDFLT ); }             \

_ZN7Alembic15AbcCoreAbstract3v1213ArchiveReaderD2Ev:
   45|    198|{
   46|       |    // Nothing
   47|    198|}

_ZN7Alembic15AbcCoreAbstract3v128DataTypeC2Ev:
   60|  12.4k|      : m_pod( kUnknownPOD ), m_extent( 0 ) {}
_ZN7Alembic15AbcCoreAbstract3v128DataTypeC2ENS_4Util3v1216PlainOldDataTypeEh:
   67|  9.86k|      : m_pod( iPod ), m_extent( iExtent ) {}

_ZN7Alembic15AbcCoreAbstract3v128MetaDataC2Ev:
  101|   438k|    MetaData() {}
_ZNK7Alembic15AbcCoreAbstract3v128MetaData9serializeEv:
  133|     54|    {
  134|     54|        return m_tokenMap.get( ';', '=', true );
  135|     54|    }
_ZN7Alembic15AbcCoreAbstract3v128MetaDataC2ERKS2_:
  105|  1.06M|    MetaData( const MetaData &iCopy ) : m_tokenMap( iCopy.m_tokenMap ) {}
_ZN7Alembic15AbcCoreAbstract3v128MetaDataaSERKS2_:
  110|  12.4k|    {
  111|  12.4k|        m_tokenMap = iCopy.m_tokenMap;
  112|  12.4k|        return *this;
  113|  12.4k|    }
_ZNK7Alembic15AbcCoreAbstract3v128MetaData3getERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
  193|    702|    {
  194|    702|        return m_tokenMap.value( iKey );
  195|    702|    }
_ZN7Alembic15AbcCoreAbstract3v128MetaData11deserializeERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
  124|   425k|    {
  125|   425k|        m_tokenMap.clear();
  126|   425k|        m_tokenMap.setUnique( iFrom, ';', '=', true );
  127|   425k|    }

_ZNK7Alembic15AbcCoreAbstract3v1212ObjectHeader7getNameEv:
   83|     68|    const std::string &getName() const { return m_name; }
_ZNK7Alembic15AbcCoreAbstract3v1212ObjectHeader11getFullNameEv:
   88|     54|    const std::string &getFullName() const { return m_fullName; }
_ZNK7Alembic15AbcCoreAbstract3v1212ObjectHeader11getMetaDataEv:
   93|    432|    const MetaData &getMetaData() const { return m_metaData; }
_ZN7Alembic15AbcCoreAbstract3v1212ObjectHeaderC2Ev:
   57|    272|      : m_name()
   58|    272|      , m_fullName()
   59|    272|      , m_metaData() {}
_ZN7Alembic15AbcCoreAbstract3v1212ObjectHeader7setNameERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   84|    146|    void setName ( const std::string &iName ) { m_name = iName; }
_ZN7Alembic15AbcCoreAbstract3v1212ObjectHeader11setFullNameERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   89|    146|    void setFullName( const std::string &iFullName ) { m_fullName = iFullName; }
_ZN7Alembic15AbcCoreAbstract3v1212ObjectHeader11getMetaDataEv:
   94|    125|    MetaData &getMetaData() { return m_metaData; }

_ZN7Alembic15AbcCoreAbstract3v1212ObjectReaderD2Ev:
   45|     54|{
   46|       |    // Nothing
   47|     54|}

_ZNK7Alembic15AbcCoreAbstract3v1212ObjectReader11getMetaDataEv:
   93|     54|    { return getHeader().getMetaData(); }

_ZN7Alembic15AbcCoreAbstract3v1214PropertyHeaderC2Ev:
   85|  12.4k|      : m_name(),
   86|  12.4k|        m_propertyType( kScalarProperty ),
   87|  12.4k|        m_metaData(),
   88|  12.4k|        m_dataType(),
   89|  12.4k|        m_timeSampling() {}
_ZNK7Alembic15AbcCoreAbstract3v1214PropertyHeader7getNameEv:
  137|  1.62k|    const std::string &getName() const { return m_name; }
_ZN7Alembic15AbcCoreAbstract3v1214PropertyHeader7setNameERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
  139|  12.4k|    void setName( const std::string &iName ) { m_name = iName; }
_ZN7Alembic15AbcCoreAbstract3v1214PropertyHeader15setPropertyTypeENS1_12PropertyTypeE:
  145|  12.4k|    void setPropertyType( PropertyType iPtyp ) { m_propertyType = iPtyp; }
_ZNK7Alembic15AbcCoreAbstract3v1214PropertyHeader10isCompoundEv:
  157|  12.4k|    bool isCompound() const { return m_propertyType == kCompoundProperty; }
_ZN7Alembic15AbcCoreAbstract3v1214PropertyHeader11setMetaDataERKNS1_8MetaDataE:
  167|  12.4k|    void setMetaData( const MetaData &iMetaData ) { m_metaData = iMetaData; }
_ZN7Alembic15AbcCoreAbstract3v1214PropertyHeader11setDataTypeERKNS1_8DataTypeE:
  175|  9.86k|    void setDataType( const DataType &iDataType ) { m_dataType = iDataType; }
_ZN7Alembic15AbcCoreAbstract3v1214PropertyHeader15setTimeSamplingERKNSt3__110shared_ptrINS1_12TimeSamplingEEE:
  185|  9.85k|    { m_timeSampling = iTsamp; }

_ZN7Alembic15AbcCoreAbstract3v1212TimeSamplingC2ERKNS1_16TimeSamplingTypeERKNSt3__16vectorIdNS6_9allocatorIdEEEE:
   59|     82|  : m_timeSamplingType( iTimeSamplingType )
   60|     82|  , m_sampleTimes( iSampleTimes )
   61|     82|{
   62|     82|    init();
   63|     82|}
_ZN7Alembic15AbcCoreAbstract3v1212TimeSampling4initEv:
   75|     82|{
   76|     82|    size_t numSamples = m_sampleTimes.size();
   77|     82|    ABCA_ASSERT ( m_timeSamplingType.isAcyclic() || numSamples ==
  ------------------
  |  |   99|     82|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|     82|do                                              \
  |  |  101|     82|{                                               \
  |  |  102|    164|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:13): [True: 0, False: 82]
  |  |  |  Branch (102:13): [True: 82, False: 0]
  |  |  ------------------
  |  |  103|     82|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|     82|}                                               \
  |  |  107|     82|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 82]
  |  |  ------------------
  ------------------
   78|     82|        m_timeSamplingType.getNumSamplesPerCycle(),
   79|     82|        "Incorrect number of time samples specified, expected " <<
   80|     82|        m_timeSamplingType.getNumSamplesPerCycle() << ", got: " <<
   81|     82|        numSamples );
   82|       |
   83|       |    // we need to check to make sure we are strictly increasing
   84|     82|    if ( numSamples > 1 )
  ------------------
  |  Branch (84:10): [True: 2, False: 80]
  ------------------
   85|      2|    {
   86|      2|        chrono_t curVal = m_sampleTimes[0];
   87|      3|        for ( size_t i = 1; i < numSamples; ++i )
  ------------------
  |  Branch (87:29): [True: 3, False: 0]
  ------------------
   88|      3|        {
   89|      3|            chrono_t newVal = m_sampleTimes[i];
   90|      3|            ABCA_ASSERT( curVal < newVal, "Sample " << i << " value: " <<
  ------------------
  |  |   99|      3|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|      3|do                                              \
  |  |  101|      3|{                                               \
  |  |  102|      3|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 2, False: 1]
  |  |  ------------------
  |  |  103|      3|    {                                           \
  |  |  104|      2|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      2|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      2|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      2|do                                                    \
  |  |  |  |  |  |   89|      2|{                                                     \
  |  |  |  |  |  |   90|      2|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      2|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      2|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      2|    throw( exc );                                     \
  |  |  |  |  |  |   94|      2|}                                                     \
  |  |  |  |  |  |   95|      2|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      2|    }                                           \
  |  |  106|      3|}                                               \
  |  |  107|      3|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 1]
  |  |  ------------------
  ------------------
   91|      3|                newVal << " is not greater than the previous sample: " <<
   92|      3|                curVal );
   93|      1|            curVal = newVal;
   94|      1|        }
   95|       |
   96|       |        // make sure cyclic samples fall within the time per cycle
   97|      0|        if ( m_timeSamplingType.isCyclic() )
  ------------------
  |  Branch (97:14): [True: 0, False: 0]
  ------------------
   98|      0|        {
   99|      0|            curVal = m_sampleTimes[m_sampleTimes.size() - 1] - m_sampleTimes[0];
  100|      0|            ABCA_ASSERT ( curVal <= m_timeSamplingType.getTimePerCycle(),
  ------------------
  |  |   99|      0|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|      0|do                                              \
  |  |  101|      0|{                                               \
  |  |  102|      0|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  103|      0|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|      0|}                                               \
  |  |  107|      0|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 0]
  |  |  ------------------
  ------------------
  101|      0|                "Cyclic samples provided are greater than the time per cycle."
  102|      0|                " Expected: " << m_timeSamplingType.getTimePerCycle() <<
  103|      0|                " Found: " << curVal );
  104|      0|        }
  105|      0|    }
  106|       |
  107|     82|}

_ZN7Alembic15AbcCoreAbstract3v1216TimeSamplingType17AcyclicNumSamplesEv:
   60|    246|{
   61|    246|    return ACYCLIC_NUM_SAMPLES;
   62|    246|}
_ZN7Alembic15AbcCoreAbstract3v1216TimeSamplingType19AcyclicTimePerCycleEv:
   65|    328|{
   66|    328|    return ACYCLIC_TIME_PER_CYCLE;
   67|    328|}

_ZN7Alembic15AbcCoreAbstract3v1216TimeSamplingTypeC2Ejd:
   97|     82|      : m_numSamplesPerCycle( iNumSamplesPerCycle )
   98|     82|      , m_timePerCycle( iTimePerCycle )
   99|     82|    {
  100|     82|        ABCA_ASSERT(
  ------------------
  |  |   99|     82|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|     82|do                                              \
  |  |  101|     82|{                                               \
  |  |  102|    738|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:13): [True: 0, False: 82]
  |  |  |  Branch (102:13): [True: 0, False: 0]
  |  |  |  Branch (102:13): [True: 82, False: 0]
  |  |  |  Branch (102:13): [True: 82, False: 0]
  |  |  |  Branch (102:13): [True: 82, False: 0]
  |  |  |  Branch (102:13): [True: 82, False: 0]
  |  |  ------------------
  |  |  103|     82|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|     82|}                                               \
  |  |  107|     82|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 82]
  |  |  ------------------
  ------------------
  101|       |
  102|       |            // Acyclic
  103|     82|            ( m_timePerCycle == AcyclicTimePerCycle() &&
  104|     82|              m_numSamplesPerCycle == AcyclicNumSamples() ) ||
  105|       |
  106|       |            // valid time per cycle
  107|     82|            ( m_timePerCycle > 0.0 &&
  108|     82|              m_timePerCycle < AcyclicTimePerCycle() &&
  109|       |
  110|       |              // and valid samples per cycle
  111|     82|              m_numSamplesPerCycle > 0 &&
  112|     82|              m_numSamplesPerCycle < AcyclicNumSamples() ),
  113|     82|            "Invalid Time Sampling Type, time per cycle: "
  114|     82|            << m_timePerCycle << " samples per cycle: "
  115|     82|            <<  m_numSamplesPerCycle );
  116|       |
  117|     82|    }
_ZN7Alembic15AbcCoreAbstract3v1216TimeSamplingTypeC2ENS2_11AcyclicFlagE:
  125|     82|    {
  126|     82|        m_numSamplesPerCycle = AcyclicNumSamples();
  127|     82|        m_timePerCycle = AcyclicTimePerCycle();
  128|     82|    }
_ZNK7Alembic15AbcCoreAbstract3v1216TimeSamplingType9isAcyclicEv:
  146|     82|    { return m_numSamplesPerCycle == AcyclicNumSamples(); }
_ZNK7Alembic15AbcCoreAbstract3v1216TimeSamplingType21getNumSamplesPerCycleEv:
  148|     82|    uint32_t getNumSamplesPerCycle() const { return m_numSamplesPerCycle; }

_ZN7Alembic14AbcCoreFactory3v128IFactoryC2Ev:
   51|    198|{
   52|    198|    m_cacheHierarchy = true;
   53|    198|    m_numStreams = 1;
   54|    198|    m_readStrategy = kMemoryMappedFiles;
   55|    198|    m_policy = Alembic::Abc::ErrorHandler::kThrowPolicy;
   56|    198|}
_ZN7Alembic14AbcCoreFactory3v128IFactoryD2Ev:
   59|    198|{
   60|    198|}
_ZN7Alembic14AbcCoreFactory3v128IFactory10getArchiveERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERNS2_8CoreTypeE:
   64|    198|{
   65|       |
   66|       |    // try Ogawa first, use kQuietNoop at first in case we fail
   67|    198|    Alembic::AbcCoreOgawa::ReadArchive ogawa(
   68|    198|        m_numStreams,
   69|    198|        m_readStrategy == kMemoryMappedFiles);
   70|    198|    Alembic::Abc::IArchive archive( ogawa, iFileName,
   71|    198|        Alembic::Abc::ErrorHandler::kQuietNoopPolicy, m_cachePtr );
   72|       |
   73|    198|    if ( archive.valid() )
  ------------------
  |  Branch (73:10): [True: 54, False: 144]
  ------------------
   74|     54|    {
   75|     54|        oType = kOgawa;
   76|     54|        archive.getErrorHandler().setPolicy( m_policy );
   77|     54|        return archive;
   78|     54|    }
   79|       |
   80|       |#ifdef ALEMBIC_WITH_HDF5
   81|       |    Alembic::AbcCoreHDF5::ReadArchive hdf( m_cacheHierarchy );
   82|       |    archive = Alembic::Abc::IArchive( hdf, iFileName,
   83|       |        Alembic::Abc::ErrorHandler::kQuietNoopPolicy, m_cachePtr );
   84|       |    if ( archive.valid() )
   85|       |    {
   86|       |        oType = kHDF5;
   87|       |        archive.getErrorHandler().setPolicy( m_policy );
   88|       |        return archive;
   89|       |    }
   90|       |#else
   91|       |    // check the first 8 bytes to see if this is an HDF5 file according to
   92|       |    // www.hdfgroup.org/HDF5/doc/H5.format.html#Superblock
   93|    144|    std::ifstream filestream;
   94|    144|    filestream.open(iFileName.c_str(), std::ios::binary);
   95|       |
   96|    144|    if (filestream.is_open())
  ------------------
  |  Branch (96:9): [True: 144, False: 0]
  ------------------
   97|    144|    {
   98|    144|        char bf[8] = {0, 0, 0, 0, 0, 0, 0, 0};
   99|    144|        filestream.read(bf, 8);
  100|    144|        filestream.close();
  101|       |
  102|    144|        if (bf[0] == '\211' && bf[1] == 'H' && bf[2] == 'D' && bf[3] == 'F' &&
  ------------------
  |  Branch (102:13): [True: 0, False: 144]
  |  Branch (102:32): [True: 0, False: 0]
  |  Branch (102:48): [True: 0, False: 0]
  |  Branch (102:64): [True: 0, False: 0]
  ------------------
  103|      0|            bf[4] == '\r' && bf[5] == '\n' && bf[6] == '\032' && bf[7] == '\n')
  ------------------
  |  Branch (103:13): [True: 0, False: 0]
  |  Branch (103:30): [True: 0, False: 0]
  |  Branch (103:47): [True: 0, False: 0]
  |  Branch (103:66): [True: 0, False: 0]
  ------------------
  104|      0|        {
  105|      0|            oType = kHDF5;
  106|      0|            return Alembic::Abc::IArchive();
  107|      0|        }
  108|    144|    }
  109|    144|#endif
  110|       |
  111|    144|    oType = kUnknown;
  112|    144|    return Alembic::Abc::IArchive();
  113|    144|}
_ZN7Alembic14AbcCoreFactory3v128IFactory10getArchiveERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
  116|    198|{
  117|    198|    CoreType coreType;
  118|    198|    return getArchive( iFileName, coreType );
  119|    198|}

_ZN7Alembic12AbcCoreOgawa3v126ArImplC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEmb:
   50|    198|  : m_fileName( iFileName )
   51|    198|  , m_archive( iFileName, iNumStreams, iUseMMap )
   52|    198|  , m_header( new AbcA::ObjectHeader() )
   53|    198|  , m_manager( iNumStreams )
   54|    198|{
   55|    198|    ABCA_ASSERT( m_archive.isValid(),
  ------------------
  |  |   99|    198|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|    198|do                                              \
  |  |  101|    198|{                                               \
  |  |  102|    198|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 4, False: 194]
  |  |  ------------------
  |  |  103|    198|    {                                           \
  |  |  104|      4|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      4|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      4|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      4|do                                                    \
  |  |  |  |  |  |   89|      4|{                                                     \
  |  |  |  |  |  |   90|      4|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      4|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      4|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      4|    throw( exc );                                     \
  |  |  |  |  |  |   94|      4|}                                                     \
  |  |  |  |  |  |   95|      4|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      4|    }                                           \
  |  |  106|    198|}                                               \
  |  |  107|    198|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 194]
  |  |  ------------------
  ------------------
   56|    198|                 "Could not open as Ogawa file: " << m_fileName );
   57|       |
   58|    194|    ABCA_ASSERT( m_archive.isFrozen(),
  ------------------
  |  |   99|    194|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|    194|do                                              \
  |  |  101|    194|{                                               \
  |  |  102|    194|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 0, False: 194]
  |  |  ------------------
  |  |  103|    194|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|    194|}                                               \
  |  |  107|    194|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 194]
  |  |  ------------------
  ------------------
   59|    194|        "Ogawa file not cleanly closed while being written: " << m_fileName );
   60|       |
   61|    194|    init();
   62|    194|}
_ZN7Alembic12AbcCoreOgawa3v126ArImpl4initEv:
   81|    193|{
   82|    193|    Ogawa::IGroupPtr group = m_archive.getGroup();
   83|       |
   84|    193|    Util::int32_t version = -1;
   85|    193|    std::size_t numChildren = group->getNumChildren();
   86|       |
   87|    193|    if ( numChildren > 5 && group->isChildData( 0 ) &&
  ------------------
  |  Branch (87:10): [True: 193, False: 0]
  |  Branch (87:29): [True: 193, False: 0]
  ------------------
   88|    193|         group->isChildData( 1 ) && group->isChildGroup( 2 ) &&
  ------------------
  |  Branch (88:10): [True: 193, False: 0]
  |  Branch (88:37): [True: 193, False: 0]
  ------------------
   89|    193|         group->isChildData( 3 ) && group->isChildData( 4 ) &&
  ------------------
  |  Branch (89:10): [True: 193, False: 0]
  |  Branch (89:37): [True: 193, False: 0]
  ------------------
   90|    193|         group->isChildData( 5 ) )
  ------------------
  |  Branch (90:10): [True: 193, False: 0]
  ------------------
   91|    193|    {
   92|    193|        Ogawa::IDataPtr data = group->getData( 0, 0 );
   93|    193|        if ( data->getSize() == 4 )
  ------------------
  |  Branch (93:14): [True: 192, False: 1]
  ------------------
   94|    192|        {
   95|    192|            data->read( 4, &version, 0, 0 );
   96|    192|        }
   97|    193|    }
   98|      0|    else
   99|      0|    {
  100|      0|        ABCA_THROW( "Invalid Alembic file." );
  ------------------
  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|      0|    }
  102|       |
  103|    193|    ABCA_ASSERT( version >= 0 && version <= ALEMBIC_OGAWA_FILE_VERSION,
  ------------------
  |  |   99|    193|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|    193|do                                              \
  |  |  101|    193|{                                               \
  |  |  102|    385|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:13): [True: 192, False: 1]
  |  |  |  Branch (102:13): [True: 192, False: 0]
  |  |  ------------------
  |  |  103|    193|    {                                           \
  |  |  104|      1|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      1|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      1|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      1|do                                                    \
  |  |  |  |  |  |   89|      1|{                                                     \
  |  |  |  |  |  |   90|      1|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      1|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      1|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      1|    throw( exc );                                     \
  |  |  |  |  |  |   94|      1|}                                                     \
  |  |  |  |  |  |   95|      1|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      1|    }                                           \
  |  |  106|    193|}                                               \
  |  |  107|    193|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 192]
  |  |  ------------------
  ------------------
  104|    193|        "Unsupported file version detected: " << version );
  105|       |
  106|       |    // if it isn't there, something is wrong
  107|    192|    Util::int32_t fileVersion = 0;
  108|       |
  109|    192|    Ogawa::IDataPtr data = group->getData( 1, 0 );
  110|    192|    if ( data->getSize() == 4 )
  ------------------
  |  Branch (110:10): [True: 189, False: 3]
  ------------------
  111|    189|    {
  112|    189|        data->read( 4, &fileVersion, 0, 0 );
  113|    189|    }
  114|       |
  115|    192|    ABCA_ASSERT( fileVersion >= 9999,
  ------------------
  |  |   99|    192|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|    192|do                                              \
  |  |  101|    192|{                                               \
  |  |  102|    192|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 3, False: 189]
  |  |  ------------------
  |  |  103|    192|    {                                           \
  |  |  104|      3|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      3|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      3|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      3|do                                                    \
  |  |  |  |  |  |   89|      3|{                                                     \
  |  |  |  |  |  |   90|      3|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      3|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      3|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      3|    throw( exc );                                     \
  |  |  |  |  |  |   94|      3|}                                                     \
  |  |  |  |  |  |   95|      3|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      3|    }                                           \
  |  |  106|    192|}                                               \
  |  |  107|    192|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 189]
  |  |  ------------------
  ------------------
  116|    192|        "Unsupported Alembic version detected: " << fileVersion );
  117|       |
  118|    189|    m_archiveVersion = fileVersion;
  119|       |
  120|    189|    ReadTimeSamplesAndMax( group->getData( 4, 0 ),
  121|    189|                           m_timeSamples, m_maxSamples );
  122|       |
  123|    189|    ReadIndexedMetaData( group->getData( 5, 0 ), m_indexMetaData );
  124|       |
  125|    189|    m_data = Alembic::Util::shared_ptr < OrData >( new OrData(
  126|    189|        group->getGroup( 2, false, 0 ), "", 0, *this,
  127|    189|        m_indexMetaData ) );
  128|       |
  129|    189|    m_header->setName( "ABC" );
  130|    189|    m_header->setFullName( "/" );
  131|       |
  132|       |    // read archive metadata
  133|    189|    data = group->getData( 3, 0 );
  134|    189|    if ( data->getSize() > 0 )
  ------------------
  |  Branch (134:10): [True: 60, False: 129]
  ------------------
  135|     60|    {
  136|     60|        std::string metaData(data->getSize(), 0);
  137|     60|        data->read( data->getSize(), &(metaData[0]), 0, 0 );
  138|     60|        m_header->getMetaData().deserialize( metaData );
  139|     60|    }
  140|       |
  141|    189|}
_ZNK7Alembic12AbcCoreOgawa3v126ArImpl7getNameEv:
  145|     54|{
  146|     54|    return m_fileName;
  147|     54|}
_ZN7Alembic12AbcCoreOgawa3v126ArImpl6getTopEv:
  157|     54|{
  158|     54|    Alembic::Util::scoped_lock l( m_orlock );
  159|       |
  160|     54|    AbcA::ObjectReaderPtr ret = m_top.lock();
  161|     54|    if ( ! ret )
  ------------------
  |  Branch (161:10): [True: 54, False: 0]
  ------------------
  162|     54|    {
  163|       |        // time to make a new one
  164|     54|        ret = Alembic::Util::shared_ptr<OrImpl>(
  165|     54|            new OrImpl( shared_from_this(), m_data, m_header ) );
  166|     54|        m_top = ret;
  167|     54|    }
  168|       |
  169|     54|    return ret;
  170|     54|}
_ZN7Alembic12AbcCoreOgawa3v126ArImpl15getTimeSamplingEj:
  174|  9.86k|{
  175|  9.86k|    ABCA_ASSERT( iIndex < m_timeSamples.size(),
  ------------------
  |  |   99|  9.86k|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|  9.86k|do                                              \
  |  |  101|  9.86k|{                                               \
  |  |  102|  9.86k|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 4, False: 9.85k]
  |  |  ------------------
  |  |  103|  9.86k|    {                                           \
  |  |  104|      4|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      4|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      4|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      4|do                                                    \
  |  |  |  |  |  |   89|      4|{                                                     \
  |  |  |  |  |  |   90|      4|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      4|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      4|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      4|    throw( exc );                                     \
  |  |  |  |  |  |   94|      4|}                                                     \
  |  |  |  |  |  |   95|      4|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      4|    }                                           \
  |  |  106|  9.86k|}                                               \
  |  |  107|  9.86k|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 9.85k]
  |  |  ------------------
  ------------------
  176|  9.86k|        "Invalid index provided to getTimeSampling." );
  177|       |
  178|  9.85k|    return m_timeSamples[iIndex];
  179|  9.86k|}
_ZN7Alembic12AbcCoreOgawa3v126ArImplD2Ev:
  207|     54|{
  208|     54|}

_ZN7Alembic12AbcCoreOgawa3v127CprDataC2ENSt3__110shared_ptrINS_5Ogawa3v126IGroupEEEmRNS_15AbcCoreAbstract3v1213ArchiveReaderERKNS3_6vectorINSA_8MetaDataENS3_9allocatorISE_EEEE:
   54|     49|    : m_propertyHeaders( NULL )
   55|     49|{
   56|     49|    ABCA_ASSERT( iGroup, "invalid compound data group" );
  ------------------
  |  |   99|     49|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|     49|do                                              \
  |  |  101|     49|{                                               \
  |  |  102|     49|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 0, False: 49]
  |  |  ------------------
  |  |  103|     49|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|     49|}                                               \
  |  |  107|     49|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 49]
  |  |  ------------------
  ------------------
   57|       |
   58|     49|    m_group = iGroup;
   59|       |
   60|     49|    std::size_t numChildren = m_group->getNumChildren();
   61|       |
   62|     49|    if ( numChildren > 0 && m_group->isChildData( numChildren - 1 ) )
  ------------------
  |  Branch (62:10): [True: 48, False: 1]
  |  Branch (62:29): [True: 48, False: 0]
  ------------------
   63|     48|    {
   64|     48|        PropertyHeaderPtrs headers;
   65|     48|        ReadPropertyHeaders( m_group, numChildren - 1, iThreadId,
   66|     48|                             iArchive, iIndexedMetaData, headers );
   67|       |
   68|     48|        m_propertyHeaders = new SubProperty[ headers.size() ];
   69|  1.66k|        for ( std::size_t i = 0; i < headers.size(); ++i )
  ------------------
  |  Branch (69:34): [True: 1.62k, False: 48]
  ------------------
   70|  1.62k|        {
   71|  1.62k|            m_subProperties[headers[i]->header.getName()] = i;
   72|  1.62k|            m_propertyHeaders[i].header = headers[i];
   73|  1.62k|        }
   74|     48|    }
   75|     49|}
_ZN7Alembic12AbcCoreOgawa3v127CprDataD2Ev:
   79|     12|{
   80|     12|    delete [] m_propertyHeaders;
   81|     12|}

_ZN7Alembic12AbcCoreOgawa3v1224PropertyHeaderAndFriendsC2Ev:
   82|  12.4k|    {
   83|  12.4k|        isScalarLike = true;
   84|  12.4k|        isHomogenous = true;
   85|  12.4k|        nextSampleIndex = 0;
   86|  12.4k|        firstChangedIndex = 0;
   87|  12.4k|        lastChangedIndex = 0;
   88|  12.4k|        timeSamplingIndex = 0;
   89|  12.4k|    }

_ZN7Alembic12AbcCoreOgawa3v126OrDataC2ENSt3__110shared_ptrINS_5Ogawa3v126IGroupEEERKNS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEmRNS_15AbcCoreAbstract3v1213ArchiveReaderERKNS3_6vectorINSI_8MetaDataENSC_ISM_EEEE:
   53|    167|{
   54|    167|    ABCA_ASSERT( iGroup, "Invalid object data group" );
  ------------------
  |  |   99|    167|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|    167|do                                              \
  |  |  101|    167|{                                               \
  |  |  102|    167|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 0, False: 167]
  |  |  ------------------
  |  |  103|    167|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|    167|}                                               \
  |  |  107|    167|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 167]
  |  |  ------------------
  ------------------
   55|       |
   56|    167|    m_group = iGroup;
   57|       |
   58|    167|    std::size_t numChildren = m_group->getNumChildren();
   59|       |
   60|    167|    if ( numChildren > 0 && m_group->isChildData( numChildren - 1 ) )
  ------------------
  |  Branch (60:10): [True: 107, False: 60]
  |  Branch (60:29): [True: 58, False: 49]
  ------------------
   61|     58|    {
   62|     58|        std::vector< ObjectHeaderPtr > headers;
   63|     58|        ReadObjectHeaders( m_group, numChildren - 1, iThreadId,
   64|     58|                           iParentName, iIndexedMetaData, headers );
   65|       |
   66|     58|        if ( !headers.empty() )
  ------------------
  |  Branch (66:14): [True: 7, False: 51]
  ------------------
   67|      7|        {
   68|      7|            m_children = Alembic::Util::unique_ptr< Child[] > (
   69|      7|                new Child[ headers.size() ] );
   70|      7|        }
   71|       |
   72|     72|        for ( std::size_t i = 0; i < headers.size(); ++i )
  ------------------
  |  Branch (72:34): [True: 14, False: 58]
  ------------------
   73|     14|        {
   74|     14|            m_childrenMap[headers[i]->getName()] = i;
   75|     14|            m_children[i].header = headers[i];
   76|     14|        }
   77|     58|    }
   78|       |
   79|    167|    if ( numChildren > 0 && m_group->isChildGroup( 0 ) )
  ------------------
  |  Branch (79:10): [True: 56, False: 111]
  |  Branch (79:29): [True: 55, False: 1]
  ------------------
   80|     55|    {
   81|     55|        Ogawa::IGroupPtr group = m_group->getGroup( 0, false, iThreadId );
   82|     55|        m_data = Alembic::Util::shared_ptr<CprData>(
   83|     55|            new CprData( group, iThreadId, iArchive, iIndexedMetaData ) );
   84|     55|    }
   85|    167|}
_ZN7Alembic12AbcCoreOgawa3v126OrDataD2Ev:
   89|     73|{
   90|     73|}
_ZN7Alembic12AbcCoreOgawa3v126OrData14getNumChildrenEv:
  112|     54|{
  113|     54|    return m_childrenMap.size();
  114|     54|}

_ZN7Alembic12AbcCoreOgawa3v126OrImplC2ENSt3__110shared_ptrINS1_6ArImplEEENS4_INS1_6OrDataEEENS4_INS_15AbcCoreAbstract3v1212ObjectHeaderEEE:
   79|     54|    : m_archive( iArchive )
   80|     54|    , m_data( iData )
   81|     54|    , m_header( iHeader )
   82|     54|{
   83|       |
   84|     54|    ABCA_ASSERT( m_archive, "Invalid archive in OrImpl(Archive)" );
  ------------------
  |  |   99|     54|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|     54|do                                              \
  |  |  101|     54|{                                               \
  |  |  102|     54|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 0, False: 54]
  |  |  ------------------
  |  |  103|     54|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|     54|}                                               \
  |  |  107|     54|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 54]
  |  |  ------------------
  ------------------
   85|     54|    ABCA_ASSERT( m_data, "Invalid data in OrImpl(Archive)" );
  ------------------
  |  |   99|     54|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|     54|do                                              \
  |  |  101|     54|{                                               \
  |  |  102|     54|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 0, False: 54]
  |  |  ------------------
  |  |  103|     54|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|     54|}                                               \
  |  |  107|     54|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 54]
  |  |  ------------------
  ------------------
   86|     54|    ABCA_ASSERT( m_header, "Invalid header in OrImpl(Archive)" );
  ------------------
  |  |   99|     54|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|     54|do                                              \
  |  |  101|     54|{                                               \
  |  |  102|     54|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 0, False: 54]
  |  |  ------------------
  |  |  103|     54|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|     54|}                                               \
  |  |  107|     54|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 54]
  |  |  ------------------
  ------------------
   87|     54|}
_ZN7Alembic12AbcCoreOgawa3v126OrImplD2Ev:
   91|     54|{
   92|       |    // Nothing.
   93|     54|}
_ZNK7Alembic12AbcCoreOgawa3v126OrImpl9getHeaderEv:
   97|    108|{
   98|    108|    return *m_header;
   99|    108|}
_ZN7Alembic12AbcCoreOgawa3v126OrImpl14getNumChildrenEv:
  121|     54|{
  122|     54|    return m_data->getNumChildren();
  123|     54|}

_ZN7Alembic12AbcCoreOgawa3v1221ReadTimeSamplesAndMaxENSt3__110shared_ptrINS_5Ogawa3v125IDataEEERNS2_6vectorINS3_INS_15AbcCoreAbstract3v1212TimeSamplingEEENS2_9allocatorISC_EEEERNS8_IlNSD_IlEEEE:
 1494|    189|{
 1495|    189|    std::vector< char > buf( iData->getSize() );
 1496|    189|    if ( buf.empty() )
  ------------------
  |  Branch (1496:10): [True: 106, False: 83]
  ------------------
 1497|    106|    {
 1498|    106|        return;
 1499|    106|    }
 1500|       |
 1501|     83|    iData->read( iData->getSize(), &( buf.front() ), 0, 0 );
 1502|     83|    std::size_t pos = 0;
 1503|     83|    std::size_t bufSize = buf.size();
 1504|    165|    while ( pos < bufSize )
  ------------------
  |  Branch (1504:13): [True: 84, False: 81]
  ------------------
 1505|     84|    {
 1506|       |        // make sure maxSample, tpc, and numSamples
 1507|       |        // don't go beyond our buffer
 1508|     84|        if ( pos + 8 + sizeof( chrono_t ) > bufSize)
  ------------------
  |  Branch (1508:14): [True: 0, False: 84]
  ------------------
 1509|      0|        {
 1510|      0|            ABCA_THROW("Read invalid: TimeSamples info.");
  ------------------
  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1511|      0|        }
 1512|       |
 1513|     84|        Util::uint32_t maxSample = DerefUnaligned<Util::uint32_t>(&buf[pos]);
 1514|     84|        pos += 4;
 1515|       |
 1516|     84|        oMaxSamples.push_back( maxSample );
 1517|       |
 1518|     84|        chrono_t tpc = DerefUnaligned<chrono_t>(&buf[pos]);
 1519|     84|        pos += sizeof( chrono_t );
 1520|       |
 1521|     84|        Util::uint32_t numSamples = DerefUnaligned<Util::uint32_t>(&buf[pos]);
 1522|     84|        pos += 4;
 1523|       |
 1524|       |        // make sure our numSamples don't go beyond the buffer and that we
 1525|       |        // have at least 1 of them
 1526|     84|        if ( numSamples < 1 || pos + sizeof( chrono_t ) * numSamples > bufSize)
  ------------------
  |  Branch (1526:14): [True: 2, False: 82]
  |  Branch (1526:32): [True: 0, False: 82]
  ------------------
 1527|      2|        {
 1528|      2|            ABCA_THROW("Read invalid: TimeSamples sample times.");
  ------------------
  |  |   96|      2|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      2|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      2|do                                                    \
  |  |  |  |   89|      2|{                                                     \
  |  |  |  |   90|      2|    std::stringstream sstr;                           \
  |  |  |  |   91|      2|    sstr << TEXT;                                     \
  |  |  |  |   92|      2|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      2|    throw( exc );                                     \
  |  |  |  |   94|      2|}                                                     \
  |  |  |  |   95|      2|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1529|      2|        }
 1530|       |
 1531|     82|        std::vector< chrono_t > sampleTimes( numSamples );
 1532|     82|        memcpy( &( sampleTimes.front() ), &buf[pos],
 1533|     82|                sizeof( chrono_t ) * numSamples );
 1534|     82|        pos += sizeof( chrono_t ) * numSamples;
 1535|       |
 1536|     82|        AbcA::TimeSamplingType::AcyclicFlag acf =
 1537|     82|            AbcA::TimeSamplingType::kAcyclic;
 1538|       |
 1539|     82|        AbcA::TimeSamplingType tst( acf );
 1540|     82|        if ( tpc != AbcA::TimeSamplingType::AcyclicTimePerCycle() )
  ------------------
  |  Branch (1540:14): [True: 82, False: 0]
  ------------------
 1541|     82|        {
 1542|     82|            tst = AbcA::TimeSamplingType( numSamples, tpc );
 1543|     82|        }
 1544|       |
 1545|     82|        AbcA::TimeSamplingPtr tptr(
 1546|     82|            new AbcA::TimeSampling( tst, sampleTimes ) );
 1547|       |
 1548|     82|        oTimeSamples.push_back( tptr );
 1549|     82|    }
 1550|     83|}
_ZN7Alembic12AbcCoreOgawa3v1217ReadObjectHeadersENSt3__110shared_ptrINS_5Ogawa3v126IGroupEEEmmRKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERKNS2_6vectorINS_15AbcCoreAbstract3v128MetaDataENSB_ISJ_EEEERNSG_INS3_INSI_12ObjectHeaderEEENSB_ISP_EEEE:
 1560|     58|{
 1561|     58|    Ogawa::IDataPtr data = iGroup->getData( iIndex, iThreadId );
 1562|     58|    ABCA_ASSERT( data, "ReadObjectHeaders Invalid data at index " << iIndex );
  ------------------
  |  |   99|     58|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|     58|do                                              \
  |  |  101|     58|{                                               \
  |  |  102|     58|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 0, False: 58]
  |  |  ------------------
  |  |  103|     58|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|     58|}                                               \
  |  |  107|     58|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 58]
  |  |  ------------------
  ------------------
 1563|       |
 1564|     58|    if ( data->getSize() <= 32 )
  ------------------
  |  Branch (1564:10): [True: 0, False: 58]
  ------------------
 1565|      0|    {
 1566|      0|        return;
 1567|      0|    }
 1568|       |
 1569|       |    // skip the last 32 bytes which contains the hashes
 1570|     58|    std::vector< char > buf( data->getSize() - 32 );
 1571|     58|    if ( buf.empty() )
  ------------------
  |  Branch (1571:10): [True: 0, False: 58]
  ------------------
 1572|      0|    {
 1573|      0|        return;
 1574|      0|    }
 1575|       |
 1576|     58|    std::size_t bufSize = buf.size();
 1577|     58|    data->read( bufSize, &( buf.front() ), 0, iThreadId );
 1578|     58|    std::size_t pos = 0;
 1579|    129|    while ( pos < bufSize )
  ------------------
  |  Branch (1579:13): [True: 110, False: 19]
  ------------------
 1580|    110|    {
 1581|    110|        if (pos + 4 > bufSize)
  ------------------
  |  Branch (1581:13): [True: 0, False: 110]
  ------------------
 1582|      0|        {
 1583|      0|            ABCA_THROW("Read invalid: Object Headers name size.");
  ------------------
  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1584|      0|        }
 1585|       |
 1586|    110|        Util::uint32_t nameSize = DerefUnaligned<Util::uint32_t>(&buf[pos]);
 1587|    110|        pos += 4;
 1588|       |
 1589|    110|        if (nameSize == 0 || pos + nameSize + 1 > bufSize)
  ------------------
  |  Branch (1589:13): [True: 24, False: 86]
  |  Branch (1589:30): [True: 13, False: 73]
  ------------------
 1590|     37|        {
 1591|     37|            ABCA_THROW("Read invalid: Object Headers name and MetaData index.");
  ------------------
  |  |   96|     37|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|     37|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|     37|do                                                    \
  |  |  |  |   89|     37|{                                                     \
  |  |  |  |   90|     37|    std::stringstream sstr;                           \
  |  |  |  |   91|     37|    sstr << TEXT;                                     \
  |  |  |  |   92|     37|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|     37|    throw( exc );                                     \
  |  |  |  |   94|     37|}                                                     \
  |  |  |  |   95|     37|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|     37|        }
 1593|       |
 1594|     73|        std::string name( &buf[pos], nameSize );
 1595|     73|        pos += nameSize;
 1596|       |
 1597|     73|        Util::uint8_t metaDataIndex = buf[pos++];
 1598|       |
 1599|     73|        ObjectHeaderPtr objPtr( new AbcA::ObjectHeader() );
 1600|     73|        objPtr->setName( name );
 1601|     73|        objPtr->setFullName( iParentName + "/" + name );
 1602|       |
 1603|     73|        if ( metaDataIndex == 0xff )
  ------------------
  |  Branch (1603:14): [True: 52, False: 21]
  ------------------
 1604|     52|        {
 1605|     52|            if (pos + 4 > bufSize)
  ------------------
  |  Branch (1605:17): [True: 0, False: 52]
  ------------------
 1606|      0|            {
 1607|      0|                ABCA_THROW("Read invalid: Object Headers MetaData size.");
  ------------------
  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|      0|            }
 1609|       |
 1610|     52|            Util::uint32_t metaDataSize = DerefUnaligned<Util::uint32_t>(&buf[pos]);
 1611|     52|            pos += 4;
 1612|       |
 1613|     52|            if (pos + metaDataSize > bufSize)
  ------------------
  |  Branch (1613:17): [True: 2, False: 50]
  ------------------
 1614|      2|            {
 1615|      2|                ABCA_THROW("Read invalid: Object Headers MetaData string.");
  ------------------
  |  |   96|      2|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      2|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      2|do                                                    \
  |  |  |  |   89|      2|{                                                     \
  |  |  |  |   90|      2|    std::stringstream sstr;                           \
  |  |  |  |   91|      2|    sstr << TEXT;                                     \
  |  |  |  |   92|      2|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      2|    throw( exc );                                     \
  |  |  |  |   94|      2|}                                                     \
  |  |  |  |   95|      2|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1616|      2|            }
 1617|       |
 1618|     50|            std::string metaData( &buf[pos], metaDataSize );
 1619|     50|            pos += metaDataSize;
 1620|       |
 1621|     50|            objPtr->getMetaData().deserialize( metaData );
 1622|     50|        }
 1623|     21|        else if ( metaDataIndex < iMetaDataVec.size() )
  ------------------
  |  Branch (1623:19): [True: 21, False: 0]
  ------------------
 1624|     21|        {
 1625|     21|            objPtr->getMetaData() = iMetaDataVec[metaDataIndex];
 1626|     21|        }
 1627|      0|        else
 1628|      0|        {
 1629|      0|            ABCA_THROW("Read invalid: Object Headers MetaData index.");
  ------------------
  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|      0|        }
 1631|       |
 1632|       |
 1633|     71|        oHeaders.push_back( objPtr );
 1634|     71|    }
 1635|     58|}
_ZN7Alembic12AbcCoreOgawa3v1217GetUint32WithHintERKNSt3__16vectorIcNS2_9allocatorIcEEEEmjRm:
 1642|  29.7k|{
 1643|  29.7k|    Util::uint32_t retVal = 0;
 1644|       |
 1645|  29.7k|    if ( iSizeHint == 0 && ioPos + 1 <= iBufSize )
  ------------------
  |  Branch (1645:10): [True: 28.0k, False: 1.74k]
  |  Branch (1645:28): [True: 28.0k, False: 1]
  ------------------
 1646|  28.0k|    {
 1647|  28.0k|        retVal = ( Util::uint32_t ) ( ( Util::uint8_t ) iBuf[ioPos] );
 1648|  28.0k|        ioPos ++;
 1649|  28.0k|    }
 1650|  1.74k|    else if ( iSizeHint == 1 && ioPos + 2 <= iBufSize )
  ------------------
  |  Branch (1650:15): [True: 1.49k, False: 254]
  |  Branch (1650:33): [True: 1.49k, False: 0]
  ------------------
 1651|  1.49k|    {
 1652|  1.49k|        retVal = ( Util::uint32_t )( *( (Util::uint16_t *)( &iBuf[ioPos] ) ) );
 1653|  1.49k|        ioPos += 2;
 1654|  1.49k|    }
 1655|    254|    else if ( iSizeHint == 2 && ioPos + 4 <= iBufSize )
  ------------------
  |  Branch (1655:15): [True: 249, False: 5]
  |  Branch (1655:33): [True: 249, False: 0]
  ------------------
 1656|    249|    {
 1657|    249|        retVal = *( ( Util::uint32_t * )( &iBuf[ioPos] ) );
 1658|    249|        ioPos += 4;
 1659|    249|    }
 1660|      5|    else
 1661|      5|    {
 1662|      5|        ABCA_THROW("Read invalid: Property Header bad uint32 hint.");
  ------------------
  |  |   96|      5|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      5|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      5|do                                                    \
  |  |  |  |   89|      5|{                                                     \
  |  |  |  |   90|      5|    std::stringstream sstr;                           \
  |  |  |  |   91|      5|    sstr << TEXT;                                     \
  |  |  |  |   92|      5|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      5|    throw( exc );                                     \
  |  |  |  |   94|      5|}                                                     \
  |  |  |  |   95|      5|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|      5|    }
 1664|       |
 1665|  29.7k|    return retVal;
 1666|  29.7k|}
_ZN7Alembic12AbcCoreOgawa3v1219ReadPropertyHeadersENSt3__110shared_ptrINS_5Ogawa3v126IGroupEEEmmRNS_15AbcCoreAbstract3v1213ArchiveReaderERKNS2_6vectorINS9_8MetaDataENS2_9allocatorISD_EEEERNSC_INS3_INS1_24PropertyHeaderAndFriendsEEENSE_ISK_EEEE:
 1676|     48|{
 1677|       |
 1678|       |    // Our bitmasks look like this:
 1679|       |    //
 1680|       |    // Property Type mask (Scalar, Array, or Compound) 0x0003
 1681|       |    // 0000 0000 0000 0000 0000 0000 0000 0011
 1682|       |    //
 1683|       |    // Our Pod type mask 0x003c
 1684|       |    // 0000 0000 0000 0000 0000 0000 0011 1100
 1685|       |    //
 1686|       |    // Has a time sampling index mask 0x0040
 1687|       |    // 0000 0000 0000 0000 0000 0000 0100 0000
 1688|       |    //
 1689|       |    // no repeats mask 0x0080
 1690|       |    // 0000 0000 0000 0000 0000 0000 1000 0000
 1691|       |    //
 1692|       |    // Extent value mask 0xff00
 1693|       |    // 0000 0000 0000 0000 1111 1111 0000 0000
 1694|       |    //
 1695|       |    // Our bitmasks look like this:
 1696|       |    //
 1697|       |    // Property Type mask (Scalar, Array, or Compound) 0x0003
 1698|       |    // 0000 0000 0000 0000 0000 0000 0000 0011
 1699|       |    //
 1700|       |    // Byte size hint for first/last non repeated sample 0x000c
 1701|       |    // 0000 0000 0000 0000 0000 0000 0000 1100
 1702|       |    //
 1703|       |    // Our Pod type mask 0x00f0
 1704|       |    // 0000 0000 0000 0000 0000 0000 1111 0000
 1705|       |    //
 1706|       |    // Has a time sampling index mask 0x0100
 1707|       |    // 0000 0000 0000 0000 0000 0001 0000 0000
 1708|       |    //
 1709|       |    // Whether the first/last index exists mask 0x200
 1710|       |    // 0000 0000 0000 0000 0000 0010 0000 0000
 1711|       |    //
 1712|       |    // Whether the size of the data changes from sample to sample mask 0x400
 1713|       |    // 0000 0000 0000 0000 0000 0100 0000 0000
 1714|       |    //
 1715|       |    // Mask for whether the data is the same over all samples 0x800
 1716|       |    // 0000 0000 0000 0000 0000 1000 0000 0000
 1717|       |    //
 1718|       |    // Extent value mask 0xff000
 1719|       |    // 0000 0000 0000 1111 1111 0000 0000 0000
 1720|       |    //
 1721|       |    // Meta data index mask 0xff00000
 1722|       |    // 0000 1111 1111 0000 0000 0000 0000 0000
 1723|       |
 1724|     48|    Ogawa::IDataPtr data = iGroup->getData( iIndex, iThreadId );
 1725|     48|    ABCA_ASSERT( data, "ReadObjectHeaders Invalid data at index " << iIndex );
  ------------------
  |  |   99|     48|#define ABCA_ASSERT( COND, TEXT )               \
  |  |  100|     48|do                                              \
  |  |  101|     48|{                                               \
  |  |  102|     48|    if ( !( COND ) )                            \
  |  |  ------------------
  |  |  |  Branch (102:10): [True: 0, False: 48]
  |  |  ------------------
  |  |  103|     48|    {                                           \
  |  |  104|      0|        ABCA_THROW( TEXT );                     \
  |  |  ------------------
  |  |  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |  |  |   88|      0|do                                                    \
  |  |  |  |  |  |   89|      0|{                                                     \
  |  |  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |  |  |   94|      0|}                                                     \
  |  |  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|      0|    }                                           \
  |  |  106|     48|}                                               \
  |  |  107|     48|while( 0 )
  |  |  ------------------
  |  |  |  Branch (107:8): [Folded, False: 48]
  |  |  ------------------
  ------------------
 1726|       |
 1727|     48|    if ( data->getSize() == 0 )
  ------------------
  |  Branch (1727:10): [True: 1, False: 47]
  ------------------
 1728|      1|    {
 1729|      1|        return;
 1730|      1|    }
 1731|       |
 1732|     47|    std::vector< char > buf( data->getSize() );
 1733|     47|    data->read( data->getSize(), &( buf.front() ), 0, iThreadId );
 1734|     47|    std::size_t pos = 0;
 1735|     47|    std::size_t bufSize = buf.size();
 1736|  12.4k|    while ( pos < bufSize )
  ------------------
  |  Branch (1736:13): [True: 12.4k, False: 12]
  ------------------
 1737|  12.4k|    {
 1738|  12.4k|        PropertyHeaderPtr header( new PropertyHeaderAndFriends() );
 1739|       |
 1740|  12.4k|        if (pos + 4 > bufSize)
  ------------------
  |  Branch (1740:13): [True: 7, False: 12.4k]
  ------------------
 1741|      7|        {
 1742|      7|            ABCA_THROW("Read invalid: Property header start.");
  ------------------
  |  |   96|      7|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      7|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      7|do                                                    \
  |  |  |  |   89|      7|{                                                     \
  |  |  |  |   90|      7|    std::stringstream sstr;                           \
  |  |  |  |   91|      7|    sstr << TEXT;                                     \
  |  |  |  |   92|      7|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      7|    throw( exc );                                     \
  |  |  |  |   94|      7|}                                                     \
  |  |  |  |   95|      7|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1743|      7|        }
 1744|       |
 1745|       |        // first 4 bytes is always info
 1746|  12.4k|        Util::uint32_t info = DerefUnaligned<Util::uint32_t>(&buf[pos]);
 1747|  12.4k|        pos += 4;
 1748|       |
 1749|  12.4k|        Util::uint32_t ptype = info & 0x0003;
 1750|  12.4k|        header->isScalarLike = ptype & 1;
 1751|  12.4k|        if ( ptype == 0 )
  ------------------
  |  Branch (1751:14): [True: 2.56k, False: 9.86k]
  ------------------
 1752|  2.56k|        {
 1753|  2.56k|            header->header.setPropertyType( AbcA::kCompoundProperty );
 1754|  2.56k|        }
 1755|  9.86k|        else if ( ptype == 1 )
  ------------------
  |  Branch (1755:19): [True: 4.73k, False: 5.13k]
  ------------------
 1756|  4.73k|        {
 1757|  4.73k|            header->header.setPropertyType( AbcA::kScalarProperty );
 1758|  4.73k|        }
 1759|  5.13k|        else
 1760|  5.13k|        {
 1761|  5.13k|            header->header.setPropertyType( AbcA::kArrayProperty );
 1762|  5.13k|        }
 1763|       |
 1764|  12.4k|        Util::uint32_t sizeHint = ( info & 0x000c ) >> 2;
 1765|       |
 1766|       |        // if we aren't a compound we may need to do a bunch of other work
 1767|  12.4k|        if ( !header->header.isCompound() )
  ------------------
  |  Branch (1767:14): [True: 9.86k, False: 2.56k]
  ------------------
 1768|  9.86k|        {
 1769|       |            // Read the pod type out of bits 4-7
 1770|  9.86k|            char podt = ( char )( ( info &  0x00f0 ) >> 4 );
 1771|  9.86k|            if ( podt != ( char )Alembic::Util::kBooleanPOD &&
  ------------------
  |  Branch (1771:18): [True: 7.42k, False: 2.44k]
  ------------------
 1772|  7.42k|                 podt != ( char )Alembic::Util::kUint8POD &&
  ------------------
  |  Branch (1772:18): [True: 6.32k, False: 1.10k]
  ------------------
 1773|  6.32k|                 podt != ( char )Alembic::Util::kInt8POD &&
  ------------------
  |  Branch (1773:18): [True: 5.92k, False: 404]
  ------------------
 1774|  5.92k|                 podt != ( char )Alembic::Util::kUint16POD &&
  ------------------
  |  Branch (1774:18): [True: 3.33k, False: 2.58k]
  ------------------
 1775|  3.33k|                 podt != ( char )Alembic::Util::kInt16POD &&
  ------------------
  |  Branch (1775:18): [True: 3.26k, False: 73]
  ------------------
 1776|  3.26k|                 podt != ( char )Alembic::Util::kUint32POD &&
  ------------------
  |  Branch (1776:18): [True: 3.06k, False: 195]
  ------------------
 1777|  3.06k|                 podt != ( char )Alembic::Util::kInt32POD &&
  ------------------
  |  Branch (1777:18): [True: 3.04k, False: 20]
  ------------------
 1778|  3.04k|                 podt != ( char )Alembic::Util::kUint64POD &&
  ------------------
  |  Branch (1778:18): [True: 2.95k, False: 95]
  ------------------
 1779|  2.95k|                 podt != ( char )Alembic::Util::kInt64POD &&
  ------------------
  |  Branch (1779:18): [True: 2.41k, False: 536]
  ------------------
 1780|  2.41k|                 podt != ( char )Alembic::Util::kFloat16POD &&
  ------------------
  |  Branch (1780:18): [True: 763, False: 1.65k]
  ------------------
 1781|    763|                 podt != ( char )Alembic::Util::kFloat32POD &&
  ------------------
  |  Branch (1781:18): [True: 677, False: 86]
  ------------------
 1782|    677|                 podt != ( char )Alembic::Util::kFloat64POD &&
  ------------------
  |  Branch (1782:18): [True: 504, False: 173]
  ------------------
 1783|    504|                 podt != ( char )Alembic::Util::kStringPOD &&
  ------------------
  |  Branch (1783:18): [True: 131, False: 373]
  ------------------
 1784|    131|                 podt != ( char )Alembic::Util::kWstringPOD )
  ------------------
  |  Branch (1784:18): [True: 4, False: 127]
  ------------------
 1785|      4|            {
 1786|      4|                ABCA_THROW(
  ------------------
  |  |   96|      4|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      4|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      4|do                                                    \
  |  |  |  |   89|      4|{                                                     \
  |  |  |  |   90|      4|    std::stringstream sstr;                           \
  |  |  |  |   91|      4|    sstr << TEXT;                                     \
  |  |  |  |   92|      4|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      4|    throw( exc );                                     \
  |  |  |  |   94|      4|}                                                     \
  |  |  |  |   95|      4|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|      4|                    "Read invalid POD type: " << ( Util::int32_t )podt );
 1788|      4|            }
 1789|       |
 1790|  9.86k|            Util::uint8_t extent = ( info & 0xff000 ) >> 12;
 1791|  9.86k|            header->header.setDataType( AbcA::DataType(
 1792|  9.86k|                ( Util::PlainOldDataType ) podt, extent ) );
 1793|       |
 1794|  9.86k|            header->isHomogenous = ( info & 0x400 ) != 0;
 1795|       |
 1796|  9.86k|            header->nextSampleIndex = GetUint32WithHint( buf, bufSize, sizeHint, pos );
 1797|       |
 1798|  9.86k|            if ( ( info & 0x0200 ) != 0 )
  ------------------
  |  Branch (1798:18): [True: 1.04k, False: 8.81k]
  ------------------
 1799|  1.04k|            {
 1800|  1.04k|                header->firstChangedIndex =
 1801|  1.04k|                    GetUint32WithHint( buf, bufSize, sizeHint, pos );
 1802|       |
 1803|  1.04k|                header->lastChangedIndex =
 1804|  1.04k|                    GetUint32WithHint( buf, bufSize, sizeHint, pos );
 1805|  1.04k|            }
 1806|  8.81k|            else if ( ( info & 0x800 ) != 0 )
  ------------------
  |  Branch (1806:23): [True: 1.47k, False: 7.34k]
  ------------------
 1807|  1.47k|            {
 1808|  1.47k|                header->firstChangedIndex = 0;
 1809|  1.47k|                header->lastChangedIndex = 0;
 1810|  1.47k|            }
 1811|  7.34k|            else
 1812|  7.34k|            {
 1813|  7.34k|                header->firstChangedIndex = 1;
 1814|  7.34k|                header->lastChangedIndex = header->nextSampleIndex - 1;
 1815|  7.34k|            }
 1816|       |
 1817|  9.86k|            if ( ( info & 0x0100 ) != 0 )
  ------------------
  |  Branch (1817:18): [True: 4.00k, False: 5.86k]
  ------------------
 1818|  4.00k|            {
 1819|  4.00k|                header->timeSamplingIndex =
 1820|  4.00k|                    GetUint32WithHint( buf, bufSize, sizeHint, pos );
 1821|       |
 1822|  4.00k|                header->header.setTimeSampling(
 1823|  4.00k|                    iArchive.getTimeSampling( header->timeSamplingIndex ) );
 1824|  4.00k|            }
 1825|  5.86k|            else
 1826|  5.86k|            {
 1827|  5.86k|                header->header.setTimeSampling( iArchive.getTimeSampling( 0 ) );
 1828|  5.86k|            }
 1829|  9.86k|        }
 1830|       |
 1831|  12.4k|        Util::uint32_t nameSize = GetUint32WithHint( buf, bufSize, sizeHint, pos );
 1832|  12.4k|        if ( nameSize == 0 || pos + nameSize > bufSize )
  ------------------
  |  Branch (1832:14): [True: 18, False: 12.4k]
  |  Branch (1832:31): [True: 1, False: 12.4k]
  ------------------
 1833|     11|        {
 1834|     11|            ABCA_THROW("Read invalid: Property Headers name.");
  ------------------
  |  |   96|     11|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|     11|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|     11|do                                                    \
  |  |  |  |   89|     11|{                                                     \
  |  |  |  |   90|     11|    std::stringstream sstr;                           \
  |  |  |  |   91|     11|    sstr << TEXT;                                     \
  |  |  |  |   92|     11|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|     11|    throw( exc );                                     \
  |  |  |  |   94|     11|}                                                     \
  |  |  |  |   95|     11|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1835|     11|        }
 1836|       |
 1837|  12.4k|        std::string name( &buf[pos], nameSize );
 1838|  12.4k|        header->header.setName( name );
 1839|  12.4k|        pos += nameSize;
 1840|       |
 1841|  12.4k|        Util::uint32_t metaDataIndex = ( info & 0xff00000 ) >> 20;
 1842|       |
 1843|  12.4k|        if ( metaDataIndex == 0xff )
  ------------------
  |  Branch (1843:14): [True: 1.38k, False: 11.0k]
  ------------------
 1844|  1.38k|        {
 1845|  1.38k|            Util::uint32_t metaDataSize =
 1846|  1.38k|                GetUint32WithHint( buf, bufSize, sizeHint, pos );
 1847|       |
 1848|  1.38k|            if (pos + metaDataSize > bufSize)
  ------------------
  |  Branch (1848:17): [True: 2, False: 1.38k]
  ------------------
 1849|      2|            {
 1850|      2|                ABCA_THROW("Read invalid: Property Header MetaData string.");
  ------------------
  |  |   96|      2|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      2|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      2|do                                                    \
  |  |  |  |   89|      2|{                                                     \
  |  |  |  |   90|      2|    std::stringstream sstr;                           \
  |  |  |  |   91|      2|    sstr << TEXT;                                     \
  |  |  |  |   92|      2|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      2|    throw( exc );                                     \
  |  |  |  |   94|      2|}                                                     \
  |  |  |  |   95|      2|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1851|      2|            }
 1852|       |            // found empty metadata
 1853|  1.38k|            else if (pos == bufSize)
  ------------------
  |  Branch (1853:22): [True: 1, False: 1.38k]
  ------------------
 1854|      1|            {
 1855|      1|                pos += metaDataSize;
 1856|      1|                AbcA::MetaData md;
 1857|      1|                header->header.setMetaData( md );
 1858|      1|            }
 1859|  1.38k|            else
 1860|  1.38k|            {
 1861|  1.38k|                std::string metaData( &buf[pos], metaDataSize );
 1862|  1.38k|                pos += metaDataSize;
 1863|       |
 1864|  1.38k|                AbcA::MetaData md;
 1865|  1.38k|                md.deserialize( metaData );
 1866|  1.38k|                header->header.setMetaData( md );
 1867|  1.38k|            }
 1868|  1.38k|        }
 1869|  11.0k|        else if (metaDataIndex < iMetaDataVec.size())
  ------------------
  |  Branch (1869:18): [True: 11.0k, False: 11]
  ------------------
 1870|  11.0k|        {
 1871|  11.0k|            header->header.setMetaData( iMetaDataVec[metaDataIndex] );
 1872|  11.0k|        }
 1873|     11|        else
 1874|     11|        {
 1875|     11|            ABCA_THROW("Read invalid: Property Header MetaData index.");
  ------------------
  |  |   96|     11|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|     11|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|     11|do                                                    \
  |  |  |  |   89|     11|{                                                     \
  |  |  |  |   90|     11|    std::stringstream sstr;                           \
  |  |  |  |   91|     11|    sstr << TEXT;                                     \
  |  |  |  |   92|     11|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|     11|    throw( exc );                                     \
  |  |  |  |   94|     11|}                                                     \
  |  |  |  |   95|     11|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1876|     11|        }
 1877|       |
 1878|  12.4k|        oHeaders.push_back( header );
 1879|       |
 1880|  12.4k|    }
 1881|     47|}
_ZN7Alembic12AbcCoreOgawa3v1219ReadIndexedMetaDataENSt3__110shared_ptrINS_5Ogawa3v125IDataEEERNS2_6vectorINS_15AbcCoreAbstract3v128MetaDataENS2_9allocatorISB_EEEE:
 1886|    184|{
 1887|       |    // add the default empty meta data
 1888|    184|    oMetaDataVec.push_back( AbcA::MetaData() );
 1889|       |
 1890|       |    // we only index small meta data, under 256 bytes each
 1891|       |    // and we only allow 256 indices
 1892|    184|    if ( iData->getSize() > 65536 )
  ------------------
  |  Branch (1892:10): [True: 2, False: 182]
  ------------------
 1893|      2|    {
 1894|      2|        ABCA_THROW("Read invalid: Indexed MetaData buffer unexpectedly big.");
  ------------------
  |  |   96|      2|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      2|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      2|do                                                    \
  |  |  |  |   89|      2|{                                                     \
  |  |  |  |   90|      2|    std::stringstream sstr;                           \
  |  |  |  |   91|      2|    sstr << TEXT;                                     \
  |  |  |  |   92|      2|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      2|    throw( exc );                                     \
  |  |  |  |   94|      2|}                                                     \
  |  |  |  |   95|      2|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1895|      2|    }
 1896|       |
 1897|    182|    std::vector< char > buf( iData->getSize() );
 1898|       |
 1899|    182|    if ( buf.empty() )
  ------------------
  |  Branch (1899:10): [True: 5, False: 177]
  ------------------
 1900|      5|    {
 1901|      5|        return;
 1902|      5|    }
 1903|       |
 1904|       |    // read as part of opening the archive so threadid 0 is ok
 1905|    177|    iData->read( iData->getSize(), &( buf.front() ), 0, 0 );
 1906|    177|    std::size_t pos = 0;
 1907|    177|    std::size_t bufSize = buf.size();
 1908|   423k|    while ( pos < bufSize )
  ------------------
  |  Branch (1908:13): [True: 423k, False: 169]
  ------------------
 1909|   423k|    {
 1910|   423k|        if (pos + 1 > bufSize)
  ------------------
  |  Branch (1910:13): [True: 0, False: 423k]
  ------------------
 1911|      0|        {
 1912|      0|            ABCA_THROW("Read invalid: Indexed MetaData string size.");
  ------------------
  |  |   96|      0|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1913|      0|        }
 1914|       |
 1915|       |        // these are all small (less than 256 byte) meta data strings
 1916|   423k|        Util::uint8_t metaDataSize = buf[pos++];
 1917|       |
 1918|   423k|        if (pos + metaDataSize > bufSize)
  ------------------
  |  Branch (1918:13): [True: 8, False: 423k]
  ------------------
 1919|      8|        {
 1920|      8|            ABCA_THROW("Read invalid: Indexed MetaData string.");
  ------------------
  |  |   96|      8|#define ABCA_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      8|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      8|do                                                    \
  |  |  |  |   89|      8|{                                                     \
  |  |  |  |   90|      8|    std::stringstream sstr;                           \
  |  |  |  |   91|      8|    sstr << TEXT;                                     \
  |  |  |  |   92|      8|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      8|    throw( exc );                                     \
  |  |  |  |   94|      8|}                                                     \
  |  |  |  |   95|      8|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1921|      8|        }
 1922|   423k|        else if (pos == bufSize)
  ------------------
  |  Branch (1922:18): [True: 164, False: 423k]
  ------------------
 1923|    164|        {
 1924|    164|            pos += metaDataSize;
 1925|    164|            AbcA::MetaData md;
 1926|    164|            oMetaDataVec.push_back( md );
 1927|    164|        }
 1928|   423k|        else
 1929|   423k|        {
 1930|   423k|            std::string metaData( &buf[pos], metaDataSize );
 1931|   423k|            pos += metaDataSize;
 1932|   423k|            AbcA::MetaData md;
 1933|   423k|            md.deserialize( metaData );
 1934|   423k|            oMetaDataVec.push_back( md );
 1935|   423k|        }
 1936|   423k|    }
 1937|    177|}
ReadUtil.cpp:_ZN7Alembic12AbcCoreOgawa3v12L14DerefUnalignedIjEET_PKv:
 1482|  12.7k|{
 1483|       |    // on some platforms, dereferencing an unaligned pointer causes a crash. so, copy byte by byte.
 1484|  12.7k|    POD ret;
 1485|  12.7k|    memcpy(&ret, iData, sizeof(POD));
 1486|  12.7k|    return ret;
 1487|  12.7k|}
ReadUtil.cpp:_ZN7Alembic12AbcCoreOgawa3v12L14DerefUnalignedIdEET_PKv:
 1482|     84|{
 1483|       |    // on some platforms, dereferencing an unaligned pointer causes a crash. so, copy byte by byte.
 1484|     84|    POD ret;
 1485|     84|    memcpy(&ret, iData, sizeof(POD));
 1486|     84|    return ret;
 1487|     84|}

_ZN7Alembic12AbcCoreOgawa3v1211ReadArchiveC2Emb:
   80|    198|{
   81|    198|    m_numStreams = iNumStreams;
   82|    198|    m_useMMap = iUseMMap;
   83|    198|}
_ZNK7Alembic12AbcCoreOgawa3v1211ReadArchiveclERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS3_10shared_ptrINS_15AbcCoreAbstract3v1220ReadArraySampleCacheEEE:
  115|    198|{
  116|    198|    AbcA::ArchiveReaderPtr archivePtr;
  117|       |
  118|    198|    if ( m_streams.empty() )
  ------------------
  |  Branch (118:10): [True: 198, False: 0]
  ------------------
  119|    198|    {
  120|    198|        archivePtr = Alembic::Util::shared_ptr<ArImpl> (
  121|    198|            new ArImpl( iFileName, m_numStreams, m_useMMap ) );
  122|    198|    }
  123|      0|    else
  124|      0|    {
  125|      0|        archivePtr = Alembic::Util::shared_ptr<ArImpl> (
  126|      0|            new ArImpl( m_streams ) );
  127|      0|    }
  128|    198|    return archivePtr;
  129|    198|}

_ZN7Alembic12AbcCoreOgawa3v1213StreamManagerC2Em:
  100|    197|{
  101|       |
  102|    197|    m_streams = 0;
  103|    197|    m_curStream = 0;
  104|    197|    m_numStreams = iNumStreams;
  105|       |
  106|       |    // only do this if we have more than 1 stream
  107|       |    // otherwise we can just return default
  108|    197|    if ( iNumStreams > 1 )
  ------------------
  |  Branch (108:10): [True: 0, False: 197]
  ------------------
  109|      0|    {
  110|      0|        m_streamIDs.resize( m_numStreams );
  111|      0|        for ( std::size_t i = 0; i < m_numStreams; ++i )
  ------------------
  |  Branch (111:34): [True: 0, False: 0]
  ------------------
  112|      0|        {
  113|      0|            m_streamIDs[i] = i;
  114|      0|            if ( m_numStreams < sizeof(m_streams) * 8 )
  ------------------
  |  Branch (114:18): [True: 0, False: 0]
  ------------------
  115|      0|            {
  116|      0|                m_streams |= Alembic::Util::int64_t( 1 ) << i;
  117|      0|            }
  118|      0|        }
  119|      0|    }
  120|       |
  121|       |    m_default = StreamIDPtr( new StreamID( NULL, 0 ) );
  122|    197|}
_ZN7Alembic12AbcCoreOgawa3v1213StreamManagerD2Ev:
  125|    197|{
  126|    197|}
_ZN7Alembic12AbcCoreOgawa3v128StreamIDC2EPNS1_13StreamManagerEm:
  200|    197|    m_manager( iManager ), m_streamID( iStreamID )
  201|    197|{
  202|    197|}
_ZN7Alembic12AbcCoreOgawa3v128StreamIDD2Ev:
  205|    197|{
  206|       |    // if our manager is valid, give back our ID
  207|    197|    if ( m_manager != NULL )
  ------------------
  |  Branch (207:10): [True: 0, False: 197]
  ------------------
  208|      0|    {
  209|      0|        m_manager->put( m_streamID );
  210|      0|    }
  211|    197|}

_ZN7Alembic5Ogawa3v128IArchiveC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEmb:
   45|    198|    mStreams(new IStreams(iFileName, iNumStreams, iUseMMap))
   46|    198|{
   47|    198|    init();
   48|    198|}
_ZN7Alembic5Ogawa3v128IArchive4initEv:
   57|    198|{
   58|    198|    if (mStreams->isValid())
  ------------------
  |  Branch (58:9): [True: 194, False: 4]
  ------------------
   59|    194|    {
   60|    194|        Alembic::Util::uint64_t pos = 0;
   61|    194|        mStreams->read(0, 8, 8, &pos);
   62|    194|        mGroup.reset(new IGroup(mStreams, pos, false, 0));
   63|    194|    }
   64|    198|}
_ZN7Alembic5Ogawa3v128IArchiveD2Ev:
   67|    197|{
   68|    197|}
_ZNK7Alembic5Ogawa3v128IArchive7isValidEv:
   71|    197|{
   72|    197|    return mStreams->isValid();
   73|    197|}
_ZNK7Alembic5Ogawa3v128IArchive8isFrozenEv:
   76|    193|{
   77|    193|    return mStreams->isFrozen();
   78|    193|}
_ZNK7Alembic5Ogawa3v128IArchive8getGroupEv:
   86|    193|{
   87|    193|    return mGroup;
   88|    193|}

_ZN7Alembic5Ogawa3v125IDataD2Ev:
   63|    915|{
   64|       |
   65|    915|}
_ZN7Alembic5Ogawa3v125IDataC2ENSt3__110shared_ptrINS1_8IStreamsEEEmm:
   70|    937|    mData(new IData::PrivateData(iStreams))
   71|    937|{
   72|    937|    mData->size = 0;
   73|       |
   74|       |    // strip off the top bit (indicates data) to get our seek position
   75|    937|    mData->pos = iPos & INVALID_GROUP;
   76|       |
   77|    937|    Alembic::Util::uint64_t size = 0;
   78|       |
   79|       |    // not the empty group?  then figure out our size
   80|    937|    if ( mData->pos != 0 )
  ------------------
  |  Branch (80:10): [True: 914, False: 23]
  ------------------
   81|    914|    {
   82|    914|        mData->streams->read(iThreadId, mData->pos, 8, &size);
   83|    914|        if (mData->streams->getSize() < size)
  ------------------
  |  Branch (83:13): [True: 4, False: 910]
  ------------------
   84|      4|        {
   85|      4|            throw std::runtime_error("Ogawa IData illegal size.");
   86|      4|        }
   87|    910|        else
   88|    910|        {
   89|    910|            mData->size = size;
   90|    910|        }
   91|    914|    }
   92|    937|}
_ZN7Alembic5Ogawa3v125IData4readEmPvmm:
   96|    797|{
   97|       |    // don't read anything if we will read beyond our buffer
   98|    797|    if (iSize == 0 || mData->size == 0 || iOffset + iSize > mData->size)
  ------------------
  |  Branch (98:9): [True: 0, False: 797]
  |  Branch (98:23): [True: 0, False: 797]
  |  Branch (98:43): [True: 0, False: 797]
  ------------------
   99|      0|    {
  100|      0|        return;
  101|      0|    }
  102|       |
  103|       |    // +8 is to account for the size
  104|    797|    mData->streams->read(iThreadId, mData->pos + iOffset + 8, iSize, iData);
  105|    797|}
_ZNK7Alembic5Ogawa3v125IData7getSizeEv:
  108|  1.61k|{
  109|  1.61k|    return mData->size;
  110|  1.61k|}
_ZN7Alembic5Ogawa3v125IData11PrivateDataC2ENSt3__110shared_ptrINS1_8IStreamsEEE:
   49|    937|    {
   50|    937|        streams = iStreams;
   51|    937|    };
_ZN7Alembic5Ogawa3v125IData11PrivateDataD2Ev:
   53|    937|    ~PrivateData() {};

_ZN7Alembic5Ogawa3v126IGroupC2ENSt3__110shared_ptrINS1_8IStreamsEEEmbm:
   68|    421|    mData(new IGroup::PrivateData(iStreams))
   69|    421|{
   70|       |    // all done, we have no children, or our streams aren't good
   71|    421|    if (iPos == EMPTY_GROUP || !mData->streams || !mData->streams->isValid())
  ------------------
  |  Branch (71:9): [True: 0, False: 421]
  |  Branch (71:32): [True: 0, False: 421]
  |  Branch (71:51): [True: 0, False: 421]
  ------------------
   72|      0|    {
   73|      0|        return;
   74|      0|    }
   75|       |
   76|    421|    mData->pos = iPos;
   77|    421|    mData->streams->read(iThreadIndex, iPos, 8, &mData->numChildren);
   78|       |
   79|       |    // make sure we don't have a maliciously bad number of children
   80|    421|    if ( mData->numChildren > (mData->streams->getSize() / 8) ||
  ------------------
  |  Branch (80:10): [True: 57, False: 364]
  ------------------
   81|    364|         mData->numChildren == 0 )
  ------------------
  |  Branch (81:10): [True: 10, False: 354]
  ------------------
   82|     61|    {
   83|     61|        mData->numChildren = 0;
   84|     61|        return;
   85|     61|    }
   86|       |
   87|       |    // 0 should NOT have been written, this groups should have been the
   88|       |    // special EMPTY_GROUP instead
   89|       |
   90|       |    // read all our child indices, unless we are light and have more than 8
   91|       |    // children
   92|    360|    if (!iLight || mData->numChildren < 9)
  ------------------
  |  Branch (92:9): [True: 360, False: 0]
  |  Branch (92:20): [True: 0, False: 0]
  ------------------
   93|    354|    {
   94|    354|        mData->childVec.resize(mData->numChildren);
   95|    354|        mData->streams->read(iThreadIndex, iPos + 8, mData->numChildren * 8,
   96|    354|                             &(mData->childVec.front()));
   97|    354|    }
   98|    360|}
_ZN7Alembic5Ogawa3v126IGroupD2Ev:
  101|    409|{
  102|       |
  103|    409|}
_ZN7Alembic5Ogawa3v126IGroup8getGroupEmbm:
  107|    227|{
  108|    227|    IGroupPtr child;
  109|       |
  110|    227|    Alembic::Util::uint64_t childPos = EMPTY_DATA;
  111|       |
  112|    227|    if (isLight())
  ------------------
  |  Branch (112:9): [True: 0, False: 227]
  ------------------
  113|      0|    {
  114|      0|        if (iIndex < mData->numChildren)
  ------------------
  |  Branch (114:13): [True: 0, False: 0]
  ------------------
  115|      0|        {
  116|      0|            mData->streams->read(iThreadIndex, mData->pos + 8 * iIndex + 8, 8,
  117|      0|                                 &childPos);
  118|      0|        }
  119|      0|    }
  120|    227|    else if (isChildGroup(iIndex))
  ------------------
  |  Branch (120:14): [True: 227, False: 0]
  ------------------
  121|    227|    {
  122|    227|        childPos = mData->childVec[iIndex];
  123|    227|    }
  124|       |
  125|       |    // sanity check that we have a valid group, either an empty one
  126|       |    // or a non data that has a decent value
  127|    227|    if (childPos == EMPTY_GROUP || ((childPos & EMPTY_DATA) == 0 &&
  ------------------
  |  Branch (127:9): [True: 0, False: 227]
  |  Branch (127:37): [True: 227, False: 0]
  ------------------
  128|    227|        childPos > 8 && childPos != mData->pos))
  ------------------
  |  Branch (128:9): [True: 227, False: 0]
  |  Branch (128:25): [True: 227, False: 0]
  ------------------
  129|    227|    {
  130|    227|        child.reset(new IGroup(mData->streams, childPos, iLight, iThreadIndex));
  131|    227|    }
  132|       |
  133|    227|    return child;
  134|    227|}
_ZN7Alembic5Ogawa3v126IGroup7getDataEmm:
  138|    937|{
  139|    937|    IDataPtr child;
  140|    937|    if (isLight())
  ------------------
  |  Branch (140:9): [True: 0, False: 937]
  ------------------
  141|      0|    {
  142|      0|        if (iIndex < mData->numChildren)
  ------------------
  |  Branch (142:13): [True: 0, False: 0]
  ------------------
  143|      0|        {
  144|      0|            Alembic::Util::uint64_t childPos = 0;
  145|      0|            mData->streams->read(iThreadIndex, mData->pos + 8 * iIndex + 8, 8,
  146|      0|                                 &childPos);
  147|       |
  148|       |            // top bit should be set for data
  149|      0|            if ((childPos & EMPTY_DATA) != 0)
  ------------------
  |  Branch (149:17): [True: 0, False: 0]
  ------------------
  150|      0|            {
  151|      0|                child.reset(new IData(mData->streams, childPos, iThreadIndex));
  152|      0|            }
  153|      0|        }
  154|      0|    }
  155|    937|    else if (isChildData(iIndex))
  ------------------
  |  Branch (155:14): [True: 937, False: 0]
  ------------------
  156|    937|    {
  157|    937|        child.reset(new IData(mData->streams, mData->childVec[iIndex],
  158|    937|                              iThreadIndex));
  159|    937|    }
  160|    937|    return child;
  161|    937|}
_ZNK7Alembic5Ogawa3v126IGroup14getNumChildrenEv:
  164|    409|{
  165|    409|    return mData->numChildren;
  166|    409|}
_ZNK7Alembic5Ogawa3v126IGroup12isChildGroupEm:
  169|    476|{
  170|    476|    return (iIndex < mData->childVec.size() &&
  ------------------
  |  Branch (170:13): [True: 476, False: 0]
  ------------------
  171|    476|            (mData->childVec[iIndex] & EMPTY_DATA) == 0);
  ------------------
  |  Branch (171:13): [True: 475, False: 1]
  ------------------
  172|    476|}
_ZNK7Alembic5Ogawa3v126IGroup11isChildDataEm:
  175|  2.05k|{
  176|  2.05k|    return (iIndex < mData->childVec.size() &&
  ------------------
  |  Branch (176:13): [True: 2.05k, False: 0]
  ------------------
  177|  2.05k|            (mData->childVec[iIndex] & EMPTY_DATA) != 0);
  ------------------
  |  Branch (177:13): [True: 2.00k, False: 49]
  ------------------
  178|  2.05k|}
_ZNK7Alembic5Ogawa3v126IGroup7isLightEv:
  193|  1.16k|{
  194|  1.16k|    return mData->numChildren != 0 && mData->childVec.empty();
  ------------------
  |  Branch (194:12): [True: 1.16k, False: 0]
  |  Branch (194:39): [True: 0, False: 1.16k]
  ------------------
  195|  1.16k|}
_ZN7Alembic5Ogawa3v126IGroup11PrivateDataC2ENSt3__110shared_ptrINS1_8IStreamsEEE:
   48|    421|    {
   49|    421|        numChildren = 0;
   50|    421|        pos = 0;
   51|    421|        streams = iStreams;
   52|    421|    }
_ZN7Alembic5Ogawa3v126IGroup11PrivateDataD2Ev:
   54|    421|    ~PrivateData() {}

_ZN7Alembic5Ogawa3v128IStreamsC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEmb:
  742|    198|    mData(new IStreams::PrivateData())
  743|    198|{
  744|    198|    IStreamReaderPtr reader = constructStreamReader(iFileName, iNumStreams,
  745|    198|                                                    iUseMMap);
  746|    198|    mData->init(reader, 1);
  747|    198|}
_ZN7Alembic5Ogawa3v128IStreamsD2Ev:
  757|    198|{
  758|    198|}
_ZN7Alembic5Ogawa3v128IStreams7isValidEv:
  761|  3.49k|{
  762|  3.49k|    return mData->valid;
  763|  3.49k|}
_ZN7Alembic5Ogawa3v128IStreams8isFrozenEv:
  766|    193|{
  767|    193|    return mData->frozen;
  768|    193|}
_ZN7Alembic5Ogawa3v128IStreams7getSizeEv:
  776|  1.31k|{
  777|  1.31k|    return mData->size;
  778|  1.31k|}
_ZN7Alembic5Ogawa3v128IStreams4readEmmmPv:
  782|  2.68k|{
  783|  2.68k|    if (!isValid())
  ------------------
  |  Branch (783:9): [True: 0, False: 2.68k]
  ------------------
  784|      0|    {
  785|      0|        return;
  786|      0|    }
  787|       |
  788|  2.68k|    bool success = mData->reader->read(iThreadId, iPos, iSize, oBuf);
  789|  2.68k|    if (!success)
  ------------------
  |  Branch (789:9): [True: 43, False: 2.63k]
  ------------------
  790|     43|    {
  791|     43|        throw std::runtime_error(
  792|     43|            "Ogawa IStreams::read failed.");
  793|     43|    }
  794|  2.68k|}
_ZN7Alembic5Ogawa3v128IStreams11PrivateDataC2Ev:
  658|    198|    {
  659|    198|        valid = false;
  660|    198|        frozen = false;
  661|    198|        version = 0;
  662|    198|        size = 0;
  663|    198|    }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_121constructStreamReaderERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEmb:
  630|    198|{
  631|       |    // if allowed by the options, use memory mapped file access
  632|    198|    if (iUseMMap)
  ------------------
  |  Branch (632:9): [True: 198, False: 0]
  ------------------
  633|    198|    {
  634|    198|        return IStreamReaderPtr(
  635|    198|            new MemoryMappedIStreamReader(iFileName, iNumStreams));
  636|    198|    }
  637|       |
  638|       |    // otherwise, use file streams
  639|      0|    return IStreamReaderPtr(new FileIStreamReader(iFileName, iNumStreams));
  640|    198|}
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReaderC2ERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEm:
  571|    198|        : nstreams(iNumStreams), fileName(iFileName),
  572|    198|          fileHandle(BAD_FILE_HANDLE)
  ------------------
  |  |  394|    198|    #define BAD_FILE_HANDLE (-1)
  ------------------
  573|    198|    {
  574|    198|        fileHandle = openFile(iFileName);
  575|    198|        if (fileHandle == BAD_FILE_HANDLE) return;
  ------------------
  |  |  394|    198|    #define BAD_FILE_HANDLE (-1)
  ------------------
  |  Branch (575:13): [True: 0, False: 198]
  ------------------
  576|       |
  577|    198|        size_t len = 0;
  578|    198|        int err = getFileLength(fileHandle, len);
  579|    198|        if (err < 0) return;
  ------------------
  |  Branch (579:13): [True: 0, False: 198]
  ------------------
  580|       |
  581|    198|        mappedRegion.map(fileHandle, len);
  582|    198|    }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader12MappedRegionC2Ev:
  427|    198|        MappedRegion() : len(0), p(NULL)
  428|    198|        {
  429|    198|        }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader8openFileERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE:
  397|    198|    {
  398|    198|        int err = open(iFileName.c_str(), O_RDONLY);
  399|    198|        return err < 0 ? BAD_FILE_HANDLE : err;
  ------------------
  |  |  394|      0|    #define BAD_FILE_HANDLE (-1)
  ------------------
  |  Branch (399:16): [True: 0, False: 198]
  ------------------
  400|    198|    }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader13getFileLengthEiRm:
  411|    198|    {
  412|    198|        struct stat buf;
  413|       |
  414|    198|        int err = fstat(iFile, &buf);
  415|    198|        if (err < 0) return -1;
  ------------------
  |  Branch (415:13): [True: 0, False: 198]
  ------------------
  416|    198|        if (buf.st_size < 0) return -1;
  ------------------
  |  Branch (416:13): [True: 0, False: 198]
  ------------------
  417|       |
  418|    198|        oLength = static_cast<size_t>(buf.st_size);
  419|    198|        return 0;
  420|    198|    }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader12MappedRegion3mapEim:
  442|    198|        {
  443|    198|            close();
  444|       |
  445|    198|            void* m = mmap(NULL, iLength, PROT_READ, MAP_PRIVATE, iFile, 0);
  446|    198|            if (m == MAP_FAILED) return;
  ------------------
  |  Branch (446:17): [True: 0, False: 198]
  ------------------
  447|       |
  448|    198|            p = m;
  449|    198|            len = iLength;
  450|    198|        }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader12MappedRegion5closeEv:
  453|    594|        {
  454|    594|            if (p)
  ------------------
  |  Branch (454:17): [True: 198, False: 396]
  ------------------
  455|    198|            {
  456|    198|                munmap(p, len);
  457|       |                p = NULL;
  458|    198|            }
  459|    594|        }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader12MappedRegionD2Ev:
  432|    198|        {
  433|    198|            close();
  434|    198|        }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_113IStreamReaderD2Ev:
   77|    198|    virtual ~IStreamReader() {}
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReaderD2Ev:
  585|    198|    {
  586|    198|        mappedRegion.close();
  587|    198|        closeFile(fileHandle);
  588|    198|    }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader9closeFileEi:
  403|    198|    {
  404|    198|        if (iFile != BAD_FILE_HANDLE)
  ------------------
  |  |  394|    198|    #define BAD_FILE_HANDLE (-1)
  ------------------
  |  Branch (404:13): [True: 198, False: 0]
  ------------------
  405|    198|        {
  406|    198|            close(iFile);
  407|    198|        }
  408|    198|    }
IStreams.cpp:_ZNK7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader6isOpenEv:
  591|    198|    {
  592|    198|        return mappedRegion.isMapped();
  593|    198|    }
IStreams.cpp:_ZNK7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader12MappedRegion8isMappedEv:
  437|    198|        {
  438|       |            return p != NULL;
  439|    198|        }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader4readEmmmPv:
  609|  2.87k|    {
  610|  2.87k|        if (iSize > mappedRegion.len || iPos > mappedRegion.len || iPos + iSize > mappedRegion.len) return false;
  ------------------
  |  Branch (610:13): [True: 0, False: 2.87k]
  |  Branch (610:41): [True: 24, False: 2.85k]
  |  Branch (610:68): [True: 19, False: 2.83k]
  ------------------
  611|       |
  612|  2.83k|        const char* p = static_cast<const char*>(mappedRegion.p) + iPos;
  613|  2.83k|        std::memcpy(oBuf, p, iSize);
  614|       |
  615|  2.83k|        return true;
  616|  2.87k|    }
IStreams.cpp:_ZN7Alembic5Ogawa3v1212_GLOBAL__N_125MemoryMappedIStreamReader4sizeEv:
  603|    194|    {
  604|    194|        return static_cast<Alembic::Util::uint64_t>(mappedRegion.len);
  605|    194|    }
IStreams.cpp:_ZN7Alembic5Ogawa3v128IStreams11PrivateData4initENSt3__110shared_ptrINS1_12_GLOBAL__N_113IStreamReaderEEEm:
  666|    198|    {
  667|       |        // simple temporary endian check
  668|    198|        union
  669|    198|        {
  670|    198|            Util::uint32_t l;
  671|    198|            char c[4];
  672|    198|        } u;
  673|       |
  674|    198|        u.l = 0x01234567;
  675|       |
  676|    198|        if (u.c[0] != 0x67)
  ------------------
  |  Branch (676:13): [True: 0, False: 198]
  ------------------
  677|      0|        {
  678|      0|            throw std::runtime_error(
  679|      0|                "Ogawa currently only supports little-endian reading.");
  680|      0|        }
  681|       |
  682|    198|        if (iNumStreams == 0 || iReader == NULL || !iReader->isOpen()) return;
  ------------------
  |  Branch (682:13): [True: 0, False: 198]
  |  Branch (682:33): [True: 0, False: 198]
  |  Branch (682:52): [True: 0, False: 198]
  ------------------
  683|       |
  684|    198|        Alembic::Util::uint64_t firstGroupPos = 0;
  685|       |
  686|    392|        for (std::size_t i = 0; i < iNumStreams; ++i)
  ------------------
  |  Branch (686:33): [True: 198, False: 194]
  ------------------
  687|    198|        {
  688|    198|            char header[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
  689|       |
  690|    198|            iReader->read(i, 0, 16, static_cast<void*>(header));
  691|    198|            std::string magicStr(header, 5);
  692|    198|            if (magicStr != "Ogawa")
  ------------------
  |  Branch (692:17): [True: 4, False: 194]
  ------------------
  693|      4|            {
  694|      4|                frozen = false;
  695|      4|                valid = false;
  696|      4|                version = 0;
  697|      4|                return;
  698|      4|            }
  699|    194|            bool filefrozen = (header[5] == char(0xff));
  700|    194|            Alembic::Util::uint16_t topvers = header[6];
  701|    194|            Alembic::Util::uint16_t fileversion = (topvers << 8) | header[7];
  702|    194|            Alembic::Util::uint64_t groupPos = *((Alembic::Util::uint64_t*) (&(header[8])));
  703|    194|            Alembic::Util::uint64_t filesize = iReader->size();
  704|       |
  705|    194|            if (i == 0)
  ------------------
  |  Branch (705:17): [True: 194, False: 0]
  ------------------
  706|    194|            {
  707|    194|                firstGroupPos = groupPos;
  708|    194|                frozen = filefrozen;
  709|    194|                version = fileversion;
  710|    194|                size = filesize;
  711|    194|            }
  712|       |                // all the streams have to agree, or we are invalid
  713|      0|            else if (firstGroupPos != groupPos || frozen != filefrozen ||
  ------------------
  |  Branch (713:22): [True: 0, False: 0]
  |  Branch (713:51): [True: 0, False: 0]
  ------------------
  714|      0|                     version != fileversion || size != filesize)
  ------------------
  |  Branch (714:22): [True: 0, False: 0]
  |  Branch (714:48): [True: 0, False: 0]
  ------------------
  715|      0|            {
  716|      0|                frozen = false;
  717|      0|                valid = false;
  718|      0|                version = 0;
  719|      0|                return;
  720|      0|            }
  721|    194|        }
  722|       |
  723|       |        // if we reach here, and we're a known version, then we're valid
  724|    194|        if (version == 1)
  ------------------
  |  Branch (724:13): [True: 194, False: 0]
  ------------------
  725|    194|        {
  726|    194|            reader = iReader;        // preserve the reader
  727|    194|            valid = true;
  728|    194|        }
  729|    194|    }

_ZN7Alembic4Util3v129ExceptionC2ERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   67|     97|      : std::string( str ), std::exception() {}
_ZNK7Alembic4Util3v129Exception4whatEv:
   80|     97|    virtual const char *what() const throw() { return c_str(); }
_ZN7Alembic4Util3v129ExceptionC2ERKS2_:
   72|     97|      : std::string( exc.c_str() ), std::exception() {}
_ZN7Alembic4Util3v129ExceptionD2Ev:
   76|    194|    virtual ~Exception() throw() {}

_ZN7Alembic4Util3v125mutexD2Ev:
  184|  2.19k|    {
  185|  2.19k|        pthread_mutex_destroy( &m );
  186|  2.19k|    }
_ZN7Alembic4Util3v1211noncopyableD2Ev:
  101|  2.89k|    ~noncopyable() {}
_ZN7Alembic4Util3v125mutexC2Ev:
  179|  2.19k|    {
  180|       |        pthread_mutex_init( &m, NULL );
  181|  2.19k|    }
_ZN7Alembic4Util3v1211noncopyableC2Ev:
  100|  2.89k|    noncopyable() {}
_ZN7Alembic4Util3v125mutex4lockEv:
  189|     54|    {
  190|     54|        pthread_mutex_lock( &m );
  191|     54|    }
_ZN7Alembic4Util3v125mutex6unlockEv:
  194|     54|    {
  195|     54|        pthread_mutex_unlock( &m );
  196|     54|    }
_ZN7Alembic4Util3v1211scoped_lockC2ERNS1_5mutexE:
  207|     54|    scoped_lock( mutex & l ) : m( l )
  208|     54|    {
  209|     54|        m.lock();
  210|     54|    }
_ZN7Alembic4Util3v1211scoped_lockD2Ev:
  213|     54|    {
  214|     54|        m.unlock();
  215|     54|    }

_ZN7Alembic4Util3v128TokenMap9setUniqueERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEccb:
   85|   425k|{
   86|   425k|    std::size_t lastPair = 0;
   87|   466k|    while(1)
  ------------------
  |  Branch (87:11): [True: 466k, Folded]
  ------------------
   88|   466k|    {
   89|   466k|        std::size_t curPair = config.find(pairSep, lastPair);
   90|   466k|        std::size_t curAssign = config.find(assignSep, lastPair);
   91|       |
   92|   466k|        if (curAssign > curPair)
  ------------------
  |  Branch (92:13): [True: 1.53k, False: 465k]
  ------------------
   93|  1.53k|        {
   94|  1.53k|            if ( !quiet )
  ------------------
  |  Branch (94:18): [True: 0, False: 1.53k]
  ------------------
   95|      0|            {
   96|      0|                ALEMBIC_THROW( "TokenMap::setUnique: malformed string found:"
  ------------------
  |  |  100|      0|#define ALEMBIC_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|      0|                    << assignSep << " before: " << pairSep);
   98|      0|            }
   99|  1.53k|            return;
  100|  1.53k|        }
  101|       |
  102|   465k|        if (curAssign != std::string::npos)
  ------------------
  |  Branch (102:13): [True: 46.0k, False: 419k]
  ------------------
  103|  46.0k|        {
  104|  46.0k|            std::size_t endPos = std::string::npos;
  105|  46.0k|            if (curPair != endPos)
  ------------------
  |  Branch (105:17): [True: 41.8k, False: 4.16k]
  ------------------
  106|  41.8k|            {
  107|  41.8k|                endPos = curPair - curAssign - 1;
  108|  41.8k|            }
  109|       |
  110|  46.0k|            std::string keyStr = config.substr(lastPair, curAssign - lastPair);
  111|       |
  112|  46.0k|            if ( m_map.count( keyStr ) > 0 )
  ------------------
  |  Branch (112:18): [True: 17.0k, False: 28.9k]
  ------------------
  113|  17.0k|            {
  114|  17.0k|                if ( !quiet )
  ------------------
  |  Branch (114:22): [True: 0, False: 17.0k]
  ------------------
  115|      0|                {
  116|      0|                    ALEMBIC_THROW( "TokenMap::setUnique: token: "
  ------------------
  |  |  100|      0|#define ALEMBIC_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|      0|                                   << keyStr << " is not unique." );
  118|      0|                }
  119|  17.0k|            }
  120|  28.9k|            else
  121|  28.9k|            {
  122|  28.9k|                m_map[keyStr] = config.substr(curAssign + 1, endPos);
  123|  28.9k|            }
  124|  46.0k|        }
  125|       |
  126|   465k|        if (curPair == std::string::npos)
  ------------------
  |  Branch (126:13): [True: 423k, False: 41.8k]
  ------------------
  127|   423k|        {
  128|   423k|            return;
  129|   423k|        }
  130|       |
  131|  41.8k|        lastPair = curPair + 1;
  132|  41.8k|    }
  133|   425k|}
_ZNK7Alembic4Util3v128TokenMap3getEccb:
  139|     54|{
  140|     54|    char buf[2] = { 0, 0 };
  141|       |
  142|     54|    buf[0] = pairSep;
  143|     54|    std::string pairSepStr( ( const char * )buf );
  144|       |
  145|     54|    buf[0] = assignSep;
  146|     54|    std::string assignSepStr( ( const char * )buf );
  147|       |
  148|     54|    std::stringstream output;
  149|       |
  150|     54|    bool start = true;
  151|       |
  152|     54|    for ( const_iterator iter = m_map.begin();
  153|    460|          iter != m_map.end(); ++iter )
  ------------------
  |  Branch (153:11): [True: 406, False: 54]
  ------------------
  154|    406|    {
  155|    406|        std::string token = (*iter).first;
  156|    406|        std::string value = (*iter).second;
  157|       |
  158|    406|        if ( check &&
  ------------------
  |  Branch (158:14): [True: 406, False: 0]
  ------------------
  159|    406|             ( token.find( pairSep ) != std::string::npos ||
  ------------------
  |  Branch (159:16): [True: 0, False: 406]
  ------------------
  160|    406|               token.find( assignSep ) != std::string::npos ||
  ------------------
  |  Branch (160:16): [True: 0, False: 406]
  ------------------
  161|    406|               value.find( pairSep ) != std::string::npos ||
  ------------------
  |  Branch (161:16): [True: 0, False: 406]
  ------------------
  162|    406|               value.find( assignSep ) != std::string::npos ) )
  ------------------
  |  Branch (162:16): [True: 0, False: 406]
  ------------------
  163|      0|        {
  164|      0|            ALEMBIC_THROW( "TokenMap::get: Token-Value pair " <<
  ------------------
  |  |  100|      0|#define ALEMBIC_THROW( TEXT ) ABC_THROW( TEXT )
  |  |  ------------------
  |  |  |  |   87|      0|#define ABC_THROW( TEXT )                             \
  |  |  |  |   88|      0|do                                                    \
  |  |  |  |   89|      0|{                                                     \
  |  |  |  |   90|      0|    std::stringstream sstr;                           \
  |  |  |  |   91|      0|    sstr << TEXT;                                     \
  |  |  |  |   92|      0|    Alembic::Util::Exception exc( sstr.str() );       \
  |  |  |  |   93|      0|    throw( exc );                                     \
  |  |  |  |   94|      0|}                                                     \
  |  |  |  |   95|      0|while( 0 )
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (95:8): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|      0|                " contains separator characters: " <<
  166|      0|                pairSepStr << " or " << assignSepStr <<
  167|      0|                " for " << token << " or "  << value);
  168|      0|        }
  169|       |
  170|    406|        if ( value == "" )
  ------------------
  |  Branch (170:14): [True: 179, False: 227]
  ------------------
  171|    179|        {
  172|    179|            continue;
  173|    179|        }
  174|       |
  175|    227|        if ( !start )
  ------------------
  |  Branch (175:14): [True: 175, False: 52]
  ------------------
  176|    175|        {
  177|    175|            output << pairSepStr;
  178|    175|        }
  179|       |
  180|    227|        output << token << assignSepStr << value;
  181|       |
  182|    227|        start = false;
  183|    227|    }
  184|       |
  185|     54|    return output.str();
  186|     54|}

_ZN7Alembic4Util3v128TokenMapC2Ev:
  113|   438k|    TokenMap() {}
_ZNK7Alembic4Util3v128TokenMap5valueERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
  214|    702|    {
  215|    702|        const_iterator fiter = m_map.find( token );
  216|    702|        if ( fiter != m_map.end() )
  ------------------
  |  Branch (216:14): [True: 232, False: 470]
  ------------------
  217|    232|        {
  218|    232|            return (*fiter).second;
  219|    232|        }
  220|    470|        else
  221|    470|        {
  222|    470|            return "";
  223|    470|        }
  224|    702|    }
_ZN7Alembic4Util3v128TokenMap5clearEv:
  193|   425k|    void clear() { m_map.clear(); }

_Z9dumpNodesRKN7Alembic3Abc3v127IObjectE:
  157|     54|void dumpNodes(const IObject &node) {
  158|     54|  const ObjectHeader &header = node.getHeader();
  159|       |  // Dump the general node information.
  160|     54|  header.getName();
  161|     54|  header.getFullName();
  162|     54|  header.getMetaData().serialize();
  163|       |
  164|       |  // Dump the type specific information.
  165|     54|  if (Alembic::AbcGeom::IPolyMesh::matches(header)) {
  ------------------
  |  Branch (165:7): [True: 0, False: 54]
  ------------------
  166|      0|    dumpPolyMesh(node);
  167|     54|  } else if (Alembic::AbcGeom::ISubD::matches(header)) {
  ------------------
  |  Branch (167:14): [True: 0, False: 54]
  ------------------
  168|      0|    dumpSubD(node);
  169|     54|  } else if (Alembic::AbcGeom::IFaceSet::matches(header)) {
  ------------------
  |  Branch (169:14): [True: 0, False: 54]
  ------------------
  170|      0|    dumpFaceSet(node);
  171|     54|  } else if (Alembic::AbcGeom::ICurves::matches(header)) {
  ------------------
  |  Branch (171:14): [True: 0, False: 54]
  ------------------
  172|      0|    dumpCurves(node);
  173|     54|  } else if (Alembic::AbcGeom::IXform::matches(header)) {
  ------------------
  |  Branch (173:14): [True: 0, False: 54]
  ------------------
  174|      0|    dumpXform(node);
  175|     54|  } else if (Alembic::AbcMaterial::IMaterial::matches(header)) {
  ------------------
  |  Branch (175:14): [True: 0, False: 54]
  ------------------
  176|      0|    dumpMaterial(node);
  177|     54|  } else { // Miscellaneous nodes such as the root.
  178|     54|    ;
  179|     54|  }
  180|       |
  181|       |  // Dump the child headers.
  182|     54|  const size_t childCount = node.getNumChildren();
  183|     54|  for (size_t i = 0; i < childCount; i++) {
  ------------------
  |  Branch (183:22): [True: 0, False: 54]
  ------------------
  184|      0|    dumpNodes(node.getChild(i));
  185|      0|  }
  186|     54|}
_Z8dumpInfoPKc:
  188|    198|void dumpInfo(const char *file) {
  189|       |  // Load the Alembic archive and verify that it is valid.
  190|    198|  IFactory factory;
  191|    198|  IArchive archive = factory.getArchive(file);
  192|       |
  193|    198|  if (archive.valid()) {
  ------------------
  |  Branch (193:7): [True: 54, False: 144]
  ------------------
  194|     54|    archive.getName();
  195|     54|    dumpNodes(archive.getTop());
  196|     54|  }
  197|    198|}
LLVMFuzzerTestOneInput:
  199|    198|extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  200|    198|  FuzzerTemporaryFile tempFile(data, size);
  201|    198|  dumpInfo(tempFile.filename());
  202|       |
  203|    198|  return 0;
  204|    198|}

_ZN19FuzzerTemporaryFileC2EPKhm:
   70|    198|      : filename_(fuzzer_get_tmpfile(data, size)) {}
alembic_dump_info_fuzzer.cc:_ZL18fuzzer_get_tmpfilePKhm:
   29|    198|static char *fuzzer_get_tmpfile(const uint8_t *data, size_t size) {
   30|    198|  char *filename_buffer = strdup("/tmp/generate_temporary_file.XXXXXX");
   31|    198|  if (!filename_buffer) {
  ------------------
  |  Branch (31:7): [True: 0, False: 198]
  ------------------
   32|      0|    perror("Failed to allocate file name buffer.");
   33|      0|    abort();
   34|      0|  }
   35|    198|  const int file_descriptor = mkstemp(filename_buffer);
   36|    198|  if (file_descriptor < 0) {
  ------------------
  |  Branch (36:7): [True: 0, False: 198]
  ------------------
   37|      0|    perror("Failed to make temporary file.");
   38|      0|    abort();
   39|      0|  }
   40|    198|  FILE *file = fdopen(file_descriptor, "wb");
   41|    198|  if (!file) {
  ------------------
  |  Branch (41:7): [True: 0, False: 198]
  ------------------
   42|      0|    perror("Failed to open file descriptor.");
   43|      0|    close(file_descriptor);
   44|      0|    abort();
   45|      0|  }
   46|    198|  const size_t bytes_written = fwrite(data, sizeof(uint8_t), size, file);
   47|    198|  if (bytes_written != size) {
  ------------------
  |  Branch (47:7): [True: 0, False: 198]
  ------------------
   48|      0|    fclose(file);
   49|      0|    fprintf(stderr, "Failed to write all bytes to file (%zu out of %zu)",
   50|      0|            bytes_written, size);
   51|      0|    abort();
   52|      0|  }
   53|    198|  fclose(file);
   54|    198|  return filename_buffer;
   55|    198|}
_ZNK19FuzzerTemporaryFile8filenameEv:
   74|    198|  const char *filename() const { return filename_; }
_ZN19FuzzerTemporaryFileD2Ev:
   72|    198|  ~FuzzerTemporaryFile() { fuzzer_release_tmpfile(filename_); }
alembic_dump_info_fuzzer.cc:_ZL22fuzzer_release_tmpfilePc:
   57|    198|static void fuzzer_release_tmpfile(char *filename) {
   58|    198|  if (unlink(filename) != 0) {
  ------------------
  |  Branch (58:7): [True: 0, False: 198]
  ------------------
   59|      0|    perror("WARNING: Failed to delete temporary file.");
   60|      0|  }
   61|    198|  free(filename);
   62|    198|}

