Home | History | Annotate | Download | only in test

Lines Matching refs:len

43     size_t len;
46 len = rand() % 15;
47 str = malloc(len + 1);
50 for (size_t i = 0; i < len; i++)
54 str[len] = '\0';
57 *len_out = len;
66 size_t len;
85 random_string(&arr[i].string, &arr[i].len);
87 atom = atom_lookup(table, arr[i].string, arr[i].len);
92 if (arr[i].len != strlen(string) ||
93 strncmp(string, arr[i].string, arr[i].len) != 0) {
98 arr[i].len, (int) arr[i].len, arr[i].string);
108 arr[i].atom = atom_intern(table, arr[i].string, arr[i].len, false);
110 fprintf(stderr, "failed to intern! len: %lu, string: %.*s\n",
111 arr[i].len, (int) arr[i].len, arr[i].string);
120 if (arr[i].len != strlen(string) ||
121 strncmp(string, arr[i].string, arr[i].len) != 0) {
126 arr[i].len, (int) arr[i].len, arr[i].string);
133 arr[i].len, (int) arr[i].len, arr[i].string);