Lines Matching refs:bos

299     size_t bos = __bos(buf);
302 * Clang responds bos==0 if buf==NULL
306 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE || buf == NULL) {
310 return __getcwd_chk(buf, size, bos);
327 size_t bos = __bos0(buf);
333 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos);
348 size_t bos = __bos0(buf);
350 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
354 return __pread64_chk(fd, buf, count, offset, bos);
373 size_t bos = __bos0(buf);
375 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
379 return __PWRITE_PREFIX(chk)(fd, buf, count, offset, bos);
396 size_t bos = __bos0(buf);
398 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
402 return __pwrite64_chk(fd, buf, count, offset, bos);
419 size_t bos = __bos0(buf);
421 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
425 return __read_chk(fd, buf, count, bos);
442 size_t bos = __bos0(buf);
444 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
448 return __write_chk(fd, buf, count, bos);
465 size_t bos = __bos(buf);
467 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
471 return __readlink_chk(path, buf, size, bos);
489 size_t bos = __bos(buf);
491 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
495 return __readlinkat_chk(dirfd, path, buf, size, bos);
531 size_t bos = __bos(buf);
533 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
537 if (__builtin_constant_p(size) && (size > bos)) {
541 if (__builtin_constant_p(size) && (size <= bos)) {
545 return __getcwd_chk(buf, size, bos);
552 size_t bos = __bos0(buf);
558 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
562 if (__builtin_constant_p(count) && (count > bos)) {
566 if (__builtin_constant_p(count) && (count <= bos)) {
570 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos);
575 size_t bos = __bos0(buf);
581 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
585 if (__builtin_constant_p(count) && (count > bos)) {
589 if (__builtin_constant_p(count) && (count <= bos)) {
593 return __pread64_chk(fd, buf, count, offset, bos);
600 size_t bos = __bos0(buf);
606 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
610 if (__builtin_constant_p(count) && (count > bos)) {
614 if (__builtin_constant_p(count) && (count <= bos)) {
618 return __PWRITE_PREFIX(chk)(fd, buf, count, offset, bos);
623 size_t bos = __bos0(buf);
629 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
633 if (__builtin_constant_p(count) && (count > bos)) {
637 if (__builtin_constant_p(count) && (count <= bos)) {
641 return __pwrite64_chk(fd, buf, count, offset, bos);
648 size_t bos = __bos0(buf);
654 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
658 if (__builtin_constant_p(count) && (count > bos)) {
662 if (__builtin_constant_p(count) && (count <= bos)) {
666 return __read_chk(fd, buf, count, bos);
673 size_t bos = __bos0(buf);
675 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
679 if (__builtin_constant_p(count) && (count > bos)) {
683 if (__builtin_constant_p(count) && (count <= bos)) {
687 return __write_chk(fd, buf, count, bos);
694 size_t bos = __bos(buf);
700 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
704 if (__builtin_constant_p(size) && (size > bos)) {
708 if (__builtin_constant_p(size) && (size <= bos)) {
712 return __readlink_chk(path, buf, size, bos);
717 size_t bos = __bos(buf);
723 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
727 if (__builtin_constant_p(size) && (size > bos)) {
731 if (__builtin_constant_p(size) && (size <= bos)) {
735 return __readlinkat_chk(dirfd, path, buf, size, bos);