/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 | 37 __attribute__ ((format(printf, 2, 0))) void cil_vlog(enum cil_log_level lvl, const char *msg, va_li… 38 __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 | 116 int lvl; in _mesa_cpal_compressed_size() local 128 for (lvl = 0; lvl < num_levels; lvl++) { in _mesa_cpal_compressed_size() 129 w = width >> lvl; in _mesa_cpal_compressed_size() 132 h = height >> lvl; in _mesa_cpal_compressed_size() 172 GLint lvl, num_levels; in _mesa_cpal_compressed_teximage2d() local 192 for (lvl = 0; lvl < num_levels; lvl++) { in _mesa_cpal_compressed_teximage2d() 197 w = width >> lvl; in _mesa_cpal_compressed_teximage2d() 200 h = height >> lvl; in _mesa_cpal_compressed_teximage2d() 215 _mesa_TexImage2D(target, lvl, info->format, w, h, 0, in _mesa_cpal_compressed_teximage2d()
|
/external/jpeg/ |
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/pdfium/core/src/fxcodec/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/pdfium/core/include/thirdparties/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/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/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/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 130 radeon_mipmap_level *lvl = &mt->levels[level]; in compute_tex_image_offset() local 133 height = _mesa_next_pow_two_32(lvl->height); in compute_tex_image_offset() 135 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset() 136 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset() 138 assert(lvl->size > 0); in compute_tex_image_offset() 140 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset() 141 *curOffset += lvl->size; in compute_tex_image_offset() 147 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset() 303 radeon_mipmap_level *lvl; in radeon_miptree_matches_image() local 308 lvl = &mt->levels[level]; in radeon_miptree_matches_image() [all …]
|
D | radeon_texture.c | 160 radeon_mipmap_level *lvl; in teximage_set_map_data() local 169 lvl = &image->mt->levels[image->base.Base.Level]; in teximage_set_map_data() 171 image->base.Map = image->mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; in teximage_set_map_data() 172 image->base.RowStride = lvl->rowstride / _mesa_get_format_bytes(image->base.Base.TexFormat); in teximage_set_map_data() 252 radeon_mipmap_level *lvl = &image->mt->levels[texImage->Level]; in radeon_map_texture_image() local 255 base = mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; in radeon_map_texture_image() 257 *stride = lvl->rowstride; in radeon_map_texture_image() 712 radeon_mipmap_level *lvl; in radeon_swrast_map_image() local 723 lvl = &image->mt->levels[level]; in radeon_swrast_map_image() 725 rs = lvl->rowstride / texel_size; in radeon_swrast_map_image() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 130 radeon_mipmap_level *lvl = &mt->levels[level]; in compute_tex_image_offset() local 133 height = _mesa_next_pow_two_32(lvl->height); in compute_tex_image_offset() 135 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset() 136 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset() 138 assert(lvl->size > 0); in compute_tex_image_offset() 140 lvl->faces[face].offset = *curOffset; in compute_tex_image_offset() 141 *curOffset += lvl->size; in compute_tex_image_offset() 147 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset() 303 radeon_mipmap_level *lvl; in radeon_miptree_matches_image() local 308 lvl = &mt->levels[level]; in radeon_miptree_matches_image() [all …]
|
D | radeon_texture.c | 160 radeon_mipmap_level *lvl; in teximage_set_map_data() local 169 lvl = &image->mt->levels[image->base.Base.Level]; in teximage_set_map_data() 171 image->base.Map = image->mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; in teximage_set_map_data() 172 image->base.RowStride = lvl->rowstride / _mesa_get_format_bytes(image->base.Base.TexFormat); in teximage_set_map_data() 252 radeon_mipmap_level *lvl = &image->mt->levels[texImage->Level]; in radeon_map_texture_image() local 255 base = mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; in radeon_map_texture_image() 257 *stride = lvl->rowstride; in radeon_map_texture_image() 712 radeon_mipmap_level *lvl; in radeon_swrast_map_image() local 723 lvl = &image->mt->levels[level]; in radeon_swrast_map_image() 725 rs = lvl->rowstride / texel_size; in radeon_swrast_map_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/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_miptree.c | 40 struct nv30_miptree_level *lvl = &mt->level[level]; in layer_offset() local 43 return (layer * mt->layer_size) + lvl->offset; in layer_offset() 45 return lvl->offset + (layer * lvl->zslice_size); in layer_offset() 93 struct nv30_miptree_level *lvl = &mt->level[level]; in define_rect() local 108 rect->pitch = lvl->pitch; in define_rect() 323 struct nv30_miptree_level *lvl = &mt->level[l]; in nv30_miptree_create() local 327 lvl->offset = size; in nv30_miptree_create() 328 lvl->pitch = mt->uniform_pitch; in nv30_miptree_create() 329 if (!lvl->pitch) in nv30_miptree_create() 330 lvl->pitch = nbx * blocksz; in nv30_miptree_create() [all …]
|
/external/libvncserver/x11vnc/ |
D | keyboard.c | 759 int kc, grp, lvl; in add_dead_keysyms() local 762 for (lvl = 0; lvl < 8; lvl++) { in add_dead_keysyms() 764 kc, grp, lvl); in add_dead_keysyms() 986 int kc, grp, lvl; in switch_to_xkb_if_better() local 1151 for (lvl = 0; lvl < LVL; lvl++) { in switch_to_xkb_if_better() 1153 keysym = XkbKeycodeToKeysym(dpy, kc, grp, lvl); in switch_to_xkb_if_better() 1230 int kc, grp, lvl, k; in initialize_xkb_modtweak() local 1294 for (lvl = 0; lvl < LVL; lvl++) { in initialize_xkb_modtweak() 1295 xkbkeysyms[kc][grp][lvl] = NoSymbol; in initialize_xkb_modtweak() 1296 xkbmodifiers[kc][grp][lvl] = -1; in initialize_xkb_modtweak() [all …]
|
/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/nvc0/ |
D | nvc0_miptree.c | 229 struct nv50_miptree_level *lvl = &mt->level[l]; in nvc0_miptree_init_layout_tiled() local 234 lvl->offset = mt->total_size; in nvc0_miptree_init_layout_tiled() 236 lvl->tile_mode = nvc0_tex_choose_tile_dims(nbx, nby, d); in nvc0_miptree_init_layout_tiled() 238 tsx = NVC0_TILE_SIZE_X(lvl->tile_mode); /* x is tile row pitch in bytes */ in nvc0_miptree_init_layout_tiled() 239 tsy = NVC0_TILE_SIZE_Y(lvl->tile_mode); in nvc0_miptree_init_layout_tiled() 240 tsz = NVC0_TILE_SIZE_Z(lvl->tile_mode); in nvc0_miptree_init_layout_tiled() 242 lvl->pitch = align(nbx * blocksize, tsx); in nvc0_miptree_init_layout_tiled() 244 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz); in nvc0_miptree_init_layout_tiled()
|
/external/linux-tools-perf/src/tools/perf/arch/x86/util/ |
D | header.c | 25 unsigned int a, b, c, d, lvl; in get_cpuid() local 30 cpuid(0, &lvl, &b, &c, &d); in get_cpuid() 36 if (lvl >= 1) { in get_cpuid()
|
/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/selinux/libsepol/cil/include/cil/ |
D | cil.h | 61 extern void cil_set_log_level(enum cil_log_level lvl); 62 extern void cil_set_log_handler(void (*handler)(int lvl, char *msg)); 67 extern void cil_log(enum cil_log_level lvl, const char *msg, ...);
|
/external/openssh/openbsd-compat/ |
D | port-linux.c | 64 char *sename = NULL, *lvl = NULL; in ssh_selinux_getctxbyname() local 68 if (getseuserbyname(pwname, &sename, &lvl) != 0) in ssh_selinux_getctxbyname() 72 lvl = NULL; in ssh_selinux_getctxbyname() 76 r = get_default_context_with_level(sename, lvl, NULL, &sc); in ssh_selinux_getctxbyname() 100 free(lvl); in ssh_selinux_getctxbyname()
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_miptree.c | 224 struct nv50_miptree_level *lvl = &mt->level[l]; in nv50_miptree_init_layout_tiled() local 229 lvl->offset = mt->total_size; in nv50_miptree_init_layout_tiled() 231 lvl->tile_mode = nv50_tex_choose_tile_dims(nbx, nby, d); in nv50_miptree_init_layout_tiled() 233 tsx = NV50_TILE_SIZE_X(lvl->tile_mode); /* x is tile row pitch in bytes */ in nv50_miptree_init_layout_tiled() 234 tsy = NV50_TILE_SIZE_Y(lvl->tile_mode); in nv50_miptree_init_layout_tiled() 235 tsz = NV50_TILE_SIZE_Z(lvl->tile_mode); in nv50_miptree_init_layout_tiled() 237 lvl->pitch = align(nbx * blocksize, tsx); in nv50_miptree_init_layout_tiled() 239 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz); in nv50_miptree_init_layout_tiled()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_loopfilter.c | 210 int lvl; in update_sharpness() local 213 for (lvl = 0; lvl <= MAX_LOOP_FILTER; lvl++) { in update_sharpness() 215 int block_inside_limit = lvl >> ((sharpness_lvl > 0) + (sharpness_lvl > 4)); in update_sharpness() 225 vpx_memset(lfi->lfthr[lvl].lim, block_inside_limit, SIMD_WIDTH); in update_sharpness() 226 vpx_memset(lfi->lfthr[lvl].mblim, (2 * (lvl + 2) + block_inside_limit), in update_sharpness() 233 return lfi_n->lvl[mbmi->segment_id][mbmi->ref_frame[0]] in get_filter_level() 240 int lvl; in vp9_loop_filter_init() local 247 for (lvl = 0; lvl <= MAX_LOOP_FILTER; lvl++) in vp9_loop_filter_init() 248 vpx_memset(lfi->lfthr[lvl].hev_thr, (lvl >> 4), SIMD_WIDTH); in vp9_loop_filter_init() 279 vpx_memset(lfi->lvl[seg_id], lvl_seg, sizeof(lfi->lvl[seg_id])); in vp9_loop_filter_frame_init() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | loopfilter.c | 154 vpx_memset(lfi->lvl[seg][0], lvl_seg, 4 * 4 ); in vp8_loop_filter_frame_init() 171 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init() 176 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init() 191 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init() 219 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_normal() 275 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_simple() 350 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame() 406 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame() 492 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame_yonly() 608 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_partial_frame()
|