NULL 21 include/cmem.h #define FREE(ptr) {free(ptr); ptr = NULL;} NULL 296 src/assemble.c { "", NULL } NULL 307 src/assemble.c { "", NULL } NULL 310 src/assemble.c ASPTR *asptr = NULL; NULL 373 src/assemble.c char *n = NULL; NULL 444 src/assemble.c if(cmdl->opd->opdv[0] != NULL) { NULL 569 src/assemble.c void (*cmdptr)() = NULL; NULL 691 src/assemble.c CMDLINE *cmdl = NULL; NULL 696 src/assemble.c if(cmdl != NULL) { NULL 706 src/assemble.c if(cmdl->opd != NULL) { NULL 726 src/assemble.c char *line = NULL; NULL 727 src/assemble.c FILE *fp = NULL; NULL 729 src/assemble.c if((fp = fopen(file, "r")) == NULL) { NULL 807 src/assemble.c FILE *fp = NULL; NULL 809 src/assemble.c if((fp = fopen(file, "w")) == NULL) { NULL 25 src/casl2.c { "source", no_argument, NULL, 's' }, NULL 26 src/casl2.c { "label", no_argument, NULL, 'l' }, NULL 27 src/casl2.c { "labelonly", no_argument, NULL, 'L' }, NULL 28 src/casl2.c { "assembledetail", no_argument, NULL, 'a' }, NULL 29 src/casl2.c { "assembledetailonly", no_argument, NULL, 'A' }, NULL 30 src/casl2.c { "assembleout", optional_argument, NULL, 'o' }, NULL 31 src/casl2.c { "assembleoutonly", optional_argument, NULL, 'O' }, NULL 32 src/casl2.c { "trace", no_argument, NULL, 't' }, NULL 33 src/casl2.c { "tracearithmetic", no_argument, NULL, 't' }, NULL 34 src/casl2.c { "tracelogical", no_argument, NULL, 'T' }, NULL 35 src/casl2.c { "dump", no_argument, NULL, 'd' }, NULL 36 src/casl2.c { "monitor", no_argument, NULL, 'm' }, NULL 37 src/casl2.c { "memorysize", required_argument, NULL, 'M' }, NULL 38 src/casl2.c { "clocks", required_argument, NULL, 'C' }, NULL 39 src/casl2.c { "version", no_argument, NULL, 'v' }, NULL 40 src/casl2.c { "help", no_argument, NULL, 'h' }, NULL 61 src/casl2.c (name == NULL || !name[0]) ? default_name : name, NULL 81 src/casl2.c char **asfile = NULL; NULL 82 src/casl2.c char *objfile = NULL; NULL 95 src/casl2.c while((opt = getopt_long(argc, argv, "tTdslLmao::O::AM:C:vh", longopts, NULL)) != -1) { NULL 154 src/casl2.c if(argv[optind] == NULL) { NULL 171 src/casl2.c if(objfile != NULL) { NULL 9 src/casl2rev.c {"version", no_argument, NULL, 'v' }, NULL 10 src/casl2rev.c {"help", no_argument, NULL, 'h'}, NULL 35 src/casl2rev.c while((opt = getopt_long(argc, argv, "vh", longopts, NULL)) != -1) { NULL 49 src/casl2rev.c if(argv[optind] == NULL) { NULL 9 src/cerr.c CERR *cerr = NULL; NULL 11 src/cerr.c CERRLIST *cerrlist = NULL; NULL 15 src/cerr.c CERRLIST *stat = NULL; NULL 16 src/cerr.c CERRLIST *p = NULL; NULL 18 src/cerr.c assert(cerrc > 0 && cerrv != NULL); NULL 20 src/cerr.c if(p == NULL) { NULL 26 src/cerr.c p->next = NULL; NULL 34 src/cerr.c CERRLIST *p = NULL; NULL 36 src/cerr.c if(cerrlist == NULL) { NULL 39 src/cerr.c for(p = cerrlist; p != NULL; p = p->next) { NULL 60 src/cerr.c CERRLIST *p = NULL; NULL 63 src/cerr.c for(p = cerrlist; p != NULL; p = p->next) { NULL 74 src/cerr.c CERRLIST *p = NULL; NULL 75 src/cerr.c CERRLIST *q = NULL; NULL 82 src/cerr.c for(p = cerrlist; p != NULL; p = q) { NULL 5 src/cmem.c void *p = NULL; NULL 7 src/cmem.c if((p = malloc(size)) == NULL) { NULL 16 src/cmem.c void *p = NULL; NULL 18 src/cmem.c if((p = calloc(nmemb, size)) == NULL) { NULL 27 src/cmem.c assert(s != NULL); NULL 35 src/cmem.c assert(s != NULL); NULL 36 src/cmem.c char *t = NULL; NULL 9 src/comet2.c {"trace", no_argument, NULL, 't'}, NULL 10 src/comet2.c {"tracearithmetic", no_argument, NULL, 't'}, NULL 11 src/comet2.c {"tracelogical", no_argument, NULL, 'T'}, NULL 12 src/comet2.c {"dump", no_argument, NULL, 'd'}, NULL 13 src/comet2.c {"monitor", no_argument, NULL, 'm'}, NULL 14 src/comet2.c {"memorysize", required_argument, NULL, 'M'}, NULL 15 src/comet2.c {"clocks", required_argument, NULL, 'C'}, NULL 16 src/comet2.c {"version", no_argument, NULL, 'v' }, NULL 17 src/comet2.c {"help", no_argument, NULL, 'h'}, NULL 46 src/comet2.c while((opt = getopt_long(argc, argv, "tTdmM:C:vh", longopts, NULL)) != -1) { NULL 79 src/comet2.c if(argv[optind] == NULL) { NULL 9 src/comet2monitor.c {"memorysize", required_argument, NULL, 'M'}, NULL 10 src/comet2monitor.c {"clocks", required_argument, NULL, 'C'}, NULL 11 src/comet2monitor.c {"version", no_argument, NULL, 'v' }, NULL 12 src/comet2monitor.c {"help", no_argument, NULL, 'h'}, NULL 53 src/comet2monitor.c while((opt = getopt_long(argc, argv, "M:C:vh", longopts, NULL)) != -1) { NULL 96 src/disassemble.c char *g = NULL; NULL 114 src/disassemble.c char *g = NULL; NULL 115 src/disassemble.c char *g1 = NULL; NULL 116 src/disassemble.c char *g2 = NULL; NULL 186 src/disassemble.c FILE *fp = NULL; NULL 192 src/disassemble.c const char *cmdname = NULL; NULL 195 src/disassemble.c assert(file != NULL); NULL 196 src/disassemble.c if((fp = fopen(file, "rb")) == NULL) { NULL 242 src/disassemble.c const char *cmdname = NULL; NULL 8 src/dumpword.c { "arithmetic", no_argument, NULL, 'a' }, NULL 9 src/dumpword.c { "logical", no_argument, NULL, 'l' }, NULL 10 src/dumpword.c { "version", no_argument, NULL, 'v' }, NULL 11 src/dumpword.c { "help", no_argument, NULL, 'h' }, NULL 38 src/dumpword.c while((opt = getopt_long(argc, argv, "alvh", longopts, NULL)) != -1) { NULL 56 src/dumpword.c if(argv[optind] == NULL) { NULL 106 src/exec.c if(fgets(buf, INSIZE, stdin) == NULL) { NULL 165 src/exec.c char *s = NULL; NULL 178 src/exec.c char *s = NULL; NULL 202 src/exec.c char *s = NULL; NULL 629 src/exec.c char *s = NULL; NULL 680 src/exec.c void (*cmdptr)() = NULL; NULL 681 src/exec.c char *s = NULL; NULL 725 src/exec.c if((cmdptr = getcmdptr(sys->memory[sys->cpu->pr] & 0xFF00)) == NULL) { NULL 52 src/label.c HKEY *key = NULL; NULL 62 src/label.c HKEY *keys[2] = {NULL}; NULL 91 src/label.c assert(prog != NULL && label != NULL); NULL 92 src/label.c LABELTAB *p = NULL; NULL 93 src/label.c LABELARRAY *l = NULL; NULL 95 src/label.c for(p = labels[labelhash(prog, label)]; p != NULL; p = p->next) { NULL 108 src/label.c assert(label != NULL); NULL 109 src/label.c LABELTAB *p = NULL; NULL 110 src/label.c LABELARRAY *l = NULL; NULL 138 src/label.c LABELTAB *p = NULL; NULL 139 src/label.c LABELARRAY **l = {NULL}; NULL 143 src/label.c for(p = labels[i]; p != NULL; p = p->next) { NULL 144 src/label.c assert(p->label != NULL); NULL 161 src/label.c LABELTAB *p = NULL; NULL 162 src/label.c LABELTAB *q = NULL; NULL 165 src/label.c for(p = labels[i]; p != NULL; p = q) { NULL 172 src/label.c labels[i] = NULL; NULL 29 src/load.c FILE *fp = NULL; NULL 32 src/load.c assert(file != NULL); NULL 33 src/load.c if((fp = fopen(file, "rb")) == NULL) { NULL 27 src/monitor.c BPSLIST *p = NULL; NULL 29 src/monitor.c for(p = bps[adrhash(adr)]; p != NULL; p = p->next) { NULL 39 src/monitor.c BPSLIST *p = NULL; NULL 59 src/monitor.c BPSLIST *p = NULL; NULL 60 src/monitor.c BPSLIST *q = NULL; NULL 65 src/monitor.c if(p != NULL) { NULL 67 src/monitor.c if(p->next == NULL) { NULL 75 src/monitor.c for(; p->next != NULL; p = p->next) { NULL 92 src/monitor.c BPSLIST *p = NULL; NULL 96 src/monitor.c for(p = bps[i]; p != NULL; p = p->next) { NULL 108 src/monitor.c BPSLIST *p = NULL; NULL 109 src/monitor.c BPSLIST *q = NULL; NULL 110 src/monitor.c for(p = head; p != NULL; p = q) { NULL 120 src/monitor.c bps[i] = NULL; NULL 127 src/monitor.c char *tok = NULL; NULL 128 src/monitor.c char *p = NULL; NULL 148 src/monitor.c char *tokens = NULL; NULL 149 src/monitor.c char *p = NULL; NULL 151 src/monitor.c MONCMDLINE *moncmdl = NULL; NULL 154 src/monitor.c return NULL; NULL 185 src/monitor.c if(str1 == NULL) { NULL 360 src/monitor.c assert(moncmdl != NULL); NULL 361 src/monitor.c if(moncmdl->args != NULL) { NULL 367 src/monitor.c if(moncmdl->cmd != NULL) { NULL 370 src/monitor.c if(moncmdl != NULL) { NULL 391 src/monitor.c char *buf = NULL; NULL 392 src/monitor.c MONCMDLINE *moncmdl = NULL; NULL 404 src/monitor.c if((moncmdl = monlinetok(buf)) != NULL) { NULL 7 src/struct.c SYSTEM *sys = NULL; NULL 12 src/struct.c EXECPTR *execptr = NULL; NULL 73 src/struct.c static CMDTAB *cmdtab[HASH_MAX][CMDTABSIZE] = {{NULL}}; NULL 90 src/struct.c HKEY *keys[2] = {NULL}; NULL 115 src/struct.c CMDTAB *p = NULL; NULL 137 src/struct.c CMDTAB *p = NULL; NULL 138 src/struct.c CMDTAB *q = NULL; NULL 141 src/struct.c for(p = cmdtab[hash][i]; p != NULL; p = q) { NULL 145 src/struct.c cmdtab[hash][i] = NULL; NULL 155 src/struct.c CMDTAB *p = NULL; NULL 158 src/struct.c assert(cmd != NULL); NULL 159 src/struct.c for(p = cmdtab[HASH_CMDTYPE][hash_cmdtype(cmd, type)]; p != NULL; p = p->next) { NULL 173 src/struct.c HKEY *keys[1] = {NULL}; NULL 190 src/struct.c CMDTAB *t = NULL; NULL 191 src/struct.c const void *ptr = NULL; NULL 193 src/struct.c for(t = cmdtab[HASH_CODE][hash_code(code)]; t != NULL; t = t->next) { NULL 207 src/struct.c CMDTAB *t = NULL; NULL 210 src/struct.c for(t = cmdtab[HASH_CODE][hash_code(code)]; t != NULL; t = t->next) { NULL 224 src/struct.c CMDTAB *t = NULL; NULL 225 src/struct.c char *cmd = NULL; NULL 227 src/struct.c for(t = cmdtab[HASH_CODE][hash_code(code)]; t != NULL; t = t->next) { NULL 243 src/struct.c char *str = NULL; NULL 99 src/token.c char *tok = NULL, *p = NULL; NULL 101 src/token.c CMDLINE *cmdl = NULL; NULL 105 src/token.c return NULL; NULL 32 src/word.c char *check = NULL; NULL 52 src/word.c char *check = NULL; NULL 87 src/word.c if(str == NULL) { NULL 108 src/word.c char *t = NULL; NULL 126 src/word.c char *bit = NULL; NULL 15 test/system/comet2_err/err_204/create_a.c if((fp = fopen(f, "w")) == NULL) { NULL 15 test/system/comet2_err/err_205/create_a.c if((fp = fopen(f, "w")) == NULL) { NULL 15 test/system/comet2_err/err_206/create_a.c if((fp = fopen(f, "w")) == NULL) { NULL 11 test/system/comet2_smoke/direct/create_a.c FILE *fp = NULL; NULL 15 test/system/comet2_smoke/direct/create_a.c if((fp = fopen(f, "w")) == NULL) { NULL 67 test/unit/addcerrlist/cmd.c for(p = cerrlist; p != NULL; p = p->next) { NULL 29 test/unit/linetok/cmd.c if(testcl == NULL) { NULL 32 test/unit/linetok/cmd.c if(testcl->label != NULL){ NULL 35 test/unit/linetok/cmd.c if(testcl->cmd != NULL){ NULL 46 test/unit/setcerr/cmd.c const char *str[] = {NULL, "foobar"}; NULL 7 test/unit/strrev/cmd.c char *dst = NULL;