Searched refs:NULL (Results 1 - 25 of 528) sorted by relevance

1234567891011>>

/gem5/ext/sst/
H A Dlibgem5.cc61 {NULL, NULL}
67 NULL,
71 { NULL, NULL, NULL, NULL, NULL }
/gem5/ext/pybind11/tests/
H A Dcross_module_gil_utils.cpp31 NULL,
33 NULL,
34 NULL,
35 NULL,
36 NULL,
37 NULL
41 {NULL, NULL, 0, NULL}
62 if (m != NULL) {
[all...]
/gem5/ext/libelf/
H A Delf_getarhdr.c37 if (e == NULL) {
39 return (NULL);
42 if ((arh = e->e_arhdr) != NULL)
H A Dgelf_getclass.c34 return (e != NULL ? e->e_class : ELFCLASSNONE);
H A Dlibelf_shdr.c36 if (s == NULL || (e = s->s_elf) == NULL ||
39 return (NULL);
47 return (NULL);
H A Delf_strptr.c50 if (e == NULL || e->e_kind != ELF_K_ELF) {
52 return (NULL);
55 if ((s = elf_getscn(e, scndx)) == NULL ||
56 gelf_getshdr(s, &shdr) == NULL)
57 return (NULL);
62 return (NULL);
65 d = NULL;
74 while ((d = elf_getdata(s, d)) != NULL) {
81 return (NULL);
96 while ((d = elf_getdata(s, d)) != NULL
[all...]
H A Delf_getbase.c35 if (e == NULL ||
36 e->e_parent == NULL) {
H A Delf_rawfile.c39 ptr = NULL;
41 if (e == NULL)
43 else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE)
H A Delf_begin.c54 return (NULL);
57 m = NULL;
58 if ((m = mmap(NULL, (size_t) sb.st_size, PROT_READ, MAP_PRIVATE, fd,
61 return (NULL);
64 if ((e = elf_memory(m, (size_t) sb.st_size)) == NULL) {
66 return (NULL);
76 return (NULL);
87 e = NULL;
91 return (NULL);
96 return (NULL);
[all...]
H A Delf_data.c47 if (s == NULL || (e = s->s_elf) == NULL || e->e_kind != ELF_K_ELF ||
48 (d != NULL && s != d->d_scn)) {
50 return (NULL);
53 if (d == NULL && (d = STAILQ_FIRST(&s->s_data)) != NULL)
56 if (d != NULL)
59 if (e->e_rawfile == NULL) {
61 return (NULL);
84 return (NULL);
[all...]
H A Delf_phnum.c39 if (e == NULL || e->e_kind != ELF_K_ELF ||
45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
H A Delf_shnum.c39 if (e == NULL || e->e_kind != ELF_K_ELF ||
45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
H A Dlibelf_xlate.c55 dst == NULL || src == NULL || dst == src) {
57 return (NULL);
65 return (NULL);
68 if (src->d_buf == NULL || dst->d_buf == NULL ||
71 return (NULL);
76 return (NULL);
81 return (NULL);
89 return (NULL);
[all...]
H A Delf_memory.c41 return (NULL);
44 if (image == NULL || sz == 0) {
46 return (NULL);
49 if ((e = _libelf_allocate_elf()) == NULL)
50 return (NULL);
70 return (NULL);
78 return (NULL);
H A Dlibelf_checksum.c34 if (s == NULL || size == 0)
53 if (e == NULL) {
63 if (gelf_getehdr(e, &eh) == NULL)
77 if ((scn = elf_getscn(e, shn)) == NULL)
79 if (gelf_getshdr(scn, &shdr) == NULL)
86 d = NULL;
87 while ((d = elf_rawdata(scn, d)) != NULL)
/gem5/ext/googletest/googlemock/test/
H A Dgmock_test.cc67 NULL
71 NULL
80 NULL
85 NULL
95 NULL
100 NULL
110 NULL
116 NULL
127 NULL
133 NULL
[all...]
/gem5/src/cpu/
H A Dthread_state.cc50 profile(NULL), profileNode(NULL), profilePC(0), quiesceEvent(NULL),
51 kernelStats(NULL), process(_process), physProxy(NULL), virtProxy(NULL),
58 if (physProxy != NULL)
60 if (virtProxy != NULL)
109 assert(physProxy == NULL);
116 assert(virtProxy == NULL);
[all...]
/gem5/src/cpu/testers/traffic_gen/
H A Didle_gen.cc57 return NULL;
/gem5/ext/googletest/googletest/samples/
H A Dsample2.h54 // The default c'tor constructs a NULL string.
55 MyString() : c_string_(NULL) {}
58 explicit MyString(const char* a_c_string) : c_string_(NULL) {
63 MyString(const MyString& string) : c_string_(NULL) {
77 return c_string_ == NULL ? 0 : strlen(c_string_);
H A Dsample2.cc40 if (a_c_string == NULL) return NULL;
/gem5/tests/test-progs/chdir-print/
H A Dchdir-print.c48 char *cwd = getcwd(NULL, PATH_MAX);
54 cwd = getcwd(NULL, PATH_MAX);
63 if (fp != NULL) {
64 while (fgets(buffer, BUFFER_SIZE, fp) != NULL) {
/gem5/src/cpu/testers/directedtest/
H A DDirectedGenerator.cc39 m_directed_tester = NULL;
45 assert(m_directed_tester == NULL);
/gem5/src/proto/
H A Dprotoio.cc49 wrappedFileStream(NULL), gzipStream(NULL), zeroCopyStream(NULL)
77 if (gzipStream != NULL)
101 wrappedFileStream(NULL), gzipStream(NULL), zeroCopyStream(NULL)
121 // All streams should be NULL at this point
122 assert(wrappedFileStream == NULL && gzipStream == NULL
[all...]
/gem5/src/base/
H A Dpngwriter.cc86 pngWriteP(NULL), pngInfoP(NULL)
90 PNG_LIBPNG_VER_STRING, NULL, NULL, NULL
150 png_set_write_fn(pngPtr, (png_voidp)&png, writePng, NULL);
173 png_write_end(pngPtr, NULL);
/gem5/ext/googletest/googlemock/src/
H A Dgmock.cc57 // Returns the value of the flag, or NULL if the parsing failed.
61 // str and flag must not be NULL.
62 if (str == NULL || flag == NULL) return NULL;
67 if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL;
80 if (flag_end[0] != '=') return NULL;
97 if (value_str == NULL) return false;
116 if (value_str == NULL) return false;
144 // NULL
[all...]

Completed in 18 milliseconds

1234567891011>>