hdr 3285 src/alloc.c vectorlike_nbytes (const union vectorlike_header *hdr) hdr 3287 src/alloc.c ptrdiff_t size = hdr->size & ~ARRAY_MARK_FLAG; hdr 3292 src/alloc.c if (PSEUDOVECTOR_TYPEP (hdr, PVEC_BOOL_VECTOR)) hdr 3294 src/alloc.c struct Lisp_Bool_Vector *bv = (struct Lisp_Bool_Vector *) hdr; hdr 1880 src/gmalloc.c checkhdr (const struct hdr *hdr) hdr 1883 src/gmalloc.c switch (hdr->magic) hdr 1892 src/gmalloc.c if (((char *) &hdr[1])[hdr->size] != MAGICBYTE) hdr 1906 src/gmalloc.c struct hdr *hdr; hdr 1926 src/gmalloc.c hdr = ((struct hdr *) ptr) - 1; hdr 1927 src/gmalloc.c checkhdr (hdr); hdr 1928 src/gmalloc.c hdr->magic = MAGICFREE; hdr 1929 src/gmalloc.c memset (ptr, FREEFLOOD, hdr->size); hdr 1932 src/gmalloc.c hdr = NULL; hdr 1935 src/gmalloc.c free (hdr); hdr 1942 src/gmalloc.c struct hdr *hdr; hdr 1945 src/gmalloc.c hdr = malloc (sizeof *hdr + size + 1); hdr 1947 src/gmalloc.c if (hdr == NULL) hdr 1950 src/gmalloc.c hdr->size = size; hdr 1951 src/gmalloc.c hdr->magic = MAGICWORD; hdr 1952 src/gmalloc.c ((char *) &hdr[1])[size] = MAGICBYTE; hdr 1953 src/gmalloc.c return memset (hdr + 1, MALLOCFLOOD, size); hdr 1959 src/gmalloc.c struct hdr *hdr = NULL; hdr 1964 src/gmalloc.c hdr = ((struct hdr *) ptr) - 1; hdr 1965 src/gmalloc.c osize = hdr->size; hdr 1967 src/gmalloc.c checkhdr (hdr); hdr 1975 src/gmalloc.c hdr = realloc (hdr, sizeof *hdr + size + 1); hdr 1979 src/gmalloc.c if (hdr == NULL) hdr 1982 src/gmalloc.c hdr->size = size; hdr 1983 src/gmalloc.c hdr->magic = MAGICWORD; hdr 1984 src/gmalloc.c ((char *) &hdr[1])[size] = MAGICBYTE; hdr 1986 src/gmalloc.c memset ((char *) (hdr + 1) + osize, MALLOCFLOOD, size - osize); hdr 1987 src/gmalloc.c return hdr + 1; hdr 4312 src/lisp.h extern ptrdiff_t vectorlike_nbytes (const union vectorlike_header *hdr); hdr 1981 src/pdumper.c #define START_DUMP_PVEC(ctx, hdr, type, out) \ hdr 1982 src/pdumper.c const union vectorlike_header *_in_hdr = (hdr); \ hdr 95 src/unexhp9k800.c save_data_space (int file, struct header *hdr, struct som_exec_auxhdr *auxhdr, hdr 110 src/unexhp9k800.c update_file_ptrs (int file, struct header *hdr, struct som_exec_auxhdr *auxhdr, hdr 117 src/unexhp9k800.c hdr->som_length += offset; hdr 121 src/unexhp9k800.c update (hdr->aux_header_location); hdr 122 src/unexhp9k800.c update (hdr->space_strings_location); hdr 123 src/unexhp9k800.c update (hdr->init_array_location); hdr 124 src/unexhp9k800.c update (hdr->compiler_location); hdr 125 src/unexhp9k800.c update (hdr->symbol_location); hdr 126 src/unexhp9k800.c update (hdr->fixup_request_location); hdr 127 src/unexhp9k800.c update (hdr->symbol_strings_location); hdr 128 src/unexhp9k800.c update (hdr->unloadable_sp_location); hdr 133 src/unexhp9k800.c check_lseek (file, hdr->subspace_location, 0); hdr 134 src/unexhp9k800.c for (i = 0; i < hdr->subspace_total; i++) hdr 159 src/unexhp9k800.c read_header (int file, struct header *hdr, struct som_exec_auxhdr *auxhdr) hdr 164 src/unexhp9k800.c if (read (file, hdr, sizeof (*hdr)) != sizeof (*hdr)) hdr 167 src/unexhp9k800.c if (hdr->a_magic != EXEC_MAGIC && hdr->a_magic != SHARE_MAGIC hdr 168 src/unexhp9k800.c && hdr->a_magic != DEMAND_MAGIC) hdr 174 src/unexhp9k800.c check_lseek (file, hdr->aux_header_location, 0); hdr 182 src/unexhp9k800.c write_header (int file, struct header *hdr, struct som_exec_auxhdr *auxhdr) hdr 185 src/unexhp9k800.c hdr->checksum = calculate_checksum (hdr); hdr 189 src/unexhp9k800.c if (write (file, hdr, sizeof (*hdr)) != sizeof (*hdr)) hdr 191 src/unexhp9k800.c check_lseek (file, hdr->aux_header_location, 0); hdr 199 src/unexhp9k800.c calculate_checksum (struct header *hdr) hdr 203 src/unexhp9k800.c checksum = 0; ptr = (int *) hdr; hdr 205 src/unexhp9k800.c for (i = 0; i < sizeof (*hdr) / sizeof (int) - 1; i++) hdr 247 src/unexhp9k800.c display_header (struct header *hdr, struct som_exec_auxhdr *auxhdr) hdr 251 src/unexhp9k800.c printf ("magic number %d \n", hdr->a_magic); hdr 259 src/unexhp9k800.c printf ("som_length %d\n", hdr->som_length); hdr 261 src/unexhp9k800.c hdr->unloadable_sp_location, hdr->unloadable_sp_size); hdr 273 src/unexhp9k800.c struct header hdr; hdr 293 src/unexhp9k800.c read_header (old, &hdr, &auxhdr); hdr 310 src/unexhp9k800.c save_data_space (new, &hdr, &auxhdr, new_size); hdr 316 src/unexhp9k800.c update_file_ptrs (new, &hdr, &auxhdr, auxhdr.exec_dfile, new_size-old_size); hdr 319 src/unexhp9k800.c write_header (new, &hdr, &auxhdr); hdr 7715 src/w32fns.c notify_w->hdr.code == CDN_TYPECHANGE hdr 7716 src/w32fns.c || notify_w->hdr.code == CDN_INITDONE; hdr 7719 src/w32fns.c notify_a->hdr.code == CDN_TYPECHANGE hdr 7720 src/w32fns.c || notify_a->hdr.code == CDN_INITDONE; hdr 7747 src/w32fns.c hdr_code = notify_w->hdr.code; hdr 7752 src/w32fns.c hdr_code = notify_a->hdr.code; hdr 1867 test/manual/etags/c-src/emacs/src/gmalloc.c checkhdr (const struct hdr *hdr) hdr 1870 test/manual/etags/c-src/emacs/src/gmalloc.c switch (hdr->magic) hdr 1879 test/manual/etags/c-src/emacs/src/gmalloc.c if (((char *) &hdr[1])[hdr->size] != MAGICBYTE) hdr 1893 test/manual/etags/c-src/emacs/src/gmalloc.c struct hdr *hdr; hdr 1913 test/manual/etags/c-src/emacs/src/gmalloc.c hdr = ((struct hdr *) ptr) - 1; hdr 1914 test/manual/etags/c-src/emacs/src/gmalloc.c checkhdr (hdr); hdr 1915 test/manual/etags/c-src/emacs/src/gmalloc.c hdr->magic = MAGICFREE; hdr 1916 test/manual/etags/c-src/emacs/src/gmalloc.c memset (ptr, FREEFLOOD, hdr->size); hdr 1919 test/manual/etags/c-src/emacs/src/gmalloc.c hdr = NULL; hdr 1922 test/manual/etags/c-src/emacs/src/gmalloc.c free (hdr); hdr 1929 test/manual/etags/c-src/emacs/src/gmalloc.c struct hdr *hdr; hdr 1932 test/manual/etags/c-src/emacs/src/gmalloc.c hdr = malloc (sizeof *hdr + size + 1); hdr 1934 test/manual/etags/c-src/emacs/src/gmalloc.c if (hdr == NULL) hdr 1937 test/manual/etags/c-src/emacs/src/gmalloc.c hdr->size = size; hdr 1938 test/manual/etags/c-src/emacs/src/gmalloc.c hdr->magic = MAGICWORD; hdr 1939 test/manual/etags/c-src/emacs/src/gmalloc.c ((char *) &hdr[1])[size] = MAGICBYTE; hdr 1940 test/manual/etags/c-src/emacs/src/gmalloc.c return memset (hdr + 1, MALLOCFLOOD, size); hdr 1946 test/manual/etags/c-src/emacs/src/gmalloc.c struct hdr *hdr = NULL; hdr 1951 test/manual/etags/c-src/emacs/src/gmalloc.c hdr = ((struct hdr *) ptr) - 1; hdr 1952 test/manual/etags/c-src/emacs/src/gmalloc.c osize = hdr->size; hdr 1954 test/manual/etags/c-src/emacs/src/gmalloc.c checkhdr (hdr); hdr 1962 test/manual/etags/c-src/emacs/src/gmalloc.c hdr = realloc (hdr, sizeof *hdr + size + 1); hdr 1966 test/manual/etags/c-src/emacs/src/gmalloc.c if (hdr == NULL) hdr 1969 test/manual/etags/c-src/emacs/src/gmalloc.c hdr->size = size; hdr 1970 test/manual/etags/c-src/emacs/src/gmalloc.c hdr->magic = MAGICWORD; hdr 1971 test/manual/etags/c-src/emacs/src/gmalloc.c ((char *) &hdr[1])[size] = MAGICBYTE; hdr 1973 test/manual/etags/c-src/emacs/src/gmalloc.c memset ((char *) (hdr + 1) + osize, MALLOCFLOOD, size - osize); hdr 1974 test/manual/etags/c-src/emacs/src/gmalloc.c return hdr + 1;