Home
last modified time | relevance | path

Searched refs:power_of_2 (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/boost/interprocess/detail/
Dmath_functions.hpp74 Integer power_of_2 = 1; in log2_ceil() local
76 while(power_of_2 < A){ in log2_ceil()
77 power_of_2 <<= 1; in log2_ceil()
86 Integer power_of_2 = 1; in upper_power_of_2() local
88 while(power_of_2 < A){ in upper_power_of_2()
89 power_of_2 <<= 1; in upper_power_of_2()
91 return power_of_2; in upper_power_of_2()
/third_party/boost/boost/container/detail/
Dmath_functions.hpp77 Integer power_of_2 = 1; in log2_ceil() local
79 while(power_of_2 < A){ in log2_ceil()
80 power_of_2 <<= 1; in log2_ceil()
89 Integer power_of_2 = 1; in upper_power_of_2() local
91 while(power_of_2 < A){ in upper_power_of_2()
92 power_of_2 <<= 1; in upper_power_of_2()
94 return power_of_2; in upper_power_of_2()
/third_party/glib/tests/
Dmemchunks.c565 gulong power_of_2; in old_mem_chunk_compute_size() local
568 power_of_2 = 16; in old_mem_chunk_compute_size()
569 while (power_of_2 < size) in old_mem_chunk_compute_size()
570 power_of_2 <<= 1; in old_mem_chunk_compute_size()
572 lower = power_of_2 >> 1; in old_mem_chunk_compute_size()
573 upper = power_of_2; in old_mem_chunk_compute_size()
/third_party/ffmpeg/libavdevice/
Dopengl_enc.c700 unsigned power_of_2 = 1; in opengl_get_texture_size() local
701 while (power_of_2 < max) in opengl_get_texture_size()
702 power_of_2 *= 2; in opengl_get_texture_size()
703 *out_height = power_of_2; in opengl_get_texture_size()
704 *out_width = power_of_2; in opengl_get_texture_size()
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles/
DSDL_render_gles.c434 power_of_2(int input) in power_of_2() function
516 texture_w = power_of_2(texture->w); in GLES_CreateTexture()
517 texture_h = power_of_2(texture->h); in GLES_CreateTexture()
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengl/
DSDL_render_gl.c599 power_of_2(int input) in power_of_2() function
732 texture_w = power_of_2(texture->w); in GL_CreateTexture()
733 texture_h = power_of_2(texture->h); in GL_CreateTexture()