/external/selinux/libsepol/cil/src/ |
D | cil_log.c | 40 void cil_default_log_handler(__attribute__((unused)) int lvl, char *msg) in cil_default_log_handler() argument 45 void (*cil_log_handler)(int lvl, char *msg) = &cil_default_log_handler; 47 void cil_set_log_handler(void (*handler)(int lvl, 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_l… in cil_vlog() argument 54 if (cil_log_level >= lvl) { in cil_vlog() 61 __attribute__ ((format (printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...) in cil_log() argument 65 cil_vlog(lvl, msg, args); in cil_log() 69 void cil_set_log_level(enum cil_log_level lvl) in cil_set_log_level() argument 71 cil_log_level = lvl; in cil_set_log_level()
|
D | cil_log.h | 38 __attribute__ ((format(printf, 2, 0))) void cil_vlog(enum cil_log_level lvl, const char *msg, va_li… 39 __attribute__ ((format(printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...);
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_cpal.c | 113 int lvl; in _mesa_cpal_compressed_size() local 125 for (lvl = 0; lvl < num_levels; lvl++) { in _mesa_cpal_compressed_size() 126 w = width >> lvl; in _mesa_cpal_compressed_size() 129 h = height >> lvl; in _mesa_cpal_compressed_size() 154 GLint lvl, num_levels; in _mesa_cpal_compressed_teximage2d() local 174 for (lvl = 0; lvl < num_levels; lvl++) { in _mesa_cpal_compressed_teximage2d() 179 w = width >> lvl; in _mesa_cpal_compressed_teximage2d() 182 h = height >> lvl; in _mesa_cpal_compressed_teximage2d() 197 _mesa_TexImage2D(target, lvl, info->format, w, h, 0, in _mesa_cpal_compressed_teximage2d()
|
/external/pdfium/third_party/libjpeg/ |
D | jerror.h | 252 #define TRACEMS(cinfo,lvl,code) \ argument 254 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 255 #define TRACEMS1(cinfo,lvl,code,p1) \ argument 258 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 259 #define TRACEMS2(cinfo,lvl,code,p1,p2) \ argument 263 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 264 #define TRACEMS3(cinfo,lvl,code,p1,p2,p3) \ argument 268 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) 269 #define TRACEMS4(cinfo,lvl,code,p1,p2,p3,p4) \ argument 273 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) [all …]
|
/external/libjpeg-turbo/ |
D | jerror.h | 278 #define TRACEMS(cinfo,lvl,code) \ argument 280 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 281 #define TRACEMS1(cinfo,lvl,code,p1) \ argument 284 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 285 #define TRACEMS2(cinfo,lvl,code,p1,p2) \ argument 289 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 290 #define TRACEMS3(cinfo,lvl,code,p1,p2,p3) \ argument 294 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) 295 #define TRACEMS4(cinfo,lvl,code,p1,p2,p3,p4) \ argument 299 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.c | 219 unsigned lvl; in fd3_sampler_view_create() local 243 lvl = 0; in fd3_sampler_view_create() 251 lvl = fd_sampler_first_level(cso); in fd3_sampler_view_create() 252 miplevels = fd_sampler_last_level(cso) - lvl; in fd3_sampler_view_create() 257 A3XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | in fd3_sampler_view_create() 258 A3XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); in fd3_sampler_view_create() 262 A3XX_TEX_CONST_2_PITCH(fd3_pipe2nblocksx(cso->format, rsc->slices[lvl].pitch) * rsc->cpp); in fd3_sampler_view_create() 272 A3XX_TEX_CONST_3_DEPTH(u_minify(prsc->depth0, lvl)) | in fd3_sampler_view_create() 273 A3XX_TEX_CONST_3_LAYERSZ1(rsc->slices[lvl].size0); in fd3_sampler_view_create() 274 while (lvl < cso->u.tex.last_level && sz2 != rsc->slices[lvl+1].size0) in fd3_sampler_view_create() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_print.c | 146 tab(int lvl) in tab() argument 148 for (int i = 0; i < lvl; i++) in tab() 153 print_instr(struct ir3_instruction *instr, int lvl) in print_instr() argument 157 tab(lvl); in print_instr() 208 print_block(struct ir3_block *block, int lvl) in print_block() argument 210 tab(lvl); printf("block%u {\n", block_id(block)); in print_block() 212 print_instr(instr, lvl+1); in print_block() 216 tab(lvl+1); in print_block() 223 tab(lvl+1); in print_block() 227 tab(lvl); printf("}\n"); in print_block()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_texture.c | 225 unsigned lvl, layers; in fd5_sampler_view_create() local 251 lvl = 0; in fd5_sampler_view_create() 262 lvl = fd_sampler_first_level(cso); in fd5_sampler_view_create() 263 miplevels = fd_sampler_last_level(cso) - lvl; in fd5_sampler_view_create() 268 A5XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | in fd5_sampler_view_create() 269 A5XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); in fd5_sampler_view_create() 274 cso->format, rsc->slices[lvl].pitch) * rsc->cpp); in fd5_sampler_view_create() 275 so->offset = fd_resource_offset(rsc, lvl, cso->u.tex.first_layer); in fd5_sampler_view_create() 303 while (lvl < cso->u.tex.last_level && sz2 != rsc->slices[lvl+1].size0) in fd5_sampler_view_create() 304 sz2 = rsc->slices[++lvl].size0; in fd5_sampler_view_create() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_texture.c | 227 unsigned lvl, layers; in fd4_sampler_view_create() local 254 lvl = 0; in fd4_sampler_view_create() 265 lvl = fd_sampler_first_level(cso); in fd4_sampler_view_create() 266 miplevels = fd_sampler_last_level(cso) - lvl; in fd4_sampler_view_create() 271 A4XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | in fd4_sampler_view_create() 272 A4XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); in fd4_sampler_view_create() 277 cso->format, rsc->slices[lvl].pitch) * rsc->cpp); in fd4_sampler_view_create() 278 so->offset = fd_resource_offset(rsc, lvl, cso->u.tex.first_layer); in fd4_sampler_view_create() 296 A4XX_TEX_CONST_3_DEPTH(u_minify(prsc->depth0, lvl)) | in fd4_sampler_view_create() 297 A4XX_TEX_CONST_3_LAYERSZ(rsc->slices[lvl].size0); in fd4_sampler_view_create() [all …]
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
D | SimpleLog.java | 214 String lvl = getStringProperty(systemPrefix + "log." + logName); in SimpleLog() local 216 while(null == lvl && i > -1) { in SimpleLog() 218 lvl = getStringProperty(systemPrefix + "log." + name); in SimpleLog() 222 if(null == lvl) { in SimpleLog() 223 lvl = getStringProperty(systemPrefix + "defaultlog"); in SimpleLog() 226 if("all".equalsIgnoreCase(lvl)) { in SimpleLog() 228 } else if("trace".equalsIgnoreCase(lvl)) { in SimpleLog() 230 } else if("debug".equalsIgnoreCase(lvl)) { in SimpleLog() 232 } else if("info".equalsIgnoreCase(lvl)) { in SimpleLog() 234 } else if("warn".equalsIgnoreCase(lvl)) { in SimpleLog() [all …]
|
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/ |
D | SimpleLog.java | 209 String lvl = getStringProperty(systemPrefix + "log." + logName); in SimpleLog() local 211 while (null == lvl && i > -1) { in SimpleLog() 213 lvl = getStringProperty(systemPrefix + "log." + name); in SimpleLog() 217 if (null == lvl) { in SimpleLog() 218 lvl = getStringProperty(systemPrefix + "defaultlog"); in SimpleLog() 221 if ("all".equalsIgnoreCase(lvl)) { in SimpleLog() 223 } else if ("trace".equalsIgnoreCase(lvl)) { in SimpleLog() 225 } else if ("debug".equalsIgnoreCase(lvl)) { in SimpleLog() 227 } else if ("info".equalsIgnoreCase(lvl)) { in SimpleLog() 229 } else if ("warn".equalsIgnoreCase(lvl)) { in SimpleLog() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 129 radeon_mipmap_level *lvl = &mt->levels[level]; in compute_tex_image_offset() local 132 height = _mesa_next_pow_two_32(lvl->height); in compute_tex_image_offset() 134 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset() 135 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset() 137 assert(lvl->size > 0); in compute_tex_image_offset() 139 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset() 140 *curOffset += lvl->size; in compute_tex_image_offset() 146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset() 293 radeon_mipmap_level *lvl; in radeon_miptree_matches_image() local 298 lvl = &mt->levels[level]; in radeon_miptree_matches_image() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 129 radeon_mipmap_level *lvl = &mt->levels[level]; in compute_tex_image_offset() local 132 height = _mesa_next_pow_two_32(lvl->height); in compute_tex_image_offset() 134 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset() 135 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset() 137 assert(lvl->size > 0); in compute_tex_image_offset() 139 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset() 140 *curOffset += lvl->size; in compute_tex_image_offset() 146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset() 293 radeon_mipmap_level *lvl; in radeon_miptree_matches_image() local 298 lvl = &mt->levels[level]; in radeon_miptree_matches_image() [all …]
|
/external/libdrm/nouveau/ |
D | private.h | 14 #define dbg_on(lvl) (nouveau_debug & (1 << lvl)) argument 15 #define dbg(lvl, fmt, args...) do { \ argument 16 if (dbg_on((lvl))) \ 20 #define dbg_on(lvl) (0) argument 21 #define dbg(lvl, fmt, args...) argument
|
/external/skia/bench/ |
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()
|
/external/v8/tools/gcmole/ |
D | gccause.lua | 41 local function TrackCause(name, lvl) 42 io.write((" "):rep(lvl or 0), name, "\n") 49 TrackCause(f, (lvl or 0) + 1)
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
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() 94 struct nv30_miptree_level *lvl = &mt->level[level]; in define_rect() local 109 rect->pitch = lvl->pitch; in define_rect() 426 struct nv30_miptree_level *lvl = &mt->level[l]; in nv30_miptree_create() local 430 lvl->offset = size; in nv30_miptree_create() 431 lvl->pitch = mt->uniform_pitch; in nv30_miptree_create() 432 if (!lvl->pitch) in nv30_miptree_create() 433 lvl->pitch = nbx * blocksz; in nv30_miptree_create() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_miptree.c | 207 struct nv50_miptree_level *lvl = &mt->level[l]; in nvc0_miptree_init_layout_tiled() local 212 lvl->offset = mt->total_size; in nvc0_miptree_init_layout_tiled() 214 lvl->tile_mode = nvc0_tex_choose_tile_dims(nbx, nby, d, mt->layout_3d); in nvc0_miptree_init_layout_tiled() 216 tsx = NVC0_TILE_SIZE_X(lvl->tile_mode); /* x is tile row pitch in bytes */ in nvc0_miptree_init_layout_tiled() 217 tsy = NVC0_TILE_SIZE_Y(lvl->tile_mode); in nvc0_miptree_init_layout_tiled() 218 tsz = NVC0_TILE_SIZE_Z(lvl->tile_mode); in nvc0_miptree_init_layout_tiled() 220 lvl->pitch = align(nbx * blocksize, tsx); in nvc0_miptree_init_layout_tiled() 222 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz); in nvc0_miptree_init_layout_tiled()
|
/external/toybox/toys/pending/ |
D | syslogd.c | 104 char *fac = tk, *lvl; in resolve_config() local 112 lvl = tk + 1; in resolve_config() 131 if (*lvl == *tk) { in resolve_config() 133 lvl++; in resolve_config() 137 if (*lvl) { in resolve_config() 138 if ((i = logger_lookup(1, lvl)) == -1) return -1; in resolve_config() 324 int olen = len, fac, lvl; in logmsg() local 344 lvl = LOG_PRI(pri); in logmsg() 358 if (lvl >= TT.log_prio) return; in logmsg() 362 if (!((tf->facility[lvl] & (1 << fac)) || (tf->level[fac] & (1<<lvl)))) { in logmsg()
|
/external/openssh/openbsd-compat/ |
D | port-linux.c | 62 char *sename = NULL, *lvl = NULL; in ssh_selinux_getctxbyname() local 66 if (getseuserbyname(pwname, &sename, &lvl) != 0) in ssh_selinux_getctxbyname() 70 lvl = NULL; in ssh_selinux_getctxbyname() 74 r = get_default_context_with_level(sename, lvl, NULL, &sc); in ssh_selinux_getctxbyname() 98 free(lvl); in ssh_selinux_getctxbyname()
|
/external/dhcpcd-6.8.2/ |
D | dhcpcd-run-hooks.in | 184 local lvl="$1" 186 if [ "$lvl" = debug ]; then 189 [ -n "$lvl" ] && shift 191 case "$lvl" in 196 logger -i -p daemon."$lvl" -t dhcpcd-run-hooks "$interface: $*"
|
D | common.h | 168 #define logger_mask(ctx, lvl) setlogmask((lvl)) argument 173 #define logger_mask(ctx, lvl) setlogmask((lvl)) argument
|
/external/selinux/libsepol/cil/include/cil/ |
D | cil.h | 64 extern void cil_set_log_level(enum cil_log_level lvl); 65 extern void cil_set_log_handler(void (*handler)(int lvl, char *msg)); 70 extern void cil_log(enum cil_log_level lvl, const char *msg, ...);
|
/external/libvpx/libvpx/vp8/common/ |
D | vp8_loopfilter.c | 128 memset(lfi->lvl[seg][0], lvl_seg, 4 * 4); in vp8_loop_filter_frame_init() 145 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init() 150 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init() 163 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init() 188 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_normal() 241 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_simple() 308 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame() 359 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame() 430 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame_yonly() 528 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_partial_frame()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_miptree.c | 304 struct nv50_miptree_level *lvl = &mt->level[l]; in nv50_miptree_init_layout_tiled() local 309 lvl->offset = mt->total_size; in nv50_miptree_init_layout_tiled() 311 lvl->tile_mode = nv50_tex_choose_tile_dims(nbx, nby, d, mt->layout_3d); in nv50_miptree_init_layout_tiled() 313 tsx = NV50_TILE_SIZE_X(lvl->tile_mode); /* x is tile row pitch in bytes */ in nv50_miptree_init_layout_tiled() 314 tsy = NV50_TILE_SIZE_Y(lvl->tile_mode); in nv50_miptree_init_layout_tiled() 315 tsz = NV50_TILE_SIZE_Z(lvl->tile_mode); in nv50_miptree_init_layout_tiled() 317 lvl->pitch = align(nbx * blocksize, tsx); in nv50_miptree_init_layout_tiled() 319 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz); in nv50_miptree_init_layout_tiled()
|