OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sample_str_1
(Results
1 - 3
of
3
) sorted by null
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strncpy/
1-1.c
55
char *
sample_str_1
;
local
61
sample_str_1
= random_string(i);
64
ret_str = strncpy(sample_str_2,
sample_str_1
, num_bytes);
67
sample_str_1
[num_bytes] = '\0';
69
if (strcmp(sample_str_2,
sample_str_1
) != 0
73
,
sample_str_1
, sample_str_2);
81
free(
sample_str_1
);
2-1.c
56
char *
sample_str_1
;
local
62
sample_str_1
= random_string(i);
63
ret_str = strncpy(sample_str_2,
sample_str_1
, i + EXTRA_BYTES);
66
if (strcmp(
sample_str_1
, sample_str_2) != 0) {
69
,
sample_str_1
, sample_str_2);
78
for (j = strlen(
sample_str_1
); j < i + EXTRA_BYTES; j++) {
90
free(
sample_str_1
);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strcpy/
1-1.c
53
char *
sample_str_1
;
local
59
sample_str_1
= random_string(i);
60
ret_str = strcpy(sample_str_2,
sample_str_1
);
62
if (strcmp(
sample_str_1
, sample_str_2) != 0) {
65
,
sample_str_1
, sample_str_2);
73
free(
sample_str_1
);
Completed in 211 milliseconds