Lines Matching refs:permanent

3843     is over or permanent you can call `nk_font_atlas_init`.
4015 struct nk_allocator permanent;
13450 atlas->permanent.userdata.ptr = 0;
13451 atlas->permanent.alloc = nk_malloc;
13452 atlas->permanent.free = nk_mfree;
13462 atlas->permanent = *alloc;
13467 struct nk_allocator *permanent, struct nk_allocator *temporary)
13470 NK_ASSERT(permanent);
13472 if (!atlas || !permanent || !temporary) return;
13474 atlas->permanent = *permanent;
13482 NK_ASSERT(atlas->permanent.alloc && atlas->permanent.free);
13483 if (!atlas || !atlas->permanent.alloc || !atlas->permanent.free ||
13486 atlas->permanent.free(atlas->permanent.userdata, atlas->glyphs);
13490 atlas->permanent.free(atlas->permanent.userdata, atlas->pixel);
13501 NK_ASSERT(atlas->permanent.alloc);
13502 NK_ASSERT(atlas->permanent.free);
13512 !atlas->permanent.alloc || !atlas->permanent.free ||
13518 atlas->permanent.alloc(atlas->permanent.userdata,0, sizeof(struct nk_font_config));
13536 atlas->permanent.alloc(atlas->permanent.userdata,0, sizeof(struct nk_font));
13569 cfg->ttf_blob = atlas->permanent.alloc(atlas->permanent.userdata,0, cfg->ttf_size);
13592 NK_ASSERT(atlas->permanent.alloc);
13593 NK_ASSERT(atlas->permanent.free);
13595 !atlas->permanent.alloc || !atlas->permanent.free)
13617 NK_ASSERT(atlas->permanent.alloc);
13618 NK_ASSERT(atlas->permanent.free);
13621 memory = nk_file_load(file_path, &size, &atlas->permanent);
13644 NK_ASSERT(atlas->permanent.alloc);
13645 NK_ASSERT(atlas->permanent.free);
13650 !atlas->permanent.alloc || !atlas->permanent.free)
13654 decompressed_data = atlas->permanent.alloc(atlas->permanent.userdata,0,decompressed_size);
13678 NK_ASSERT(atlas->permanent.alloc);
13679 NK_ASSERT(atlas->permanent.free);
13683 !atlas->permanent.alloc || !atlas->permanent.free)
13705 NK_ASSERT(atlas->permanent.alloc);
13706 NK_ASSERT(atlas->permanent.free);
13724 NK_ASSERT(atlas->permanent.alloc);
13725 NK_ASSERT(atlas->permanent.free);
13731 !atlas->permanent.alloc || !atlas->permanent.free)
13750 atlas->glyphs = (struct nk_font_glyph*)atlas->permanent.alloc(
13751 atlas->permanent.userdata,0, sizeof(struct nk_font_glyph)*(nk_size)atlas->glyph_count);
13826 atlas->permanent.free(atlas->permanent.userdata, atlas->glyphs);
13876 NK_ASSERT(atlas->permanent.alloc);
13877 NK_ASSERT(atlas->permanent.free);
13878 if (!atlas || !atlas->permanent.alloc || !atlas->permanent.free) return;
13884 atlas->permanent.free(atlas->permanent.userdata, i->ttf_blob);
13887 atlas->permanent.free(atlas->permanent.userdata, iter->ttf_blob);
13898 NK_ASSERT(atlas->permanent.alloc);
13899 NK_ASSERT(atlas->permanent.free);
13900 if (!atlas || !atlas->permanent.alloc || !atlas->permanent.free) return;
13909 atlas->permanent.free(atlas->permanent.userdata, i->ttf_blob);
13910 atlas->permanent.free(atlas->permanent.userdata, i);
13914 atlas->permanent.free(atlas->permanent.userdata, iter->ttf_blob);
13915 atlas->permanent.free(atlas->permanent.userdata, iter);
13923 atlas->permanent.free(atlas->permanent.userdata, iter);
13928 atlas->permanent.free(atlas->permanent.userdata, atlas->glyphs);