Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 5092) sorted by relevance

12345678910>>...204

/third_party/selinux/libsepol/include/sepol/policydb/
Dmls_types.h50 mls_level_t level[2]; /* low == level[0], high == level[1] */ member
55 if (r1->level[1].sens < r2->level[0].sens || r2->level[1].sens < r1->level[0].sens) { in mls_range_glblub()
61 dst->level[0].sens = MAX(r1->level[0].sens, r2->level[0].sens); in mls_range_glblub()
63 dst->level[1].sens = MIN(r1->level[1].sens, r2->level[1].sens); in mls_range_glblub()
65 if (ebitmap_and(&dst->level[0].cat, &r1->level[0].cat, &r2->level[0].cat) < 0) { in mls_range_glblub()
69 if (ebitmap_and(&dst->level[1].cat, &r1->level[1].cat, &r2->level[1].cat) < 0) { in mls_range_glblub()
86 static inline void mls_level_init(struct mls_level *level) in mls_level_init() argument
89 memset(level, 0, sizeof(mls_level_t)); in mls_level_init()
92 static inline void mls_level_destroy(struct mls_level *level) in mls_level_destroy() argument
95 if (level == NULL) in mls_level_destroy()
[all …]
Dcontext.h62 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low()
63 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low()
67 dst->range.level[1].sens = src->range.level[0].sens; in mls_context_cpy_low()
68 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); in mls_context_cpy_low()
70 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_low()
82 dst->range.level[0].sens = src->range.level[1].sens; in mls_context_cpy_high()
83 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[1].cat); in mls_context_cpy_high()
87 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy_high()
88 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy_high()
90 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_high()
[all …]
/third_party/python/Parser/
Dparser.c937 if (p->level++ == MAXSTACK) { in file_rule()
942 p->level--; in file_rule()
949 p->level--; in file_rule()
952 … D(fprintf(stderr, "%*c> file[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statements? $")); in file_rule()
961 …D(fprintf(stderr, "%*c+ file[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statements?… in file_rule()
965 p->level--; in file_rule()
971 D(fprintf(stderr, "%*c%s file[%d-%d]: %s failed!\n", p->level, ' ', in file_rule()
976 p->level--; in file_rule()
984 if (p->level++ == MAXSTACK) { in interactive_rule()
989 p->level--; in interactive_rule()
[all …]
/third_party/alsa-lib/src/pcm/scopes/
Dlevel.c32 int16_t level; member
51 snd_pcm_scope_level_t *level = snd_pcm_scope_get_callback_private(scope); in level_enable() local
53 level->channels = calloc(snd_pcm_meter_get_channels(level->pcm), sizeof(*level->channels)); in level_enable()
54 if (!level->channels) { in level_enable()
55 free(level); in level_enable()
58 snd_pcm_scope_set_callback_private(scope, level); in level_enable()
59 level->win = initscr(); in level_enable()
60 winsdelln(level->win, snd_pcm_meter_get_channels(level->pcm)); in level_enable()
61 getyx(level->win, y, x); in level_enable()
62 level->top = y; in level_enable()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dutracimp.h106 utrace_data(int32_t utraceFnNumber, int32_t level, const char *fmt, ...);
117 #define UTRACE_LEVEL(level) (utrace_getLevel()>=(level)) argument
223 #define UTRACE_DATA0(level, fmt) \ argument
224 if(UTRACE_LEVEL(level)) { \
225 utrace_data(utraceFnNumber & ~UTRACE_TRACED_ENTRY, (level), (fmt)); \
236 #define UTRACE_DATA1(level, fmt, a) \ argument
237 if(UTRACE_LEVEL(level)) { \
238 utrace_data(utraceFnNumber & ~UTRACE_TRACED_ENTRY , (level), (fmt), (a)); \
249 #define UTRACE_DATA2(level, fmt, a, b) \ argument
250 if(UTRACE_LEVEL(level)) { \
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp327 GLsizei Texture::getDepth(GLenum target, GLint level) const in getDepth()
332 egl::Image *Texture::createSharedImage(GLenum target, unsigned int level) in createSharedImage() argument
334 egl::Image *image = getRenderTarget(target, level); // Increments reference count in createSharedImage()
498 GLsizei Texture2D::getWidth(GLenum target, GLint level) const in getWidth()
501 return image[level] ? image[level]->getWidth() : 0; in getWidth()
504 GLsizei Texture2D::getHeight(GLenum target, GLint level) const in getHeight()
507 return image[level] ? image[level]->getHeight() : 0; in getHeight()
510 GLint Texture2D::getFormat(GLenum target, GLint level) const in getFormat()
513 return image[level] ? image[level]->getFormat() : GL_NONE; in getFormat()
518 int level = mBaseLevel; in getTopLevel() local
[all …]
DTexture.h144 virtual GLsizei getWidth(GLenum target, GLint level) const = 0;
145 virtual GLsizei getHeight(GLenum target, GLint level) const = 0;
146 virtual GLsizei getDepth(GLenum target, GLint level) const;
147 virtual GLint getFormat(GLenum target, GLint level) const = 0;
154 virtual bool isCompressed(GLenum target, GLint level) const = 0;
155 virtual bool isDepth(GLenum target, GLint level) const = 0;
157 virtual Renderbuffer *getRenderbuffer(GLenum target, GLint level) = 0;
158 virtual egl::Image *getRenderTarget(GLenum target, unsigned int level) = 0;
159 egl::Image *createSharedImage(GLenum target, unsigned int level);
160 virtual bool isShared(GLenum target, unsigned int level) const = 0;
[all …]
/third_party/node/deps/icu-small/source/common/
Dutracimp.h106 utrace_data(int32_t utraceFnNumber, int32_t level, const char *fmt, ...);
117 #define UTRACE_LEVEL(level) (utrace_getLevel()>=(level)) argument
232 #define UTRACE_DATA0(level, fmt) UPRV_BLOCK_MACRO_BEGIN { \ argument
233 if(UTRACE_LEVEL(level)) { \
234 utrace_data(utraceFnNumber & ~UTRACE_TRACED_ENTRY, (level), (fmt)); \
246 #define UTRACE_DATA1(level, fmt, a) UPRV_BLOCK_MACRO_BEGIN { \ argument
247 if(UTRACE_LEVEL(level)) { \
248 utrace_data(utraceFnNumber & ~UTRACE_TRACED_ENTRY , (level), (fmt), (a)); \
260 #define UTRACE_DATA2(level, fmt, a, b) UPRV_BLOCK_MACRO_BEGIN { \ argument
261 if(UTRACE_LEVEL(level)) { \
[all …]
/third_party/icu/icu4c/source/common/
Dutracimp.h106 utrace_data(int32_t utraceFnNumber, int32_t level, const char *fmt, ...);
117 #define UTRACE_LEVEL(level) (utrace_getLevel()>=(level)) argument
232 #define UTRACE_DATA0(level, fmt) UPRV_BLOCK_MACRO_BEGIN { \ argument
233 if(UTRACE_LEVEL(level)) { \
234 utrace_data(utraceFnNumber & ~UTRACE_TRACED_ENTRY, (level), (fmt)); \
246 #define UTRACE_DATA1(level, fmt, a) UPRV_BLOCK_MACRO_BEGIN { \ argument
247 if(UTRACE_LEVEL(level)) { \
248 utrace_data(utraceFnNumber & ~UTRACE_TRACED_ENTRY , (level), (fmt), (a)); \
260 #define UTRACE_DATA2(level, fmt, a, b) UPRV_BLOCK_MACRO_BEGIN { \ argument
261 if(UTRACE_LEVEL(level)) { \
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dutracimp.h106 utrace_data(int32_t utraceFnNumber, int32_t level, const char *fmt, ...);
117 #define UTRACE_LEVEL(level) (utrace_getLevel()>=(level)) argument
232 #define UTRACE_DATA0(level, fmt) UPRV_BLOCK_MACRO_BEGIN { \ argument
233 if(UTRACE_LEVEL(level)) { \
234 utrace_data(utraceFnNumber & ~UTRACE_TRACED_ENTRY, (level), (fmt)); \
246 #define UTRACE_DATA1(level, fmt, a) UPRV_BLOCK_MACRO_BEGIN { \ argument
247 if(UTRACE_LEVEL(level)) { \
248 utrace_data(utraceFnNumber & ~UTRACE_TRACED_ENTRY , (level), (fmt), (a)); \
260 #define UTRACE_DATA2(level, fmt, a, b) UPRV_BLOCK_MACRO_BEGIN { \ argument
261 if(UTRACE_LEVEL(level)) { \
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dlevel.c74 GstElement *level; in setup_level() local
78 level = gst_check_setup_element ("level"); in setup_level()
79 mysrcpad = gst_check_setup_src_pad (level, &srctemplate); in setup_level()
80 mysinkpad = gst_check_setup_sink_pad (level, &sinktemplate); in setup_level()
85 gst_check_setup_events (mysrcpad, level, caps, GST_FORMAT_TIME); in setup_level()
88 return level; in setup_level()
92 cleanup_level (GstElement * level) in cleanup_level() argument
99 gst_check_teardown_src_pad (level); in cleanup_level()
100 gst_check_teardown_sink_pad (level); in cleanup_level()
101 gst_check_teardown_element (level); in cleanup_level()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_mipmap_tree.c385 free((*mt)->level[i].slice); in intel_miptree_release()
417 GLuint level = intelImage->base.Base.Level; in intel_miptree_match_image() local
440 if (width != mt->level[level].width || in intel_miptree_match_image()
441 height != mt->level[level].height || in intel_miptree_match_image()
442 depth != mt->level[level].depth) { in intel_miptree_match_image()
452 GLuint level, in intel_miptree_set_level_info() argument
456 mt->level[level].width = w; in intel_miptree_set_level_info()
457 mt->level[level].height = h; in intel_miptree_set_level_info()
458 mt->level[level].depth = d; in intel_miptree_set_level_info()
459 mt->level[level].level_x = x; in intel_miptree_set_level_info()
[all …]
Di915_tex_layout.c120 GLint level; in i915_miptree_layout_cube() local
128 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube()
129 intel_miptree_set_level_info(mt, level, in i915_miptree_layout_cube()
142 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube()
143 intel_miptree_set_image_offset(mt, level, face, x, y); in i915_miptree_layout_cube()
147 face, level, mt->first_level, mt->last_level); in i915_miptree_layout_cube()
163 GLint level; in i915_miptree_layout_3d() local
169 for (level = mt->first_level; level <= MAX2(8, mt->last_level); level++) { in i915_miptree_layout_3d()
170 intel_miptree_set_level_info(mt, level, 0, mt->total_height, in i915_miptree_layout_3d()
182 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_3d()
[all …]
/third_party/mbedtls/include/mbedtls/
Ddebug.h37 #define MBEDTLS_SSL_DEBUG_MSG( level, args ) \ argument
38 mbedtls_debug_print_msg( ssl, level, __FILE__, __LINE__, \
41 #define MBEDTLS_SSL_DEBUG_RET( level, text, ret ) \ argument
42 mbedtls_debug_print_ret( ssl, level, __FILE__, __LINE__, text, ret )
44 #define MBEDTLS_SSL_DEBUG_BUF( level, text, buf, len ) \ argument
45 mbedtls_debug_print_buf( ssl, level, __FILE__, __LINE__, text, buf, len )
48 #define MBEDTLS_SSL_DEBUG_MPI( level, text, X ) \ argument
49 mbedtls_debug_print_mpi( ssl, level, __FILE__, __LINE__, text, X )
53 #define MBEDTLS_SSL_DEBUG_ECP( level, text, X ) \ argument
54 mbedtls_debug_print_ecp( ssl, level, __FILE__, __LINE__, text, X )
[all …]
/third_party/mesa3d/src/freedreno/decode/
Dcffdec.c161 static void load_all_groups(int level);
165 int level);
166 static void dump_tex_const(uint32_t *texsamp, int num_unit, int level);
197 dump_hex(uint32_t *dwords, uint32_t sizedwords, int level) in dump_hex() argument
231 printf("%016" PRIx64 ":%s", addr, levels[level]); in dump_hex()
233 printf("%08x:%s", (uint32_t)addr, levels[level]); in dump_hex()
250 dump_float(float *dwords, uint32_t sizedwords, int level) in dump_float() argument
256 printf("%016" PRIx64 ":%s", gpuaddr(dwords), levels[level]); in dump_float()
258 printf("%08x:%s", (uint32_t)gpuaddr(dwords), levels[level]); in dump_float()
344 reg_dump_scratch(const char *name, uint32_t dword, int level) in reg_dump_scratch() argument
[all …]
/third_party/boost/libs/test/test/baseline-outputs/
Derrors-handling-test.pattern3 log level: log_successful_tests; error type: no error;
10 log level: log_successful_tests; error type: user message;
18 log level: log_successful_tests; error type: user warning;
26 log level: log_successful_tests; error type: user non-fatal error;
33 log level: log_successful_tests; error type: cpp exception;
41 log level: log_successful_tests; error type: system error;
49 log level: log_successful_tests; error type: user fatal error;
56 log level: log_successful_tests; error type: system fatal error;
65 log level: log_test_suites; error type: no error;
71 log level: log_test_suites; error type: user message;
[all …]
Derrors-handling-test.pattern23 log level: log_successful_tests; error type: no error;
10 log level: log_successful_tests; error type: user message;
18 log level: log_successful_tests; error type: user warning;
26 log level: log_successful_tests; error type: user non-fatal error;
33 log level: log_successful_tests; error type: cpp exception;
41 log level: log_successful_tests; error type: system error;
48 log level: log_test_suites; error type: no error;
54 log level: log_test_suites; error type: user message;
62 log level: log_test_suites; error type: user warning;
70 log level: log_test_suites; error type: user non-fatal error;
[all …]
/third_party/ffmpeg/libavcodec/
Dmpeg12.c80 int level, run; in ff_init_2d_vlc_rl() local
84 level = MAX_LEVEL; in ff_init_2d_vlc_rl()
87 level = code; in ff_init_2d_vlc_rl()
91 level = 0; in ff_init_2d_vlc_rl()
94 level = 127; in ff_init_2d_vlc_rl()
97 level = rl->table_level[code]; in ff_init_2d_vlc_rl()
101 rl->rl_vlc[0][i].level = level; in ff_init_2d_vlc_rl()
266 int level, run, j; in ff_mpeg1_decode_block_intra() local
268 GET_RL_VLC(level, run, re, gb, rl->rl_vlc[0], in ff_mpeg1_decode_block_intra()
271 if (level != 0) { in ff_mpeg1_decode_block_intra()
[all …]
/third_party/mbedtls/library/
Ddebug.c59 static inline void debug_send_line( const mbedtls_ssl_context *ssl, int level, in debug_send_line() argument
71 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, idstr ); in debug_send_line()
73 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, str ); in debug_send_line()
78 void mbedtls_debug_print_msg( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_msg() argument
89 level > debug_threshold ) in mbedtls_debug_print_msg()
104 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_msg()
107 void mbedtls_debug_print_ret( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ret() argument
116 level > debug_threshold ) in mbedtls_debug_print_ret()
132 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_ret()
135 void mbedtls_debug_print_buf( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_buf() argument
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.h177 svga_age_texture_view(struct svga_texture *tex, unsigned level) in svga_age_texture_view() argument
179 assert(level < ARRAY_SIZE(tex->view_age)); in svga_age_texture_view()
180 tex->view_age[level] = ++(tex->age); in svga_age_texture_view()
187 unsigned face, unsigned level) in check_face_level() argument
199 assert(level < 8 * sizeof(tex->rendered_to[0])); in check_face_level()
208 unsigned face,unsigned level) in svga_define_texture_level() argument
210 check_face_level(tex, face, level); in svga_define_texture_level()
211 tex->defined[face] |= 1 << level; in svga_define_texture_level()
218 unsigned face, unsigned level) in svga_is_texture_level_defined() argument
220 check_face_level(tex, face, level); in svga_is_texture_level_defined()
[all …]
/third_party/mesa3d/src/freedreno/fdl/
Dfreedreno_layout.c46 fdl_tile_mode_desc(const struct fdl_layout *layout, int level) in fdl_tile_mode_desc() argument
48 if (fdl_ubwc_enabled(layout, level)) in fdl_tile_mode_desc()
50 else if (fdl_tile_mode(layout, level) == 0) /* TILE6_LINEAR and friends */ in fdl_tile_mode_desc()
59 for (uint32_t level = 0; in fdl_dump_layout() local
60 level < ARRAY_SIZE(layout->slices) && layout->slices[level].size0; in fdl_dump_layout()
61 level++) { in fdl_dump_layout()
62 struct fdl_slice *slice = &layout->slices[level]; in fdl_dump_layout()
63 struct fdl_slice *ubwc_slice = &layout->ubwc_slices[level]; in fdl_dump_layout()
69 util_format_name(layout->format), u_minify(layout->width0, level), in fdl_dump_layout()
70 u_minify(layout->height0, level), u_minify(layout->depth0, level), in fdl_dump_layout()
[all …]
Dfreedreno_layout.h143 fdl_pitch(const struct fdl_layout *layout, unsigned level) in fdl_pitch() argument
145 return align(u_minify(layout->pitch0, level), 1 << layout->pitchalign); in fdl_pitch()
153 fdl_ubwc_pitch(const struct fdl_layout *layout, unsigned level) in fdl_ubwc_pitch() argument
157 return align(u_minify(layout->ubwc_width0, level), RGB_TILE_WIDTH_ALIGNMENT); in fdl_ubwc_pitch()
161 fdl_layer_stride(const struct fdl_layout *layout, unsigned level) in fdl_layer_stride() argument
166 return layout->slices[level].size0; in fdl_layer_stride()
171 fdl2_pitch(const struct fdl_layout *layout, unsigned level) in fdl2_pitch() argument
173 uint32_t pitch = fdl_pitch(layout, level); in fdl2_pitch()
174 if (level) in fdl2_pitch()
180 fdl2_pitch_pixels(const struct fdl_layout *layout, unsigned level) in fdl2_pitch_pixels() argument
[all …]
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2h264codec.c129 v4l2_level_from_string (const gchar * level) in v4l2_level_from_string() argument
133 if (g_str_equal (level, "1")) in v4l2_level_from_string()
135 else if (g_str_equal (level, "1b")) in v4l2_level_from_string()
137 else if (g_str_equal (level, "1.1")) in v4l2_level_from_string()
139 else if (g_str_equal (level, "1.2")) in v4l2_level_from_string()
141 else if (g_str_equal (level, "1.3")) in v4l2_level_from_string()
143 else if (g_str_equal (level, "2")) in v4l2_level_from_string()
145 else if (g_str_equal (level, "2.1")) in v4l2_level_from_string()
147 else if (g_str_equal (level, "2.2")) in v4l2_level_from_string()
149 else if (g_str_equal (level, "3")) in v4l2_level_from_string()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/
Dsoft_dp_log.h33 #define DP_LOG(model, level, format, ...) \ argument
35 if (DP_DEBUG_LEVEL & level) { \
36 if (DP_DEBUG & level) { \
41 } else if (DP_INFO & level) { \
46 } else if (DP_WARNING & level) { \
51 } else if (DP_ERR & level) { \
84 #define DP_LOG(model, level, format, ...) \ argument
90 if (DP_WARNING & level) { \
92 } else if (DP_ERR & level) { \
103 #define DP_LOG(model, level, format, ...) \ argument
[all …]
/third_party/selinux/libsepol/src/
Dmls.c124 p_sens_val_to_name[context->range.level[l].sens - in mls_compute_context_len()
127 ebitmap_for_each_bit(&context->range.level[l].cat, cnode, i) { in mls_compute_context_len()
151 if (mls_level_eq(&context->range.level[0], in mls_compute_context_len()
152 &context->range.level[1])) in mls_compute_context_len()
187 policydb->p_sens_val_to_name[context->range.level[l]. in mls_sid_to_context()
191 p_sens_val_to_name[context->range.level[l].sens - in mls_sid_to_context()
194 ebitmap_for_each_bit(&context->range.level[l].cat, cnode, i) { in mls_sid_to_context()
240 if (mls_level_eq(&context->range.level[0], in mls_sid_to_context()
241 &context->range.level[1])) in mls_sid_to_context()
275 if (!mls_level_dom(&c->range.level[1], &c->range.level[0])) in mls_context_isvalid()
[all …]

12345678910>>...204