Lines Matching refs:GlhHashNode
86 typedef struct GlhHashNode GlhHashNode; typedef
87 struct GlhHashNode { struct
89 GlhHashNode *next; /* The next in the list of nodes within the */ argument
104 static int _glh_is_line(GlhHashNode *hash, const char *line, size_t n);
105 static int _glh_line_matches_prefix(GlhHashNode *line, GlhHashNode *prefix);
106 static void _glh_return_line(GlhHashNode *hash, char *line, size_t dim);
113 GlhHashNode *lines; /* The list of history lines which fall in this bucket */
118 static GlhHashNode *glh_find_hash_node(GlhHashBucket *bucket, const char *line,
137 GlhHashNode *line; /* The hash-table entry of the history line */
179 GlhHashNode *prefix; /* A pointer to a line containing the prefix that */
208 static GlhHashNode *_glh_acquire_copy(GlHistory *glh, const char *line,
210 static GlhHashNode *_glh_discard_copy(GlHistory *glh, GlhHashNode *hnode);
224 static void glh_init_stream(GlhLineStream *str, GlhHashNode *line);
230 static int glh_contains_glob(GlhHashNode *prefix);
406 GlhHashNode *hnode; /* The hash-table node of the line */ in _glh_add_history()
531 GlhHashNode *old_line; /* The previous recalled line */ in _glh_find_backwards()
619 GlhHashNode *old_line; /* The previous recalled line */ in _glh_find_forwards()
1709 GlhHashNode *hnode; in _glh_resize_history()
2167 static GlhHashNode *_glh_acquire_copy(GlHistory *glh, const char *line, in _glh_acquire_copy()
2171 GlhHashNode *hnode; /* The hash-table node of the line */ in _glh_acquire_copy()
2216 hnode = (GlhHashNode *) _new_FreeListNode(glh->hash.node_mem); in _glh_acquire_copy()
2259 static GlhHashNode *_glh_discard_copy(GlHistory *glh, GlhHashNode *hnode) in _glh_discard_copy()
2277 GlhHashNode *prev; /* The node which precedes hnode in the bucket */ in _glh_discard_copy()
2308 hnode = (GlhHashNode *) _del_FreeListNode(glh->hash.node_mem, hnode); in _glh_discard_copy()
2353 static GlhHashNode *glh_find_hash_node(GlhHashBucket *bucket, const char *line, in glh_find_hash_node()
2356 GlhHashNode *node; /* A node in the list of lines in the bucket */ in glh_find_hash_node()
2381 static int _glh_is_line(GlhHashNode *hash, const char *line, size_t n) in _glh_is_line()
2415 static int _glh_line_matches_prefix(GlhHashNode *line, GlhHashNode *prefix) in _glh_line_matches_prefix()
2465 static void _glh_return_line(GlhHashNode *hash, char *line, size_t dim) in _glh_return_line()
2553 static void glh_init_stream(GlhLineStream *str, GlhHashNode *line) in glh_init_stream()
2596 static int glh_contains_glob(GlhHashNode *prefix) in glh_contains_glob()