/external/strace/tests/ |
D | execve.c | 130 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main() 131 fill_memory_ex(str_a, DEFAULT_STRLEN + 1, '0', 10); in main() 132 str_a[DEFAULT_STRLEN + 1] = '\0'; in main() 134 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main() 135 fill_memory_ex(str_b, DEFAULT_STRLEN + 1, '_', 32); in main() 136 str_b[DEFAULT_STRLEN + 1] = '\0'; in main() 138 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main() 139 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main() 141 for (i = 0; i <= DEFAULT_STRLEN; ++i) { in main() 148 printf("execve(\"%s\", [\"%.*s\"...", Q_FILENAME, DEFAULT_STRLEN, a[0]); in main() [all …]
|
D | execveat.c | 136 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main() 137 fill_memory_ex(str_a, DEFAULT_STRLEN + 1, '0', 10); in main() 138 str_a[DEFAULT_STRLEN + 1] = '\0'; in main() 140 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main() 141 fill_memory_ex(str_b, DEFAULT_STRLEN + 1, '_', 32); in main() 142 str_b[DEFAULT_STRLEN + 1] = '\0'; in main() 144 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main() 145 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main() 147 for (i = 0; i <= DEFAULT_STRLEN; ++i) { in main() 154 printf("execveat(AT_FDCWD, \"%s\", [\"%.*s\"...", Q_FILENAME, DEFAULT_STRLEN, a[0]); in main() [all …]
|
D | netlink_kobject_uevent.c | 43 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); in main() 45 fill_memory_ex(buf + 1, DEFAULT_STRLEN, 0, DEFAULT_STRLEN); in main() 47 rc = sendto(fd, buf + 1, DEFAULT_STRLEN, MSG_DONTWAIT, NULL, 0); in main() 49 print_quoted_memory(buf + 1, DEFAULT_STRLEN); in main() 51 DEFAULT_STRLEN, sprintrc(rc)); in main() 53 rc = sendto(fd, buf, DEFAULT_STRLEN + 1, MSG_DONTWAIT, NULL, 0); in main() 55 print_quoted_memory(buf, DEFAULT_STRLEN); in main() 57 DEFAULT_STRLEN + 1, sprintrc(rc)); in main()
|
D | printstr.c | 41 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); in main() 52 memset(buf + 1, 'X', DEFAULT_STRLEN); in main() 53 buf[DEFAULT_STRLEN - 1] = 0; in main() 57 " = %s\n", DEFAULT_STRLEN - 2, buf + 1, -1UL, sprintrc(rc)); in main() 59 buf[DEFAULT_STRLEN - 1] = 'X'; in main() 60 buf[DEFAULT_STRLEN] = 0; in main() 64 " = %s\n", DEFAULT_STRLEN - 1, buf + 1, -1UL, sprintrc(rc)); in main()
|
D | s390_pci_mmio_read_write.c | 60 len > DEFAULT_STRLEN ? DEFAULT_STRLEN : len); in do_call() 62 if (len > DEFAULT_STRLEN) in do_call() 84 static const size_t buf_size = DEFAULT_STRLEN + 10; in main() 112 DEFAULT_STRLEN / 2, in main() 113 DEFAULT_STRLEN - 10, in main() 114 DEFAULT_STRLEN, in main() 115 DEFAULT_STRLEN + 1, in main() 131 DEFAULT_STRLEN + 1); in main()
|
D | nlattr_crypto_user_alg.c | 80 char *const str = tail_alloc(DEFAULT_STRLEN); in main() 81 fill_memory_ex(str, DEFAULT_STRLEN, '0', 10); in main() 85 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main() 86 printf("{type=\"%.*s\"...}", DEFAULT_STRLEN, str)); in main() 87 str[DEFAULT_STRLEN - 1] = '\0'; in main() 91 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main()
|
D | nlattr_inet_diag_msg.c | 196 char *const str = tail_alloc(DEFAULT_STRLEN); in main() 197 fill_memory_ex(str, DEFAULT_STRLEN, '0', 10); in main() 200 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main() 201 printf("\"%.*s\"...", DEFAULT_STRLEN, str)); in main() 202 str[DEFAULT_STRLEN - 1] = '\0'; in main() 205 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main()
|
D | nlattr_inet_diag_req_v2.c | 123 const unsigned int plen = sizeof(cond) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_s_cond() 124 sizeof(op) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_s_cond() 176 const unsigned int plen = sizeof(addr) - 1 > DEFAULT_STRLEN ? in test_in_addr() 177 sizeof(cond) + sizeof(cond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_in_addr() 227 const unsigned int plen = sizeof(addr) - 1 > DEFAULT_STRLEN ? in test_in6_addr() 228 sizeof(cond) + sizeof(cond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_in6_addr() 313 const unsigned int plen = sizeof(op[1]) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_s_le() 314 sizeof(op[0]) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_s_le() 356 const unsigned int plen = sizeof(markcond) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_mark_cond() 357 sizeof(markcond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_mark_cond()
|
/external/strace/tests-m32/ |
D | execve.c | 130 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main() 131 fill_memory_ex(str_a, DEFAULT_STRLEN + 1, '0', 10); in main() 132 str_a[DEFAULT_STRLEN + 1] = '\0'; in main() 134 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main() 135 fill_memory_ex(str_b, DEFAULT_STRLEN + 1, '_', 32); in main() 136 str_b[DEFAULT_STRLEN + 1] = '\0'; in main() 138 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main() 139 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main() 141 for (i = 0; i <= DEFAULT_STRLEN; ++i) { in main() 148 printf("execve(\"%s\", [\"%.*s\"...", Q_FILENAME, DEFAULT_STRLEN, a[0]); in main() [all …]
|
D | execveat.c | 136 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main() 137 fill_memory_ex(str_a, DEFAULT_STRLEN + 1, '0', 10); in main() 138 str_a[DEFAULT_STRLEN + 1] = '\0'; in main() 140 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main() 141 fill_memory_ex(str_b, DEFAULT_STRLEN + 1, '_', 32); in main() 142 str_b[DEFAULT_STRLEN + 1] = '\0'; in main() 144 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main() 145 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main() 147 for (i = 0; i <= DEFAULT_STRLEN; ++i) { in main() 154 printf("execveat(AT_FDCWD, \"%s\", [\"%.*s\"...", Q_FILENAME, DEFAULT_STRLEN, a[0]); in main() [all …]
|
D | netlink_kobject_uevent.c | 43 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); in main() 45 fill_memory_ex(buf + 1, DEFAULT_STRLEN, 0, DEFAULT_STRLEN); in main() 47 rc = sendto(fd, buf + 1, DEFAULT_STRLEN, MSG_DONTWAIT, NULL, 0); in main() 49 print_quoted_memory(buf + 1, DEFAULT_STRLEN); in main() 51 DEFAULT_STRLEN, sprintrc(rc)); in main() 53 rc = sendto(fd, buf, DEFAULT_STRLEN + 1, MSG_DONTWAIT, NULL, 0); in main() 55 print_quoted_memory(buf, DEFAULT_STRLEN); in main() 57 DEFAULT_STRLEN + 1, sprintrc(rc)); in main()
|
D | printstr.c | 41 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); in main() 52 memset(buf + 1, 'X', DEFAULT_STRLEN); in main() 53 buf[DEFAULT_STRLEN - 1] = 0; in main() 57 " = %s\n", DEFAULT_STRLEN - 2, buf + 1, -1UL, sprintrc(rc)); in main() 59 buf[DEFAULT_STRLEN - 1] = 'X'; in main() 60 buf[DEFAULT_STRLEN] = 0; in main() 64 " = %s\n", DEFAULT_STRLEN - 1, buf + 1, -1UL, sprintrc(rc)); in main()
|
D | s390_pci_mmio_read_write.c | 60 len > DEFAULT_STRLEN ? DEFAULT_STRLEN : len); in do_call() 62 if (len > DEFAULT_STRLEN) in do_call() 84 static const size_t buf_size = DEFAULT_STRLEN + 10; in main() 112 DEFAULT_STRLEN / 2, in main() 113 DEFAULT_STRLEN - 10, in main() 114 DEFAULT_STRLEN, in main() 115 DEFAULT_STRLEN + 1, in main() 131 DEFAULT_STRLEN + 1); in main()
|
D | nlattr_crypto_user_alg.c | 80 char *const str = tail_alloc(DEFAULT_STRLEN); in main() 81 fill_memory_ex(str, DEFAULT_STRLEN, '0', 10); in main() 85 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main() 86 printf("{type=\"%.*s\"...}", DEFAULT_STRLEN, str)); in main() 87 str[DEFAULT_STRLEN - 1] = '\0'; in main() 91 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main()
|
D | nlattr_inet_diag_msg.c | 196 char *const str = tail_alloc(DEFAULT_STRLEN); in main() 197 fill_memory_ex(str, DEFAULT_STRLEN, '0', 10); in main() 200 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main() 201 printf("\"%.*s\"...", DEFAULT_STRLEN, str)); in main() 202 str[DEFAULT_STRLEN - 1] = '\0'; in main() 205 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main()
|
D | nlattr_inet_diag_req_v2.c | 123 const unsigned int plen = sizeof(cond) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_s_cond() 124 sizeof(op) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_s_cond() 176 const unsigned int plen = sizeof(addr) - 1 > DEFAULT_STRLEN ? in test_in_addr() 177 sizeof(cond) + sizeof(cond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_in_addr() 227 const unsigned int plen = sizeof(addr) - 1 > DEFAULT_STRLEN ? in test_in6_addr() 228 sizeof(cond) + sizeof(cond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_in6_addr() 313 const unsigned int plen = sizeof(op[1]) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_s_le() 314 sizeof(op[0]) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_s_le() 356 const unsigned int plen = sizeof(markcond) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_mark_cond() 357 sizeof(markcond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_mark_cond()
|
/external/strace/tests-mx32/ |
D | execve.c | 130 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main() 131 fill_memory_ex(str_a, DEFAULT_STRLEN + 1, '0', 10); in main() 132 str_a[DEFAULT_STRLEN + 1] = '\0'; in main() 134 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main() 135 fill_memory_ex(str_b, DEFAULT_STRLEN + 1, '_', 32); in main() 136 str_b[DEFAULT_STRLEN + 1] = '\0'; in main() 138 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main() 139 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main() 141 for (i = 0; i <= DEFAULT_STRLEN; ++i) { in main() 148 printf("execve(\"%s\", [\"%.*s\"...", Q_FILENAME, DEFAULT_STRLEN, a[0]); in main() [all …]
|
D | execveat.c | 136 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main() 137 fill_memory_ex(str_a, DEFAULT_STRLEN + 1, '0', 10); in main() 138 str_a[DEFAULT_STRLEN + 1] = '\0'; in main() 140 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main() 141 fill_memory_ex(str_b, DEFAULT_STRLEN + 1, '_', 32); in main() 142 str_b[DEFAULT_STRLEN + 1] = '\0'; in main() 144 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main() 145 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main() 147 for (i = 0; i <= DEFAULT_STRLEN; ++i) { in main() 154 printf("execveat(AT_FDCWD, \"%s\", [\"%.*s\"...", Q_FILENAME, DEFAULT_STRLEN, a[0]); in main() [all …]
|
D | netlink_kobject_uevent.c | 43 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); in main() 45 fill_memory_ex(buf + 1, DEFAULT_STRLEN, 0, DEFAULT_STRLEN); in main() 47 rc = sendto(fd, buf + 1, DEFAULT_STRLEN, MSG_DONTWAIT, NULL, 0); in main() 49 print_quoted_memory(buf + 1, DEFAULT_STRLEN); in main() 51 DEFAULT_STRLEN, sprintrc(rc)); in main() 53 rc = sendto(fd, buf, DEFAULT_STRLEN + 1, MSG_DONTWAIT, NULL, 0); in main() 55 print_quoted_memory(buf, DEFAULT_STRLEN); in main() 57 DEFAULT_STRLEN + 1, sprintrc(rc)); in main()
|
D | printstr.c | 41 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); in main() 52 memset(buf + 1, 'X', DEFAULT_STRLEN); in main() 53 buf[DEFAULT_STRLEN - 1] = 0; in main() 57 " = %s\n", DEFAULT_STRLEN - 2, buf + 1, -1UL, sprintrc(rc)); in main() 59 buf[DEFAULT_STRLEN - 1] = 'X'; in main() 60 buf[DEFAULT_STRLEN] = 0; in main() 64 " = %s\n", DEFAULT_STRLEN - 1, buf + 1, -1UL, sprintrc(rc)); in main()
|
D | s390_pci_mmio_read_write.c | 60 len > DEFAULT_STRLEN ? DEFAULT_STRLEN : len); in do_call() 62 if (len > DEFAULT_STRLEN) in do_call() 84 static const size_t buf_size = DEFAULT_STRLEN + 10; in main() 112 DEFAULT_STRLEN / 2, in main() 113 DEFAULT_STRLEN - 10, in main() 114 DEFAULT_STRLEN, in main() 115 DEFAULT_STRLEN + 1, in main() 131 DEFAULT_STRLEN + 1); in main()
|
D | nlattr_crypto_user_alg.c | 80 char *const str = tail_alloc(DEFAULT_STRLEN); in main() 81 fill_memory_ex(str, DEFAULT_STRLEN, '0', 10); in main() 85 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main() 86 printf("{type=\"%.*s\"...}", DEFAULT_STRLEN, str)); in main() 87 str[DEFAULT_STRLEN - 1] = '\0'; in main() 91 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main()
|
D | nlattr_inet_diag_msg.c | 196 char *const str = tail_alloc(DEFAULT_STRLEN); in main() 197 fill_memory_ex(str, DEFAULT_STRLEN, '0', 10); in main() 200 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main() 201 printf("\"%.*s\"...", DEFAULT_STRLEN, str)); in main() 202 str[DEFAULT_STRLEN - 1] = '\0'; in main() 205 DEFAULT_STRLEN, str, DEFAULT_STRLEN, in main()
|
D | nlattr_inet_diag_req_v2.c | 123 const unsigned int plen = sizeof(cond) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_s_cond() 124 sizeof(op) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_s_cond() 176 const unsigned int plen = sizeof(addr) - 1 > DEFAULT_STRLEN ? in test_in_addr() 177 sizeof(cond) + sizeof(cond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_in_addr() 227 const unsigned int plen = sizeof(addr) - 1 > DEFAULT_STRLEN ? in test_in6_addr() 228 sizeof(cond) + sizeof(cond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_in6_addr() 313 const unsigned int plen = sizeof(op[1]) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_s_le() 314 sizeof(op[0]) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_s_le() 356 const unsigned int plen = sizeof(markcond) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_mark_cond() 357 sizeof(markcond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_mark_cond()
|
D | test_nlattr.h | 106 sizeof(obj_) - 1 > DEFAULT_STRLEN \ 107 ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \ 155 sizeof((obj_)[0]) - 1 > DEFAULT_STRLEN \ 156 ? DEFAULT_STRLEN : (int) sizeof((obj_)[0]) - 1; \ 212 sizeof(obj_) - 1 > DEFAULT_STRLEN \ 213 ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \ 272 sizeof((obj_)[0]) - 1 > DEFAULT_STRLEN \ 273 ? DEFAULT_STRLEN : (int) sizeof((obj_)[0]) - 1; \
|