Lines Matching defs:hash

2879 /// int nk_tree_push_hashed(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states initial_state, const char *hash, int len,int seed);
2894 NK_API int nk_tree_push_hashed(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states initial_state, const char *hash, int len,int seed);
2942 /// int nk_tree_image_push_hashed(struct nk_context*, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states initial_state, const char *hash, int len,int seed);
2958 NK_API int nk_tree_image_push_hashed(struct nk_context*, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states initial_state, const char *hash, int len,int seed);
3017 NK_API int nk_tree_element_push_hashed(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states initial_state, int *selected, const char *hash, int len, int seed);
3018 NK_API int nk_tree_element_image_push_hashed(struct nk_context*, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states initial_state, int *selected, const char *hash, int len,int seed);
5870 NK_LIB struct nk_window *nk_find_window(struct nk_context *ctx, nk_hash hash, const char *name);
16171 nk_find_window(struct nk_context *ctx, nk_hash hash, const char *name)
16177 if (iter->name == hash) {
17363 nk_hash hash = nk_murmur_hash(id, (int)nk_strlen(id), NK_PANEL_MENU);
17378 is_active = (popup && (win->popup.name == hash) && win->popup.type == NK_PANEL_MENU);
17385 win->popup.name = hash;
18460 const char *hash, int len, int line)
18468 if (!hash) {
18471 } else tree_hash = nk_murmur_hash(hash, len, (nk_hash)line);
18513 const char *hash, int len, int line)
18515 return nk_tree_base(ctx, type, 0, title, initial_state, hash, len, line);
18520 const char *hash, int len,int seed)
18522 return nk_tree_base(ctx, type, &img, title, initial_state, hash, len, seed);
18643 int *selected, const char *hash, int len, int line)
18651 if (!hash) {
18654 } else tree_hash = nk_murmur_hash(hash, len, (nk_hash)line);
18665 int *selected, const char *hash, int len, int seed)
18667 return nk_tree_element_base(ctx, type, 0, title, initial_state, selected, hash, len, seed);
18672 int *selected, const char *hash, int len,int seed)
18674 return nk_tree_element_base(ctx, type, &img, title, initial_state, selected, hash, len, seed);
23372 nk_hash hash;
23380 hash = win->edit.seq;
23382 win->edit.name = hash;
23402 nk_hash hash;
23415 hash = win->edit.seq;
23420 if (win->edit.active && hash == win->edit.name) {
23467 nk_hash hash;
23484 hash = win->edit.seq++;
23485 if (win->edit.active && hash == win->edit.name) {
23509 win->edit.name = hash;
23850 nk_hash hash = 0;
23877 /* calculate hash from name */
23879 hash = nk_murmur_hash(name, (int)nk_strlen(name), win->property.seq++);
23880 name++; /* special number hash */
23881 } else hash = nk_murmur_hash(name, (int)nk_strlen(name), 42);
23884 if (win->property.active && hash == win->property.name) {
23917 win->property.name = hash;
24560 nk_hash hash;
24574 hash = win->popup.combo_count++;
24576 is_active = (popup && (win->popup.name == hash) && win->popup.type == NK_PANEL_COMBO);
24583 win->popup.name = hash;
25577 /// memory consumption or handle hash collisions.
25581 /// if you have a hash collision in `nk_group_begin` but really
25670 /// hash collisions. Currently limited to `NK_WINDOW_MAX_NAME`