Lines Matching defs:buffer
45 int dataasciigen(char *listofchars, char *buffer, int bsize, int offset)
54 chr = buffer;
73 int dataasciichk(char *listofchars, char *buffer, int bsize,
83 chr = buffer;
117 char *buffer;
121 buffer = malloc(size);
122 if (buffer == NULL) {
127 dataasciigen(NULL, buffer, size, 0);
128 printf("dataasciigen(NULL, buffer, %d, 0)\n", size);
130 ret = dataasciichk(NULL, buffer, size, 0, &errmsg);
131 printf("dataasciichk(NULL, buffer, %d, 0, &errmsg) returned %d %s\n",
139 ret = dataasciichk(NULL, &buffer[1], size - 1, 1, &errmsg);
140 printf("dataasciichk(NULL, &buffer[1], %d, 1, &errmsg) returned %d %s\n",
148 buffer[25] = 0x0;
151 ret = dataasciichk(NULL, &buffer[1], size - 1, 1, &errmsg);
152 printf("dataasciichk(NULL, &buffer[1], %d, 1, &errmsg) returned %d %s\n",
160 dataasciigen("this is a test of the my string", buffer, size, 0);
161 printf("dataasciigen(\"this is a test of the my string\", buffer, %d, 0)\n",
165 buffer, size, 0, &errmsg);
166 printf("dataasciichk(\"this is a test of the my string\", buffer, %d, 0, &errmsg) returned %d %s\n",
175 dataasciichk("this is a test of the my string", &buffer[1],
177 printf("dataasciichk(\"this is a test of the my string\", &buffer[1], %d, 1, &errmsg) returned %d %s\n",
185 buffer[25] = 0x0;
188 ret = dataasciichk("this is a test of the my string", &buffer[1],
190 printf("dataasciichk(\"this is a test of the my string\", &buffer[1], %d, 1, &errmsg) returned %d %s\n",