- t2ex
- bsd_source/lib/libc/src_bsd/search/hcreate.c - 5.7KB - 186 lines
177:
178: ie = malloc(sizeof *ie);
179: if (ie == NULL)
- bsd_source/lib/libc/src_bsd/search/tsearch.c - 3.8KB - 119 lines
42: }
43: q = (node *) malloc(sizeof(node)); /* T5: key not found */
44: if (q != (struct node_t *)0) { /* make new node */
- bsd_source/lib/libc/src_bsd/stdio/findfp.c - 7.8KB - 239 lines
97:
98: data = malloc(sizeof(*g) + ALIGNBYTES + n * sizeof(FILE)
99: + n * sizeof(struct __sfileext));
- bsd_source/lib/libc/src_bsd/stdio/makebuf.c - 3.8KB - 107 lines
61: flags = __swhatbuf(fp, &size, &couldbetty);
62: if ((p = malloc(size)) == NULL) {
63: fp->_flags |= __SNBF;
- bsd_source/lib/libc/src_bsd/stdio/setvbuf.c - 5.6KB - 154 lines
92: if (buf == NULL) {
93: if ((buf = malloc(size)) == NULL) {
94: /*
- More results from setvbuf.c
- bsd_source/lib/libc/src_bsd/stdio/ungetc.c - 5.3KB - 156 lines
57: */
58: if ((p = malloc((size_t)BUFSIZ)) == NULL)
59: return (EOF);
- bsd_source/lib/libc/src_bsd/stdio/vfprintf.c - 58.5KB - 1,551 lines
198: }
199: if ((convbuf = malloc(nbytes + 1)) == NULL)
200: return (NULL);
- bsd_source/lib/libc/src_bsd/stdlib/realpath.c - 8.9KB - 212 lines
62: if (resolved == NULL) {
63: resolved = malloc(PATH_MAX);
64: if (resolved == NULL)
- bsd_source/lib/libc/src_bsd/string/strdup.c - 2.0KB - 49 lines
44: siz = strlen(str) + 1;
45: if ((copy = malloc(siz)) == NULL)
46: return(NULL);
- bsd_source/lib/libc/src_bsd/time/strftime.c - 33.3KB - 791 lines
733: locale_buf = NULL;
734: nlbuf = (lbuf == NULL) ? malloc(bufsize) : realloc(lbuf, bufsize);
735: if (nlbuf == NULL) {