/third_party/rust/crates/log/tests/ |
H A D | macros.rs | 17 for lvl in log::Level::iter() { in no_args() 18 log!(lvl, "hello"); in no_args() 19 log!(lvl, "hello",); in no_args() 21 log!(target: "my_target", lvl, "hello"); in no_args() 22 log!(target: "my_target", lvl, "hello",); in no_args() 24 log!(lvl, "hello"); in no_args() 25 log!(lvl, "hello",); in no_args() 37 for lvl in log::Level::iter() { in anonymous_args() 38 log!(lvl, "hello {}", "world"); in anonymous_args() 39 log!(lvl, "hell in anonymous_args() [all...] |
H A D | filters.rs | 82 fn t(lvl: Level, filter: LevelFilter) -> Option<Level> { in test() 83 if lvl <= filter { in test() 84 Some(lvl) in test() 92 let lvl = state.last_log.lock().unwrap().take(); in last() 93 assert_eq!(lvl, expected); in last()
|
/third_party/rust/crates/log/src/ |
H A D | macros.rs | 33 (target: $target:expr, $lvl:expr, $($key:tt = $value:expr),+; $($arg:tt)+) => ({ 34 let lvl = $lvl; 35 if lvl <= $crate::STATIC_MAX_LEVEL && lvl <= $crate::max_level() { 38 lvl, 46 (target: $target:expr, $lvl:expr, $($arg:tt)+) => ({ 47 let lvl = $lvl; 48 if lvl < [all...] |
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_log.c | 40 static void cil_default_log_handler(__attribute__((unused)) int lvl, const char *msg) in cil_default_log_handler() argument 45 static void (*cil_log_handler)(int lvl, const char *msg) = &cil_default_log_handler; 47 void cil_set_log_handler(void (*handler)(int lvl, const char *msg)) in cil_set_log_handler() argument 52 __attribute__ ((format (printf, 2, 0))) void cil_vlog(enum cil_log_level lvl, const char *msg, va_list args) in cil_vlog() argument 54 if (cil_log_level >= lvl) { in cil_vlog() 66 __attribute__ ((format (printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...) in cil_log() argument 70 cil_vlog(lvl, msg, args); in cil_log() 74 void cil_set_log_level(enum cil_log_level lvl) in cil_set_log_level() argument 76 cil_log_level = lvl; in cil_set_log_level()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_cpal.c | 114 int lvl; in _mesa_cpal_compressed_size() local 126 for (lvl = 0; lvl < num_levels; lvl++) { in _mesa_cpal_compressed_size() 127 w = width >> lvl; in _mesa_cpal_compressed_size() 130 h = height >> lvl; in _mesa_cpal_compressed_size() 155 GLint lvl, num_levels; in _mesa_cpal_compressed_teximage2d() local 175 for (lvl = 0; lvl < num_levels; lvl in _mesa_cpal_compressed_teximage2d() [all...] |
/third_party/mesa3d/.gitlab-ci/tests/utils/ |
H A D | test_lava_log.py | 69 "lvl": "debug", 76 "lvl": "target", 81 "lvl": "debug", 87 "lvl": "target", 92 "lvl": "target", 115 "lvl": "debug", 120 "lvl": "target", 170 create_lava_yaml_msg(msg="[0m[0m[31mERROR - dEQP error: ", lvl="target"), 176 lvl="target", variable 181 create_lava_yaml_msg(msg="[1;31mReview the image changes...", lvl 300 lvl="target", global() variable [all...] |
/third_party/mesa3d/src/freedreno/decode/ |
H A D | pgmdump2.c | 63 int lvl; member 90 printf("%s%12s:\t0x%x\n", tab(state->lvl), #field, s->field); \ 97 printf("%s%12s:\t%u\n", tab(state->lvl), #field, s->field); \ 104 printf("%s%12s:\t%f (0x%0x)\n", tab(state->lvl), #field, uif(s->field), \ 112 printf("%s%12s:\t%c%u.%c\n", tab(state->lvl), #field, type, \ 120 printf("%s%12s:\t%s\n", tab(state->lvl), #field, s->field); \ 137 state->lvl++; \ 139 state->lvl--; \ 157 printf("%s %04x:\t%08x", tab(state->lvl), start + i * 4, d); in dump_unknown() 332 state->lvl in decode_shader_descriptor_block() [all...] |
/third_party/mesa3d/.gitlab-ci/tests/lava/ |
H A D | helpers.py | 24 dt: Callable = datetime.now, msg="test", lvl="target" 26 return {"dt": str(dt()), "msg": msg, "lvl": lvl} 40 finished=False, msg=None, lvl="target", result=None 42 timed_msg = {"dt": str(datetime.now()), "msg": "New message", "lvl": lvl} 44 timed_msg["lvl"] = "target" 102 yield jobs_logs_response(finished=False, msg=[], lvl=level) 131 msg="<STARTTC> case", lvl="debug" 134 msg="<STARTRUN> suite", lvl [all...] |
/third_party/node/deps/npm/node_modules/npmlog/lib/ |
H A D | log.js | 213 log.log = function (lvl, prefix, message) { 214 var l = this.levels[lvl] 217 'Undefined log level: %j', lvl))) 241 level: lvl, 248 this.emit('log.' + lvl, m) 286 // If 'disp' is null or undefined, use the lvl as a default 361 log.addLevel = function (lvl, n, style, disp) { 362 // If 'disp' is null or undefined, use the lvl as a default 364 disp = lvl 367 this.levels[lvl] [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_texture.c | 135 unsigned lvl, layers = 0; in fd5_sampler_view_create() local 176 lvl = 0; in fd5_sampler_view_create() 184 lvl = fd_sampler_first_level(cso); in fd5_sampler_view_create() 185 miplevels = fd_sampler_last_level(cso) - lvl; in fd5_sampler_view_create() 189 so->texconst1 = A5XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | in fd5_sampler_view_create() 190 A5XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); in fd5_sampler_view_create() 192 A5XX_TEX_CONST_2_PITCH(fd_resource_pitch(rsc, lvl)); in fd5_sampler_view_create() 193 so->offset = fd_resource_offset(rsc, lvl, cso->u.tex.first_layer); in fd5_sampler_view_create() 219 A5XX_TEX_CONST_3_ARRAY_PITCH(fd_resource_slice(rsc, lvl)->size0); in fd5_sampler_view_create() 220 so->texconst5 = A5XX_TEX_CONST_5_DEPTH(u_minify(prsc->depth0, lvl)); in fd5_sampler_view_create() [all...] |
H A D | fd5_image.c | 99 unsigned lvl = pimg->u.tex.level; in translate_image() local 100 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer); in translate_image() 101 img->pitch = fd_resource_pitch(rsc, lvl); in translate_image() 103 img->width = u_minify(prsc->width0, lvl); in translate_image() 104 img->height = u_minify(prsc->height0, lvl); in translate_image() 126 img->array_pitch = fd_resource_slice(rsc, lvl)->size0; in translate_image() 127 img->depth = u_minify(prsc->depth0, lvl); in translate_image()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_print.c | 346 tab(struct log_stream *stream, int lvl) in tab() argument 348 for (int i = 0; i < lvl; i++) in tab() 353 print_instr(struct log_stream *stream, struct ir3_instruction *instr, int lvl) in print_instr() argument 355 tab(stream, lvl); in print_instr() 481 print_block(struct ir3_block *block, int lvl) in print_block() argument 485 tab(stream, lvl); in print_block() 489 tab(stream, lvl + 1); in print_block() 501 tab(stream, lvl + 1); in print_block() 513 print_instr(stream, instr, lvl + 1); in print_block() 516 tab(stream, lvl in print_block() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jerror.h | 290 #define TRACEMS(cinfo, lvl, code) \ 292 (*(cinfo)->err->emit_message) ((j_common_ptr)(cinfo), (lvl))) 293 #define TRACEMS1(cinfo, lvl, code, p1) \ 296 (*(cinfo)->err->emit_message) ((j_common_ptr)(cinfo), (lvl))) 297 #define TRACEMS2(cinfo, lvl, code, p1, p2) \ 301 (*(cinfo)->err->emit_message) ((j_common_ptr)(cinfo), (lvl))) 302 #define TRACEMS3(cinfo, lvl, code, p1, p2, p3) \ 306 (*(cinfo)->err->emit_message) ((j_common_ptr)(cinfo), (lvl)); ) 307 #define TRACEMS4(cinfo, lvl, code, p1, p2, p3, p4) \ 311 (*(cinfo)->err->emit_message) ((j_common_ptr)(cinfo), (lvl)); ) [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_texture.c | 154 unsigned lvl; in fd3_sampler_view_create() local 177 lvl = 0; in fd3_sampler_view_create() 185 lvl = fd_sampler_first_level(cso); in fd3_sampler_view_create() 186 miplevels = fd_sampler_last_level(cso) - lvl; in fd3_sampler_view_create() 190 A3XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | in fd3_sampler_view_create() 191 A3XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); in fd3_sampler_view_create() 194 struct fdl_slice *slice = fd_resource_slice(rsc, lvl); in fd3_sampler_view_create() 195 so->texconst2 = A3XX_TEX_CONST_2_PITCH(fd_resource_pitch(rsc, lvl)); in fd3_sampler_view_create() 203 so->texconst3 = A3XX_TEX_CONST_3_DEPTH(u_minify(prsc->depth0, lvl)) | in fd3_sampler_view_create()
|
/third_party/rust/crates/log/test_max_level_features/ |
H A D | main.rs | 64 fn t(lvl: Level, filter: LevelFilter) -> Option<Level> { in test() 65 if lvl <= filter {Some(lvl)} else {None} in test() 70 let mut lvl = state.last_log.lock().unwrap(); in last() variables 71 assert_eq!(*lvl, expected); in last() 72 *lvl = None; in last()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_texture.c | 142 unsigned lvl, layers = 0; in fd4_sampler_view_create() local 174 lvl = 0; in fd4_sampler_view_create() 183 lvl = fd_sampler_first_level(cso); in fd4_sampler_view_create() 184 miplevels = fd_sampler_last_level(cso) - lvl; in fd4_sampler_view_create() 188 so->texconst1 = A4XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | in fd4_sampler_view_create() 189 A4XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); in fd4_sampler_view_create() 191 A4XX_TEX_CONST_2_PITCH(fd_resource_pitch(rsc, lvl)); in fd4_sampler_view_create() 192 so->offset = fd_resource_offset(rsc, lvl, cso->u.tex.first_layer); in fd4_sampler_view_create() 220 A4XX_TEX_CONST_3_DEPTH(u_minify(prsc->depth0, lvl)) | in fd4_sampler_view_create() 221 A4XX_TEX_CONST_3_LAYERSZ(fd_resource_slice(rsc, lvl) in fd4_sampler_view_create() [all...] |
H A D | fd4_image.c | 109 unsigned lvl = pimg->u.tex.level; in translate_image() local 110 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer); in translate_image() 111 img->pitch = fd_resource_pitch(rsc, lvl); in translate_image() 114 img->width = u_minify(prsc->width0, lvl); in translate_image() 115 img->height = u_minify(prsc->height0, lvl); in translate_image() 137 img->array_pitch = fd_resource_slice(rsc, lvl)->size0; in translate_image() 138 img->depth = u_minify(prsc->depth0, lvl); in translate_image()
|
/third_party/libbpf/src/ |
H A D | btf_dump.c | 28 static const char *pfx(int lvl) in pfx() argument 30 return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; in pfx() 622 const struct btf_type *t, int lvl); 627 const struct btf_type *t, int lvl); 633 const struct btf_type *t, int lvl); 642 const char *fname, int lvl); 645 const char *fname, int lvl); 862 bool in_bitfield, int lvl) in btf_dump_emit_bit_padding() 917 btf_dump_printf(d, "\n%s%s: %d;", pfx(lvl), pad_typ in btf_dump_emit_bit_padding() 860 btf_dump_emit_bit_padding(const struct btf_dump *d, int cur_off, int next_off, int next_align, bool in_bitfield, int lvl) btf_dump_emit_bit_padding() argument 963 btf_dump_emit_struct_def(struct btf_dump *d, __u32 id, const struct btf_type *t, int lvl) btf_dump_emit_struct_def() argument 1061 btf_dump_emit_enum32_val(struct btf_dump *d, const struct btf_type *t, int lvl, __u16 vlen) btf_dump_emit_enum32_val() argument 1086 btf_dump_emit_enum64_val(struct btf_dump *d, const struct btf_type *t, int lvl, __u16 vlen) btf_dump_emit_enum64_val() argument 1117 btf_dump_emit_enum_def(struct btf_dump *d, __u32 id, const struct btf_type *t, int lvl) btf_dump_emit_enum_def() argument 1186 btf_dump_emit_typedef_def(struct btf_dump *d, __u32 id, const struct btf_type *t, int lvl) btf_dump_emit_typedef_def() argument 1270 int lvl, err; btf_dump__emit_type_decl() local 1287 btf_dump_emit_type_decl(struct btf_dump *d, __u32 id, const char *fname, int lvl) btf_dump_emit_type_decl() argument 1416 btf_dump_emit_type_chain(struct btf_dump *d, struct id_stack *decls, const char *fname, int lvl) btf_dump_emit_type_chain() argument 1718 int i, lvl = d->typed_dump->indent_lvl + d->typed_dump->depth; btf_dump_data_pfx() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_compute.c | 355 struct nv50_miptree_level *lvl = &mt->level[view->u.tex.level]; in nv50_set_surface_info() local 357 NV50_TILE_SIZE_Y(lvl->tile_mode)); in nv50_set_surface_info() 363 info[4] = mt->layer_stride / lvl->pitch; in nv50_set_surface_info() 367 info[8] = NV50_TILE_SHIFT_X(lvl->tile_mode); in nv50_set_surface_info() 368 info[9] = NV50_TILE_SHIFT_Y(lvl->tile_mode); in nv50_set_surface_info() 369 info[10] = NV50_TILE_SHIFT_Z(lvl->tile_mode); in nv50_set_surface_info() 427 struct nv50_miptree_level *lvl = &mt->level[view->u.tex.level]; in nv50_compute_validate_surfaces() local 438 address += lvl->offset; in nv50_compute_validate_surfaces() 448 const unsigned tsy = NV50_TILE_SIZE_Y(lvl->tile_mode); in nv50_compute_validate_surfaces() 449 const unsigned tsz = NV50_TILE_SIZE_Z(lvl in nv50_compute_validate_surfaces() [all...] |
/third_party/rust/crates/bindgen/bindgen/ |
H A D | log_stubs.rs | 4 (target: $target:expr, $lvl:expr, $($arg:tt)+) => {{ 6 let _ = log!($lvl, $($arg)+); 8 ($lvl:expr, $($arg:tt)+) => {{ 9 let _ = $lvl;
|
/third_party/curl/lib/ |
H A D | curl_trc.c | 188 int lvl; in Curl_trc_opt() local 198 lvl = CURL_LOG_LVL_NONE; in Curl_trc_opt() 202 lvl = CURL_LOG_LVL_INFO; in Curl_trc_opt() 206 lvl = CURL_LOG_LVL_INFO; in Curl_trc_opt() 211 cf_types[i]->log_level = lvl; in Curl_trc_opt() 214 cf_types[i]->log_level = lvl; in Curl_trc_opt()
|
/third_party/skia/bench/ |
H A D | PictureNestingBench.cpp | 44 int sierpinsky(SkCanvas* canvas, int lvl, const SkPaint& paint) { in sierpinsky() argument 45 if (++lvl > fMaxLevel) { in sierpinsky() 50 bool recordPicture = lvl <= fMaxPictureLevel; in sierpinsky() 67 pics += this->sierpinsky(c, lvl, paint); in sierpinsky() 70 pics += this->sierpinsky(c, lvl, paint); in sierpinsky() 73 pics += this->sierpinsky(c, lvl, paint); in sierpinsky()
|
/third_party/toybox/toys/pending/ |
H A D | syslogd.c | 103 char *fac = tk, *lvl; in resolve_config() local 111 lvl = tk + 1; in resolve_config() 130 if (*lvl == *tk) { in resolve_config() 132 lvl++; in resolve_config() 136 if (*lvl) { in resolve_config() 137 if ((i = logger_lookup(1, lvl)) == -1) return -1; in resolve_config() 323 int olen = len, fac, lvl; in logmsg() local 343 lvl = LOG_PRI(pri); in logmsg() 357 if (lvl >= TT.log_prio) return; in logmsg() 361 if (!((tf->facility[lvl] in logmsg() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_miptree.c | 41 struct nv30_miptree_level *lvl = &mt->level[level]; in layer_offset() local 44 return (layer * mt->layer_size) + lvl->offset; in layer_offset() 46 return lvl->offset + (layer * lvl->zslice_size); in layer_offset() 99 struct nv30_miptree_level *lvl = &mt->level[level]; in define_rect() local 114 rect->pitch = lvl->pitch; in define_rect() 472 struct nv30_miptree_level *lvl = &mt->level[l]; in nv30_miptree_create() local 476 lvl->offset = size; in nv30_miptree_create() 477 lvl->pitch = mt->uniform_pitch; in nv30_miptree_create() 478 if (!lvl in nv30_miptree_create() 551 struct nv30_miptree_level *lvl = &mt->level[tmpl->u.tex.level]; nv30_miptree_surface_new() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vp9lpf.c | 27 uint8_t *lvl, uint8_t (*mask)[4], in filter_plane_cols() 33 for (y = 0; y < 8; y += 2 << ss_v, dst += 16 * ls, lvl += 16 << ss_v) { in filter_plane_cols() 34 uint8_t *ptr = dst, *l = lvl, *hmask1 = mask[y], *hmask2 = mask[y + 1 + ss_v]; in filter_plane_cols() 102 uint8_t *lvl, uint8_t (*mask)[4], in filter_plane_rows() 111 uint8_t *ptr = dst, *l = lvl, *vmask = mask[y]; in filter_plane_rows() 171 lvl += 16; in filter_plane_rows() 173 lvl += 8; in filter_plane_rows() 26 filter_plane_cols(VP9Context *s, int col, int ss_h, int ss_v, uint8_t *lvl, uint8_t (*mask)[4], uint8_t *dst, ptrdiff_t ls) filter_plane_cols() argument 101 filter_plane_rows(VP9Context *s, int row, int ss_h, int ss_v, uint8_t *lvl, uint8_t (*mask)[4], uint8_t *dst, ptrdiff_t ls) filter_plane_rows() argument
|