Searched refs:mem (Results 1 - 25 of 904) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/sys/arch/sandpoint/stand/altboot/
H A Dmemfs.h31 FS_DEF(mem); variable
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/tree-ssa/
H A Dpr27236.c4 static inline int inline_read(volatile int *mem) argument
6 return *mem;
8 int foo_read(volatile int *mem) argument
10 return inline_read(mem);
12 unsigned int foo(volatile int *mem) argument
14 foo_read(mem);
15 return foo_read(mem);
H A Dpr23048.c4 void f(unsigned char *mem) argument
9 while(mem[i]==0) ;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/
H A Dbuiltins-64.c5 char *mem = __builtin_alloca (40); local
6 __builtin___clear_cache (mem, mem + 40);
H A Dfuncorder.c7 to 64-bits. As a result, "if (t!=mem)" is not simplified. */
9 static int mem; variable
20 if (mem)
22 e=mem;
24 if (e!=mem)
34 int t=mem,r;
36 if (t!=mem)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/tree-ssa/
H A Dpr27236.c4 static inline int inline_read(volatile int *mem) argument
6 return *mem;
9 int foo_read(volatile int *mem) argument
11 return inline_read(mem);
13 unsigned int foo(volatile int *mem) argument
15 foo_read(mem);
16 return foo_read(mem);
H A Dpr23048.c4 void f(unsigned char *mem) argument
9 while(mem[i]==0) ;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/vect/
H A Dfast-math-pr35982.c6 struct mem struct
12 float method2_int16 (struct mem *mem) argument
18 avg += mem[i].avg * (float) mem[i].len;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.mike/
H A Deh58.C5 bool mem; member in struct:C
14 return genTemp().mem;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D930930-1.c5 long mem[100]; variable
32 mem[99] = (long) mem;
33 f (mem + 100, mem + 6, mem + 8, mem + 99, mem + 99);
H A D20001130-1.c2 static int mem[3]; variable
9 mem[x++] = foo(bar());
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.mike/
H A Deh58.C5 bool mem; member in struct:C
14 return genTemp().mem;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A D930930-1.c5 long mem[100]; variable
32 mem[99] = (long) mem;
33 f (mem + 100, mem + 6, mem + 8, mem + 99, mem + 99);
H A D20001130-1.c2 static int mem[3]; variable
9 mem[x++] = foo(bar());
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/stand/pbsdboot/
H A Dlayout.c47 unsigned char *mem; local
58 mem = (unsigned char*)LockResource(LoadResource(NULL, res));
63 dlg = *(DLGTEMPLATE*)mem;
64 mem += sizeof(DLGTEMPLATE);
74 if (*(WORD*)mem == 0xffff) {
76 mem += sizeof(WORD);
77 debug_printf(TEXT("Dlg: menu=%04x\n"), *(WORD*)mem);
78 mem += sizeof(WORD);
80 if (*(WORD*)mem == 0x0000) {
82 mem
[all...]
H A Dmips.c46 unsigned char *mem; local
53 if ((mem = (unsigned char*)vmem_alloc()) == NULL) {
61 memcpy(mem, system_info.si_asmcode, system_info.si_asmcodelen);
67 *(unsigned short*)&mem[0] = (unsigned short)(((long)map) >> 16);
68 *(unsigned short*)&mem[4] = (unsigned short)map;
73 if (!(phys_mem = (unsigned long)vtophysaddr(mem))) {
82 mem = (unsigned char*)VirtualAlloc(0, 0x400, MEM_RESERVE, PAGE_NOACCESS);
83 if (!(VirtualCopy((LPVOID)mem, (LPVOID)(system_info.si_dramstart >> 8), 0x400,
107 *(unsigned long*)&mem[system_info.si_intrvec] = jump_instruction;
/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/lib/
H A Dtre-mem.c2 tre-mem.c - TRE memory allocator
23 #include "tre-mem.h"
31 tre_mem_t mem; local
34 mem = provided_block;
35 memset(mem, 0, sizeof(*mem));
38 mem = xcalloc(1, sizeof(*mem));
39 if (mem == NULL)
41 return mem;
47 tre_mem_destroy(tre_mem_t mem) argument
65 tre_mem_alloc_impl(tre_mem_t mem, int provided, void *provided_block, int zero, size_t size) argument
[all...]
H A Dtre-mem.h2 tre-mem.h - TRE memory allocator interface
32 void *tre_mem_alloc_impl(tre_mem_t mem, int provided, void *provided_block,
38 /* Allocates a block of `size' bytes from `mem'. Returns a pointer to the
40 #define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
42 /* Allocates a block of `size' bytes from `mem'. Returns a pointer to the
45 #define tre_mem_calloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 1, size)
54 #define tre_mem_alloca(mem, size) \
55 ((mem)
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/i386/
H A D990213-2.c10 XmlInitUnknownEncoding(void *mem) argument
13 struct unknown_encoding *e = mem;
15 ((char *)mem)[i] = ((char *)&latin1_encoding)[i];
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.target/i386/
H A D990213-2.c9 XmlInitUnknownEncoding(void *mem) argument
12 struct unknown_encoding *e = mem;
14 ((char *)mem)[i] = ((char *)&latin1_encoding)[i];
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/
H A Dfuncorder.c7 to 64-bits. As a result, "if (t!=mem)" is not simplified. */
9 static int mem; variable
20 if (mem)
22 e=mem;
24 if (e!=mem)
34 int t=mem,r;
36 if (t!=mem)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/ia64/
H A D20010423-1.c7 bar (volatile unsigned int *mem, unsigned int val) argument
9 return __sync_fetch_and_add_si((int *)mem, (int)val);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.target/ia64/
H A D20010423-1.c7 bar (volatile unsigned int *mem, unsigned int val) argument
9 return __sync_fetch_and_add_si((int *)mem, (int)val);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dks_mem.c58 struct mem_data *mem; local
59 mem = calloc(1, sizeof(*mem));
60 if (mem == NULL)
64 mem->name = strdup(residue);
65 if (mem->name == NULL) {
66 free(mem);
69 *data = mem;
76 struct mem_data *mem = data; local
79 for (i = 0; i < mem
94 struct mem_data *mem = data; local
134 struct mem_data *mem = data; local
162 struct mem_data *mem = data; local
187 struct mem_data *mem = data; local
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/tools/ctf/common/
H A Dmemory.c50 void *mem; local
52 if ((mem = malloc(size)) == NULL)
55 return (mem);
61 void *mem; local
63 mem = xmalloc(size);
64 bzero(mem, size);
66 return (mem);
97 void *mem; local
99 if ((mem = realloc(ptr, size)) == NULL)
102 return (mem);
[all...]

Completed in 327 milliseconds

1234567891011>>