Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 109) sorted by relevance

12345

/glibc-2.36/elf/
Dtst-audit2.c10 static __thread unsigned int magic[] = { MAGIC1, MAGIC2 }; variable
26 if (magic[0] != MAGIC1 || magic[1] != MAGIC2) in calloc()
29 magic[0], magic[1], MAGIC1, MAGIC2); in calloc()
32 magic[0] = MAGIC2; in calloc()
33 magic[1] = MAGIC1; in calloc()
51 if (magic[1] != MAGIC1 || magic[0] != MAGIC2) in do_test()
53 printf ("{%x, %x} != {%x, %x}\n", magic[0], magic[1], MAGIC2, MAGIC1); in do_test()
Dtst-ifunc-fault-lazy.c46 static void magic (void) __attribute__ ((ifunc ("resolver")));
48 void (*magic_ptr) (void) = magic;
Difuncmain9.c51 static int magic (void) __attribute__ ((ifunc ("resolver")));
68 int magic_value = magic (); in main()
Dcache.c321 if (memcmp (cache->magic, CACHEMAGIC, sizeof CACHEMAGIC - 1)) in print_cache()
326 if (memcmp (cache_new->magic, CACHEMAGIC_NEW, sizeof CACHEMAGIC_NEW - 1) in print_cache()
355 if (memcmp (cache_new->magic, CACHEMAGIC_NEW, in print_cache()
490 ext->magic = cache_extension_magic; in write_extensions()
585 memcpy (file_entries->magic, CACHEMAGIC, sizeof CACHEMAGIC - 1); in save_cache()
602 memcpy (file_entries_new->magic, CACHEMAGIC_NEW, in save_cache()
864 char magic[sizeof AUX_CACHEMAGIC - 1]; member
998 || memcmp (aux_cache->magic, AUX_CACHEMAGIC, sizeof AUX_CACHEMAGIC - 1) in load_aux_cache()
1056 memcpy (file_entries->magic, AUX_CACHEMAGIC, sizeof AUX_CACHEMAGIC - 1); in save_aux_cache()
/glibc-2.36/sysdeps/i386/i586/
Dstrchr.S34 #define magic 0xfefefeff macro
118 movl $magic, %ebp
120 movl $magic, %edi
153 orl $magic, %ebp /* (word^magic)|magic */
158 movl $magic, %esi /* load magic value */
164 movl $magic, %edi
171 orl $magic, %esi /* ((word+magic)^word)|magic */
183 orl $magic, %ebp
188 movl $magic, %esi
194 movl $magic, %edi
[all …]
Dstrlen.S34 #define magic 0xfefefeff macro
97 addl $magic, %ecx /* add magic word */
104 andl $~magic, %edx /* any of the carry flags set? */
113 addl $magic, %ecx /* add magic word */
120 andl $~magic, %edx /* any of the carry flags set? */
129 addl $magic, %ecx /* add magic word */
136 andl $~magic, %edx /* any of the carry flags set? */
145 addl $magic, %ecx /* add magic word */
152 andl $~magic, %edx /* any of the carry flags set? */
158 subl $magic, %ecx
Dstrcpy.S31 #define magic 0xfefefeff macro
51 movl $magic, %ebx
96 andl $~magic, %eax
/glibc-2.36/malloc/
Dmalloc-check.c37 unsigned char magic; in magicbyte() local
39 magic = (((uintptr_t) p >> 3) ^ ((uintptr_t) p >> 11)) & 0xFF; in magicbyte()
41 if (magic == 1) in magicbyte()
42 ++magic; in magicbyte()
43 return magic; in magicbyte()
58 unsigned char magic = magicbyte (p); in malloc_check_get_size() local
61 (c = *SAFE_CHAR_OFFSET (p, size)) != magic; in malloc_check_get_size()
81 unsigned char magic; in mem2mem_check() local
87 magic = magicbyte (p); in mem2mem_check()
95 if (block_sz == magic) in mem2mem_check()
[all …]
Dmcheck-impl.c38 unsigned long int magic; /* Magic number to check header integrity. */ member
77 switch (hdr->magic ^ ((uintptr_t) hdr->prev + (uintptr_t) hdr->next)) in checkhdr()
138 ptr->next->magic = MAGICWORD ^ ((uintptr_t) ptr->next->prev in unlink_blk()
144 ptr->prev->magic = MAGICWORD ^ ((uintptr_t) ptr->prev->prev in unlink_blk()
157 hdr->magic = MAGICWORD ^ (uintptr_t) hdr->next; in link_blk()
163 hdr->next->magic = MAGICWORD ^ ((uintptr_t) hdr in link_blk()
177 hdr->magic = MAGICFREE; in free_mcheck()
Dmemusage.c70 size_t magic; member
146 result->magic = MAGIC; in update_data()
425 if (real->magic != MAGIC) in realloc()
572 if (real->magic != MAGIC) in free()
/glibc-2.36/sysdeps/generic/
Da.out.h74 #define N_SET_INFO(exec, magic, type, flags) N_SET_MAGIC ((exec), (magic)) argument
75 #define N_SET_MAGIC(exec, magic) ((exec).a_info = (magic)) argument
101 #define N_SET_INFO(exec, magic, type, flags) \ argument
102 ((exec).a_info = ((magic) & 0xffff) \
105 #define N_SET_MAGIC(exec, magic) \ argument
106 ((exec).a_info = (((exec).a_info & 0xffff0000) | ((magic) & 0xffff)))
Ddl-cache.h75 char magic[sizeof CACHEMAGIC - 1]; member
159 char magic[sizeof CACHEMAGIC_NEW - 1]; member
250 uint32_t magic; /* Always cache_extension_magic. */ member
317 if (ext->magic != cache_extension_magic) in cache_extension_load()
/glibc-2.36/sysdeps/unix/sysv/linux/
Da.out.h34 #define N_SET_INFO(exec, magic, type, flags) \ argument
35 ((exec).a_info = ((magic) & 0xffff) \
38 #define N_SET_MAGIC(exec, magic) \ argument
39 ((exec).a_info = ((exec).a_info & 0xffff0000) | ((magic) & 0xffff))
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/
Da.out.h37 #define N_SET_INFO(exec, magic, type, flags) \ argument
38 ((exec).a_info = ((magic) & 0xffff) \
41 #define N_SET_MAGIC(exec, magic) \ argument
42 ((exec).a_info = ((exec).a_info & 0xffff0000) | ((magic) & 0xffff))
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/
Da.out.h93 #define N_SET_INFO(exec, magic, type, flags) \ argument
94 ((exec).a_info = ((magic) & 0xffff) \
97 #define N_SET_MAGIC(exec, magic) \ argument
98 ((exec).a_info = ((exec).a_info & 0xffff0000) | ((magic) & 0xffff))
/glibc-2.36/sysdeps/unix/sysv/linux/mips/sys/
Duser.h188 unsigned long magic; /* identifies a core file */ member
204 __extension__ unsigned long long magic; /* identifies a core file */ member
/glibc-2.36/sysdeps/unix/sysv/linux/x86/sys/
Duser.h95 __extension__ unsigned long long int magic; member
166 unsigned long int magic; member
/glibc-2.36/catgets/
Dopen_catalog.c259 if (__glibc_likely (catalog->file_ptr->magic == CATGETS_MAGIC)) in __open_catalog()
261 else if (catalog->file_ptr->magic == SWAPU32 (CATGETS_MAGIC)) in __open_catalog()
Dcatgetsinfo.h23 uint32_t magic; member
/glibc-2.36/locale/programs/
Dlocale.c347 unsigned int magic; in print_LC_IDENTIFICATION() member
352 if (filedata->magic == LIMAGIC (LC_IDENTIFICATION) in print_LC_IDENTIFICATION()
388 unsigned int magic; in print_LC_CTYPE() member
393 if (filedata->magic == LIMAGIC (LC_CTYPE) in print_LC_CTYPE()
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/sys/
Duser.h36 unsigned long magic; /* identifies a core file */ member
/glibc-2.36/sysdeps/unix/sysv/linux/ia64/sys/
Duser.h43 unsigned long int magic; /* Identifies a core file. */ member
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/sparc64/
Dsigcontextinfo.h50 unsigned int magic; member
/glibc-2.36/sysdeps/unix/sysv/linux/nios2/sys/
Duser.h51 unsigned long magic; /* uniquely identify a core file */ member
/glibc-2.36/sysdeps/unix/sysv/linux/arm/sys/
Duser.h64 unsigned long magic; /* uniquely identify a core file */ member

12345