Lines Matching refs:eErrCode

92 	storeError eErrCode = base::initialize (pLockBytes, eAccessMode, rnPageSize);  in initialize()  local
93 if (eErrCode != store_E_None) in initialize()
94 return eErrCode; in initialize()
104 eErrCode = m_aRoot.loadOrCreate (rnPageSize, *this); in initialize()
105 if (eErrCode == store_E_Pending) in initialize()
115 eErrCode = base::saveObjectAt (m_aRoot, rnPageSize); in initialize()
119 return eErrCode; in initialize()
132 storeError eErrCode = m_aRoot.find_lookup (rNode, rIndex, rKey, *this); in find_lookup() local
133 if (eErrCode != store_E_None) in find_lookup()
134 return eErrCode; in find_lookup()
168 eErrCode = m_aRoot.find_lookup (aNode, nIndex, entry::CompareGreater(rEntry), *this);
197 eErrCode = loadObjectAt (aNode, nAddr);
209 eErrCode = loadObjectAt (aNode, nAddr);
256 storeError eErrCode = loadObjectAt (aNode, nAddr); in remove_Impl() local
257 if (eErrCode != store_E_None) in remove_Impl()
258 return eErrCode; in remove_Impl()
333 storeError eErrCode = namei (pPath, pName, aKey); in iget() local
334 if (eErrCode != store_E_None) in iget()
335 return eErrCode; in iget()
345 eErrCode = load_dirpage_Impl (aKey, rPage); in iget()
346 if (eErrCode != store_E_None) in iget()
349 if (eErrCode != store_E_NotExists) in iget()
350 return eErrCode; in iget()
361 eErrCode = rPage.construct< inode >(base::allocator()); in iget()
362 if (eErrCode != store_E_None) in iget()
363 return eErrCode; in iget()
376 eErrCode = save_dirpage_Impl (aKey, rPage); in iget()
377 if (eErrCode != store_E_None) in iget()
378 return eErrCode; in iget()
390 eErrCode = load_dirpage_Impl (aDstKey, rPage); in iget()
391 if (eErrCode != store_E_None) in iget()
392 return eErrCode; in iget()
419 storeError eErrCode = m_aRoot.find_lookup (aNode, i, rKey, *this); in iterate() local
420 if (eErrCode != store_E_None) in iterate()
421 return eErrCode; in iterate()
447 storeError eErrCode = find_lookup (aNode, i, rKey); in load_dirpage_Impl() local
448 if (eErrCode != store_E_None) in load_dirpage_Impl()
449 return eErrCode; in load_dirpage_Impl()
469 storeError eErrCode = m_aRoot.find_insert (aNode, i, rKey, *this); in save_dirpage_Impl() local
471 if (eErrCode != store_E_None) in save_dirpage_Impl()
473 if (eErrCode != store_E_AlreadyExists) in save_dirpage_Impl()
474 return eErrCode; in save_dirpage_Impl()
485 eErrCode = base::allocate (rPage); in save_dirpage_Impl()
486 if (eErrCode != store_E_None) in save_dirpage_Impl()
487 return eErrCode; in save_dirpage_Impl()
497 eErrCode = base::allocate (rPage); in save_dirpage_Impl()
498 if (eErrCode != store_E_None) in save_dirpage_Impl()
499 return eErrCode; in save_dirpage_Impl()
529 storeError eErrCode = find_lookup (aNode, i, rKey); in attrib() local
530 if (eErrCode != store_E_None) in attrib()
531 return eErrCode; in attrib()
554 eErrCode = saveObjectAt (aNode, aNode.location()); in attrib()
559 eErrCode = store_E_AccessViolation; in attrib()
566 return eErrCode; in attrib()
590 storeError eErrCode = find_lookup (aDstNode, i, rDstKey); in link() local
591 if (eErrCode != store_E_None) in link()
592 return eErrCode; in link()
601 eErrCode = m_aRoot.find_insert (aSrcNode, i, rSrcKey, *this); in link()
602 if (eErrCode != store_E_None) in link()
603 return eErrCode; in link()
631 storeError eErrCode = store_E_InvalidParameter; in symlink() local
633 return eErrCode; in symlink()
637 eErrCode = namei (pSrcPath, pSrcName, aSrcKey); in symlink()
638 if (eErrCode != store_E_None) in symlink()
639 return eErrCode; in symlink()
644 eErrCode = m_aRoot.find_insert (aSrcNode, i, aSrcKey, *this); in symlink()
645 if (eErrCode != store_E_None) in symlink()
646 return eErrCode; in symlink()
650 eErrCode = aPage.construct< inode >(base::allocator()); in symlink()
651 if (eErrCode != store_E_None) in symlink()
652 return eErrCode; in symlink()
670 eErrCode = base::allocate (aPage); in symlink()
671 if (eErrCode != store_E_None) in symlink()
672 return eErrCode; in symlink()
703 storeError eErrCode = store_E_InvalidParameter; in rename() local
705 return eErrCode; in rename()
709 eErrCode = namei (pDstPath, pDstName, aDstKey); in rename()
710 if (eErrCode != store_E_None) in rename()
711 return eErrCode; in rename()
716 eErrCode = find_lookup (aSrcNode, i, rSrcKey); in rename()
717 if (eErrCode != store_E_None) in rename()
718 return eErrCode; in rename()
729 eErrCode = base::loadObjectAt (aPage, e.m_aLink.location()); in rename()
730 if (eErrCode != store_E_None) in rename()
731 return eErrCode; in rename()
746 eErrCode = m_aRoot.find_insert (aDstNode, i, e.m_aKey, *this); in rename()
747 if (eErrCode != store_E_None) in rename()
748 return eErrCode; in rename()
754 eErrCode = saveObjectAt (aDstNode, aDstNode.location()); in rename()
755 if (eErrCode != store_E_None) in rename()
756 return eErrCode; in rename()
775 eErrCode = base::saveObjectAt (aPage, e.m_aLink.location()); in rename()
776 if (eErrCode != store_E_None) in rename()
777 return eErrCode; in rename()
804 storeError eErrCode = find_lookup (aNodePage, i, rKey); in remove() local
805 if (eErrCode != store_E_None) in remove()
806 return eErrCode; in remove()
817 eErrCode = base::loadObjectAt (aPage, e.m_aLink.location()); in remove()
818 if (eErrCode != store_E_None) in remove()
819 return eErrCode; in remove()
825 eErrCode = base::acquirePage (aDescr, store_AccessReadWrite); in remove()
826 if (eErrCode != store_E_None) in remove()
827 return eErrCode; in remove()
837 eErrCode = aPage.truncate (0, *this); in remove()
838 if (eErrCode != store_E_None) in remove()
839 return eErrCode; in remove()
848 eErrCode = base::releasePage (aDescr, store_AccessReadWrite); in remove()
851 eErrCode = base::free (aPage.location()); in remove()
880 storeError eErrCode = store_E_InvalidParameter; in initialize() local
884 eErrCode = m_xBIOS->scanBegin (m_aCtx, nMagic); in initialize()
886 return eErrCode; in initialize()
918 storeError eErrCode = store_E_InvalidParameter; in rebuild() local
920 return eErrCode; in rebuild()
924 eErrCode = aCtx.initialize (pSrcLB, STORE_MAGIC_DIRECTORYPAGE); in rebuild()
925 if (eErrCode != store_E_None) in rebuild()
926 return eErrCode; in rebuild()
930 eErrCode = self::initialize (pDstLB, store_AccessCreate, aCtx.m_nPageSize); in rebuild()
931 if (eErrCode != store_E_None) in rebuild()
932 return eErrCode; in rebuild()
938 while ((eErrCode = aCtx.load(aSrcPage)) == store_E_None) in rebuild()
941 eErrCode = aDstPage.construct< inode >(base::allocator()); in rebuild()
942 if (eErrCode != store_E_None) in rebuild()
960 eErrCode = save_dirpage_Impl (aDstPage.key(), aDstPage); in rebuild()
961 if (eErrCode != store_E_None) in rebuild()
987 eErrCode = aSrcPage.read (i, aData, *xSrcBIOS); in rebuild()
988 if (eErrCode != store_E_None) in rebuild()
992 eErrCode = aDstPage.write (i, aData, *this); in rebuild()
998 eErrCode = base::saveObjectAt (aDstPage, aDstPage.location()); in rebuild()
1012 while ((eErrCode = aCtx.load(aNode)) == store_E_None) in rebuild()
1028 eErrCode = xSrcBIOS->loadObjectAt (aSrcPage, e.m_aLink.location()); in rebuild()
1029 if (eErrCode == store_E_None) in rebuild()
1032 eErrCode = link (e.m_aKey, aDstKey); in rebuild()
1041 eErrCode = attrib (e.m_aKey, 0, e.m_nAttrib, nAttrib); in rebuild()