• Home
  • Raw
  • Download

Lines Matching refs:hlen

144 		size_t hlen;  in main()  local
150 rc = dm_path_to_handle((char *)INVALID_ADDR, &hanp, &hlen); in main()
162 size_t hlen; in main() local
169 rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen); in main()
182 size_t hlen; in main() local
195 rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen); in main()
199 hlen); in main()
200 dm_LogHandle(hanp, hlen); in main()
212 dm_handle_free(hanp, hlen); in main()
223 size_t hlen; in main() local
243 rc = dm_path_to_handle(DUMMY_LINK, &hanp, &hlen); in main()
247 hlen); in main()
248 dm_LogHandle(hanp, hlen); in main()
261 dm_handle_free(hanp, hlen); in main()
271 size_t hlen; in main() local
284 rc = dm_path_to_handle(DUMMY_SUBDIR, &hanp, &hlen); in main()
288 hlen); in main()
289 dm_LogHandle(hanp, hlen); in main()
300 dm_handle_free(hanp, hlen); in main()
310 size_t hlen; in main() local
324 rc = dm_path_to_handle(DUMMY_SUBDIR_FILE, &hanp, &hlen); in main()
344 size_t hlen; in main() local
364 rc = dm_path_to_handle(DUMMY_SUBDIR_FILE, &hanp, &hlen); in main()
368 hlen); in main()
369 dm_LogHandle(hanp, hlen); in main()
382 dm_handle_free(hanp, hlen); in main()
393 size_t hlen; in main() local
418 rc = dm_path_to_handle(DUMMY_SUBDIR_LINK, &hanp, &hlen); in main()
422 hlen); in main()
423 dm_LogHandle(hanp, hlen); in main()
437 dm_handle_free(hanp, hlen); in main()
447 size_t hlen; in main() local
466 &hlen); in main()
470 hlen); in main()
471 dm_LogHandle(hanp, hlen); in main()
483 dm_handle_free(hanp, hlen); in main()
493 size_t hlen; in main() local
500 rc = dm_path_to_handle(szTooLong, &hanp, &hlen); in main()
513 size_t hlen; in main() local
526 rc = dm_path_to_handle(PATH_NOTDIR, &hanp, &hlen); in main()
549 size_t hlen; in main() local
555 rc = dm_path_to_handle(FILE_NOTDMAPI, &hanp, &hlen); in main()
568 size_t hlen; in main() local
582 (void **)INVALID_ADDR, &hlen); in main()
721 size_t hlen; in main() local
727 rc = dm_path_to_handle("", &hanp, &hlen); in main()
730 hlen); in main()
731 dm_LogHandle(hanp, hlen); in main()
733 if (dm_handle_cmp(mtpthanp, mtpthlen, hanp, hlen) == 0) { in main()
752 dm_handle_free(hanp, hlen); in main()
761 size_t hlen; in main() local
767 rc = dm_path_to_handle(CURRENT_DIR, &hanp, &hlen); in main()
770 hlen); in main()
771 dm_LogHandle(hanp, hlen); in main()
773 if (dm_handle_cmp(mtpthanp, mtpthlen, hanp, hlen) == 0) { in main()
792 dm_handle_free(hanp, hlen); in main()
803 size_t hlen; in main() local
809 rc = dm_fd_to_handle(INVALID_ADDR, &hanp, &hlen); in main()
822 size_t hlen; in main() local
835 rc = dm_fd_to_handle(fd, &hanp, &hlen); in main()
839 hlen); in main()
840 dm_LogHandle(hanp, hlen); in main()
852 dm_handle_free(hanp, hlen); in main()
863 size_t hlen; in main() local
887 rc = dm_fd_to_handle(fd_l, &hanp, &hlen); in main()
891 hlen); in main()
892 dm_LogHandle(hanp, hlen); in main()
906 dm_handle_free(hanp, hlen); in main()
917 size_t hlen; in main() local
934 rc = dm_fd_to_handle(fd, &hanp, &hlen); in main()
938 hlen); in main()
939 dm_LogHandle(hanp, hlen); in main()
951 dm_handle_free(hanp, hlen); in main()
962 size_t hlen; in main() local
982 rc = dm_fd_to_handle(fd, &hanp, &hlen); in main()
986 hlen); in main()
987 dm_LogHandle(hanp, hlen); in main()
1000 dm_handle_free(hanp, hlen); in main()
1011 size_t hlen; in main() local
1041 rc = dm_fd_to_handle(fd_l, &hanp, &hlen); in main()
1045 hlen); in main()
1046 dm_LogHandle(hanp, hlen); in main()
1061 dm_handle_free(hanp, hlen); in main()
1072 size_t hlen; in main() local
1093 rc = dm_fd_to_handle(fd, &hanp, &hlen); in main()
1097 hlen); in main()
1098 dm_LogHandle(hanp, hlen); in main()
1111 dm_handle_free(hanp, hlen); in main()
1125 size_t hlen; in main() local
1138 rc = dm_fd_to_handle(fd, &hanp, &hlen); in main()
1158 size_t hlen; in main() local
1171 rc = dm_fd_to_handle(fd, (void **)INVALID_ADDR, &hlen); in main()
1230 size_t hlen; in main() local
1236 rc = dm_fd_to_handle(0, &hanp, &hlen); in main()
1248 size_t hlen; in main() local
1254 rc = dm_fd_to_handle(1, &hanp, &hlen); in main()
1266 size_t hlen; in main() local
1272 rc = dm_fd_to_handle(2, &hanp, &hlen); in main()
1285 size_t hlen; in main() local
1302 rc = dm_fd_to_handle(fd, &hanp, &hlen); in main()
1326 size_t hlen; in main() local
1332 rc = dm_path_to_fshandle((char *)INVALID_ADDR, &hanp, &hlen); in main()
1344 size_t hlen; in main() local
1351 rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen); in main()
1364 size_t hlen; in main() local
1377 rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen); in main()
1381 hlen); in main()
1382 dm_LogHandle(hanp, hlen); in main()
1394 dm_handle_free(hanp, hlen); in main()
1405 size_t hlen; in main() local
1425 rc = dm_path_to_fshandle(DUMMY_LINK, &hanp, &hlen); in main()
1429 hlen); in main()
1430 dm_LogHandle(hanp, hlen); in main()
1443 dm_handle_free(hanp, hlen); in main()
1453 size_t hlen; in main() local
1466 rc = dm_path_to_fshandle(DUMMY_SUBDIR, &hanp, &hlen); in main()
1470 hlen); in main()
1471 dm_LogHandle(hanp, hlen); in main()
1482 dm_handle_free(hanp, hlen); in main()
1492 size_t hlen; in main() local
1507 &hlen); in main()
1527 size_t hlen; in main() local
1548 &hlen); in main()
1552 hlen); in main()
1553 dm_LogHandle(hanp, hlen); in main()
1566 dm_handle_free(hanp, hlen); in main()
1577 size_t hlen; in main() local
1603 &hlen); in main()
1607 hlen); in main()
1608 dm_LogHandle(hanp, hlen); in main()
1622 dm_handle_free(hanp, hlen); in main()
1632 size_t hlen; in main() local
1651 &hlen); in main()
1655 hlen); in main()
1656 dm_LogHandle(hanp, hlen); in main()
1668 dm_handle_free(hanp, hlen); in main()
1678 size_t hlen; in main() local
1685 rc = dm_path_to_fshandle(szTooLong, &hanp, &hlen); in main()
1698 size_t hlen; in main() local
1711 rc = dm_path_to_fshandle(PATH_NOTDIR, &hanp, &hlen); in main()
1734 size_t hlen; in main() local
1740 rc = dm_path_to_fshandle(FILE_NOTDMAPI, &hanp, &hlen); in main()
1753 size_t hlen; in main() local
1767 (void **)INVALID_ADDR, &hlen); in main()
1826 size_t hlen; in main() local
1832 rc = dm_path_to_fshandle("", &hanp, &hlen); in main()
1835 hlen); in main()
1836 dm_LogHandle(hanp, hlen); in main()
1841 dm_handle_free(hanp, hlen); in main()
1850 size_t hlen; in main() local
1856 rc = dm_path_to_fshandle(CURRENT_DIR, &hanp, &hlen); in main()
1859 hlen); in main()
1860 dm_LogHandle(hanp, hlen); in main()
1865 dm_handle_free(hanp, hlen); in main()
1878 size_t hlen, fshlen; in main() local
1885 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
1898 rc = dm_handle_to_fshandle((void *)INVALID_ADDR, hlen, in main()
1910 dm_handle_free(hanp, hlen); in main()
1926 size_t hlen, fshlen; in main() local
1933 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
1958 dm_handle_free(hanp, hlen); in main()
1969 size_t hlen, fshlen; in main() local
1976 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
1989 rc = dm_handle_to_fshandle(hanp, hlen, &fshanp, in main()
2007 dm_handle_free(hanp, hlen); in main()
2018 size_t hlen, fshlen; in main() local
2023 } else if ((rc = dm_path_to_handle(DUMMY_SUBDIR, &hanp, &hlen)) in main()
2036 rc = dm_handle_to_fshandle(hanp, hlen, &fshanp, in main()
2053 dm_handle_free(hanp, hlen); in main()
2065 size_t hlen, fshlen; in main() local
2072 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
2085 rc = dm_handle_to_fshandle(hanp, hlen, &fshanp, in main()
2103 dm_handle_free(hanp, hlen); in main()
2116 size_t hlen, fshlen; in main() local
2123 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
2136 rc = dm_handle_to_fshandle(hanp, hlen, in main()
2149 dm_handle_free(hanp, hlen); in main()
2166 size_t hlen; in main() local
2173 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
2186 rc = dm_handle_to_fshandle(hanp, hlen, &fshanp, in main()
2198 dm_handle_free(hanp, hlen); in main()
2236 size_t hlen; in main() local
2243 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
2257 rc = dm_handle_cmp((char *)INVALID_ADDR, hlen, hanp, in main()
2258 hlen); in main()
2279 dm_handle_free(hanp, hlen); in main()
2295 size_t hlen; in main() local
2302 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
2316 rc = dm_handle_cmp(hanp, INVALID_ADDR, hanp, hlen); in main()
2337 dm_handle_free(hanp, hlen); in main()
2349 size_t hlen; in main() local
2356 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
2370 rc = dm_handle_cmp(hanp, hlen, (char *)INVALID_ADDR, in main()
2371 hlen); in main()
2392 dm_handle_free(hanp, hlen); in main()
2408 size_t hlen; in main() local
2415 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
2429 rc = dm_handle_cmp(hanp, hlen, hanp, INVALID_ADDR); in main()
2450 dm_handle_free(hanp, hlen); in main()
2461 size_t hlen; in main() local
2468 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
2482 rc = dm_handle_cmp(hanp, hlen, hanp, hlen + 1); in main()
2503 dm_handle_free(hanp, hlen); in main()
2514 size_t hlen; in main() local
2521 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
2536 rc = dm_handle_cmp(hanp, hlen, hanp, hlen); in main()
2557 dm_handle_free(hanp, hlen); in main()
2568 size_t hlen; in main() local
2575 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
2590 rc = dm_handle_cmp(hanp, hlen, hanp, hlen); in main()
2611 dm_handle_free(hanp, hlen); in main()
2622 size_t hlen; in main() local
2629 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
2643 rc = dm_handle_cmp(hanp, hlen, hanp, hlen - 1); in main()
2664 dm_handle_free(hanp, hlen); in main()
3086 size_t hlen; in main() local
3093 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
3109 hlen); in main()
3130 dm_handle_free(hanp, hlen); in main()
3165 size_t hlen; in main() local
3172 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
3186 dm_handle_free(hanp, hlen); in main()
3208 size_t hlen; in main() local
3215 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
3228 dm_handle_free(hanp, hlen); in main()
3250 size_t hlen; in main() local
3257 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
3271 dm_handle_free(hanp, hlen); in main()
3501 size_t hlen; in main() local
3508 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
3522 bRC = dm_handle_is_valid(hanp, hlen); in main()
3533 dm_handle_free(hanp, hlen); in main()
3544 size_t hlen; in main() local
3551 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
3565 bRC = dm_handle_is_valid(hanp, hlen - 1); in main()
3576 dm_handle_free(hanp, hlen); in main()
3587 size_t hlen; in main() local
3594 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
3608 bRC = dm_handle_is_valid(hanp, hlen + 1); in main()
3619 dm_handle_free(hanp, hlen); in main()
3630 size_t hlen; in main() local
3637 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
3649 memset(hanp, 0, hlen); in main()
3652 bRC = dm_handle_is_valid(hanp, hlen); in main()
3663 dm_handle_free(hanp, hlen); in main()
3674 size_t hlen; in main() local
3681 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
3694 bRC = dm_handle_is_valid(hanp, hlen); in main()
3705 dm_handle_free(hanp, hlen); in main()
3716 size_t hlen; in main() local
3723 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
3737 bRC = dm_handle_is_valid(hanp, hlen - 1); in main()
3748 dm_handle_free(hanp, hlen); in main()
3759 size_t hlen; in main() local
3766 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
3780 bRC = dm_handle_is_valid(hanp, hlen + 1); in main()
3791 dm_handle_free(hanp, hlen); in main()
3802 size_t hlen; in main() local
3809 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
3821 memset(hanp, 0, hlen); in main()
3824 bRC = dm_handle_is_valid(hanp, hlen); in main()
3835 dm_handle_free(hanp, hlen); in main()
3901 size_t hlen; in main() local
3908 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
3922 rc = dm_handle_hash(hanp, hlen); in main()
3935 dm_handle_free(hanp, hlen); in main()
3946 size_t hlen; in main() local
3953 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
3966 rc = dm_handle_hash(hanp, hlen); in main()
3979 dm_handle_free(hanp, hlen); in main()
4040 size_t hlen; in main() local
4047 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
4061 rc = dm_handle_to_fsid(hanp, hlen, in main()
4073 dm_handle_free(hanp, hlen); in main()
4089 size_t hlen, fshlen; in main() local
4097 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
4107 dm_handle_free(hanp, hlen); in main()
4118 rc = dm_handle_to_fsid(hanp, hlen, &fsidp); in main()
4148 dm_handle_free(hanp, hlen); in main()
4160 size_t hlen, fshlen; in main() local
4168 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
4178 dm_handle_free(hanp, hlen); in main()
4188 rc = dm_handle_to_fsid(hanp, hlen, &fsidp); in main()
4218 dm_handle_free(hanp, hlen); in main()
4274 size_t hlen; in main() local
4281 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
4295 rc = dm_handle_to_igen(hanp, hlen, in main()
4307 dm_handle_free(hanp, hlen); in main()
4323 size_t hlen; in main() local
4331 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
4345 rc = dm_handle_to_igen(hanp, hlen, &igen); in main()
4356 dm_handle_free(hanp, hlen); in main()
4366 size_t hlen; in main() local
4372 } else if ((rc = dm_path_to_handle(DUMMY_SUBDIR, &hanp, &hlen)) in main()
4385 rc = dm_handle_to_igen(hanp, hlen, &igen); in main()
4395 dm_handle_free(hanp, hlen); in main()
4406 size_t hlen; in main() local
4414 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
4428 rc = dm_handle_to_igen(hanp, hlen, &igen); in main()
4439 dm_handle_free(hanp, hlen); in main()
4449 size_t hlen; in main() local
4458 &hlen)) == -1) { in main()
4470 rc = dm_handle_to_igen(hanp, hlen, &igen); in main()
4480 dm_handle_free(hanp, hlen); in main()
4535 size_t hlen; in main() local
4542 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
4556 rc = dm_handle_to_ino(hanp, hlen, in main()
4568 dm_handle_free(hanp, hlen); in main()
4584 size_t hlen; in main() local
4592 } else if ((rc = dm_path_to_handle(DUMMY_FILE, &hanp, &hlen)) == in main()
4606 rc = dm_handle_to_ino(hanp, hlen, &ino); in main()
4647 dm_handle_free(hanp, hlen); in main()
4657 size_t hlen; in main() local
4663 } else if ((rc = dm_path_to_handle(DUMMY_SUBDIR, &hanp, &hlen)) in main()
4676 rc = dm_handle_to_ino(hanp, hlen, &ino); in main()
4716 dm_handle_free(hanp, hlen); in main()
4727 size_t hlen; in main() local
4735 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
4749 rc = dm_handle_to_ino(hanp, hlen, &ino); in main()
4760 dm_handle_free(hanp, hlen); in main()
4770 size_t hlen; in main() local
4779 &hlen)) == -1) { in main()
4791 rc = dm_handle_to_ino(hanp, hlen, &ino); in main()
4801 dm_handle_free(hanp, hlen); in main()
4830 size_t hlen; in main() local
4839 &hanp, &hlen); in main()
4857 size_t hlen; in main() local
4866 &hanp, &hlen); in main()
4884 size_t hlen; in main() local
4893 &hanp, &hlen); in main()
4910 size_t hlen; in main() local
4920 &hlen); in main()
5117 size_t hlen; in main() local
5123 rc = dm_make_fshandle((dm_fsid_t *) INVALID_ADDR, &hanp, &hlen); in main()
5140 size_t hlen; in main() local
5147 rc = dm_make_fshandle(&fsid, (void **)INVALID_ADDR, &hlen); in main()
6652 size_t hlen; in main() local
6659 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
6672 rc = dm_sync_by_handle(INVALID_ADDR, hanp, hlen, in main()
6684 dm_handle_free(hanp, hlen); in main()
6695 size_t hlen; in main() local
6702 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
6715 rc = dm_sync_by_handle(DM_NO_SESSION, hanp, hlen, in main()
6727 dm_handle_free(hanp, hlen); in main()
6738 size_t hlen; in main() local
6745 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
6758 rc = dm_sync_by_handle(sid, (void *)INVALID_ADDR, hlen, in main()
6770 dm_handle_free(hanp, hlen); in main()
6781 size_t hlen; in main() local
6788 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
6813 dm_handle_free(hanp, hlen); in main()
6824 size_t hlen; in main() local
6831 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
6844 rc = dm_sync_by_handle(sid, hanp, hlen, INVALID_ADDR); in main()
6855 dm_handle_free(hanp, hlen); in main()
6866 size_t hlen; in main() local
6873 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
6882 dm_handle_free(hanp, hlen); in main()
6893 rc = dm_sync_by_handle(sid, hanp, hlen, DM_NO_TOKEN); in main()
6904 dm_handle_free(hanp, hlen); in main()
6914 size_t hlen; in main() local
6919 } else if ((rc = dm_path_to_handle(DUMMY_SUBDIR, &hanp, &hlen)) in main()
6932 rc = dm_sync_by_handle(sid, hanp, hlen, DM_NO_TOKEN); in main()
6942 dm_handle_free(hanp, hlen); in main()
6953 size_t hlen; in main() local
6960 } else if ((rc = dm_path_to_fshandle(DUMMY_FILE, &hanp, &hlen)) in main()
6973 rc = dm_sync_by_handle(sid, hanp, hlen, DM_NO_TOKEN); in main()
6984 dm_handle_free(hanp, hlen); in main()
7011 size_t hlen; in main() local
7018 } else if ((rc = dm_fd_to_handle(fd, &hanp, &hlen)) == -1) { in main()
7023 dm_handle_free(hanp, hlen); in main()
7025 dm_handle_free(hanp, hlen); in main()
7036 rc = dm_sync_by_handle(sid, hanp, hlen, DM_NO_TOKEN); in main()
7040 dm_handle_free(hanp, hlen); in main()