Lines Matching refs:folderCount
517 int32_t index, folderCount; in InsertBookmark() local
520 rv = FetchFolderInfo(aFolder, &folderCount, folderGuid, &grandParentId); in InsertBookmark()
523 aIndex >= folderCount) { in InsertBookmark()
524 index = folderCount; in InsertBookmark()
751 int32_t index, folderCount; in CreateContainerWithID() local
754 nsresult rv = FetchFolderInfo(aParent, &folderCount, folderGuid, &grandParentId); in CreateContainerWithID()
760 *aIndex >= folderCount) { in CreateContainerWithID()
761 index = folderCount; in CreateContainerWithID()
809 int32_t index, folderCount; in InsertSeparator() local
812 nsresult rv = FetchFolderInfo(aParent, &folderCount, folderGuid, &grandParentId); in InsertSeparator()
818 aIndex >= folderCount) { in InsertSeparator()
819 index = folderCount; in InsertSeparator()
1229 int32_t newIndex, folderCount; in MoveItem() local
1232 rv = FetchFolderInfo(aNewParent, &folderCount, newParentGuid, &grandParentId); in MoveItem()
1235 aIndex >= folderCount) { in MoveItem()
1236 newIndex = folderCount; in MoveItem()
2257 int32_t folderCount; in SetItemIndex() local
2260 rv = FetchFolderInfo(bookmark.parentId, &folderCount, folderGuid, &grandParentId); in SetItemIndex()
2262 NS_ENSURE_TRUE(aNewIndex < folderCount, NS_ERROR_INVALID_ARG); in SetItemIndex()