Searched refs:bcache (Results 1 - 5 of 5) sorted by relevance

/haiku-fatelf/src/bin/gdb/gdb/
H A Dbcache.h27 /* A bcache is a data structure for factoring out duplication in
28 read-only structures. You give the bcache some string of bytes S.
29 If the bcache already contains a copy of S, it hands you back a
32 away your copy of S, and use the bcache's.
36 call the bcache function.
38 This means that you can put ordinary C objects in a bcache.
41 garbage. If you try to bcache two objects which are identical from
43 structure's holes, then the bcache will treat them as separate
48 You shouldn't modify the strings you get from a bcache, because:
51 stick eight bytes of text in a bcache, an
[all...]
H A Dbcache.c26 #include "bcache.h"
33 /* The type used to hold a single bcache string. The user data is
60 /* The structure for a bcache itself. The bcache is initialized, in
64 struct bcache struct
81 long structure_size; /* total size of bcache, including infrastructure */
117 /* Growing the bcache's hash table. */
124 expand_hash_table (struct bcache *bcache)
143 bcache
122 expand_hash_table(struct bcache *bcache) argument
199 bcache_data(const void *addr, int length, struct bcache *bcache) argument
251 deprecated_bcache(const void *addr, int length, struct bcache *bcache) argument
257 bcache(const void *addr, int length, struct bcache *bcache) argument
278 bcache_xfree(struct bcache *bcache) argument
436 bcache_memory_used(struct bcache *bcache) argument
[all...]
H A Dmacrotab.h26 struct bcache;
167 struct bcache *bcache);
172 allocated on an obstack, or if it uses a bcache. */
272 them, are in the table's bcache, if it has one. */
277 table's bcache, if it has one. */
H A Dobjfiles.h29 struct bcache;
265 struct bcache *psymbol_cache; /* Byte cache for partial syms */
266 struct bcache *macro_cache; /* Byte cache for macros */
H A Dmacrotab.c30 #include "bcache.h"
43 /* The bcache we should use to hold macro names, argument names, and
45 struct bcache *bcache;
68 strings are all allocated in bcache, if non-zero, or with xmalloc
99 /* If the macro table T has a bcache, then cache the LEN bytes at ADDR
105 if (t->bcache)
106 return bcache (addr, len, t->bcache);
116 /* If the macro table T has a bcache, cach
44 struct bcache *bcache; member in struct:macro_table
[all...]

Completed in 49 milliseconds