Searched refs:ptr (Results 1 – 8 of 8) sorted by relevance
38 char* ptr = static_cast<char*>( malloc( 4 + block_size * 6 ) ); in block32_new() local40 if ( ptr ) { in block32_new()42 *(reinterpret_cast<uint32_t*>(ptr)) = initial_position; in block32_new()43 *block_ptr = ptr + 4; in block32_new()46 return ptr; in block32_new()56 char* ptr = static_cast<char*>( malloc( 8 + block_size * 10 ) ); in block64_new() local58 if ( ptr ) { in block64_new()60 *(reinterpret_cast<uint64_t*>(ptr)) = initial_position; in block64_new()61 *block_ptr = ptr + 8; in block64_new()64 return ptr; in block64_new()[all …]
157 ptr = nullptr; in Cache()162 char* ptr; member
154 …std::shared_ptr<std::function<void()>> ptr( new std::function<void()>(std::move( notification )) ); in addFile()163 ObservedFile<Driver>( file_name, ptr, file_id, symlink_id ) ); in addFile()194 existing_observed_file->addCallback( ptr ); in addFile()200 return std::shared_ptr<void>( 0x0, [this, ptr, weakHeartBeat] (void*) { in addFile()202 WatchTower<Driver>::removeNotification( this, ptr ); in addFile()
191 auto ptr = externalCommunicator->otherInstance(); in main()192 externalInstance = shared_ptr<ExternalInstance>( ptr ); in main()