Lines Matching defs:content
21 * @tc.desc : The parameter n is greater than the number of characters,and all content can be read.
34 char *content = fgets(str, 100, fptr);
35 if (strcmp(content, "this is a test\n") == 0) {
48 * @tc.desc : The parameter n is greater than 2,and part of the content can be read.
61 char *content = fgets(str, 5, fptr);
62 if (strcmp(content, "this") == 0) {
74 * @tc.desc : The parameter n is equal to 2,and part of the content can be read.
87 char *content = fgets(str, 2, fptr);
88 if (strcmp(content, "t") == 0) {
100 * @tc.desc : The parameter n is equal to 1,and the content cannot be read.
113 char *content = fgets(str, 1, fptr);
114 if (*content == 0) {
126 * @tc.desc : The parameter n is equal to 0,and the content cannot be read.
139 char *content = fgets(str, 0, fptr);
140 if (content == NULL) {
152 * @tc.desc : Points to the end of the file,and the content cannot be read.
165 char *content = fgets(str, 100, fptr);
166 if (content == NULL) {