/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()
|
/external/opencv3/3rdparty/libjasper/ |
D | jpc_t2enc.c | 164 jpc_enc_rlvl_t *lvl; in jpc_enc_encpkt() local 216 lvl = &comp->rlvls[lvlno]; in jpc_enc_encpkt() 217 endbands = &lvl->bands[lvl->numbands]; in jpc_enc_encpkt() 218 for (band = lvl->bands; band != endbands; ++band) { in jpc_enc_encpkt() 343 lvl = &comp->rlvls[lvlno]; in jpc_enc_encpkt() 344 endbands = &lvl->bands[lvl->numbands]; in jpc_enc_encpkt() 345 for (band = lvl->bands; band != endbands; ++band) { in jpc_enc_encpkt() 394 jpc_enc_rlvl_t *lvl; in jpc_save_t2state() local 409 for (lvl = comp->rlvls; lvl != endlvls; ++lvl) { in jpc_save_t2state() 410 if (!lvl->bands) { in jpc_save_t2state() [all …]
|
D | jpc_enc.c | 1108 jpc_enc_rlvl_t *lvl; in jpc_enc_encodemainbody() local 1204 for (rlvlno = 0, lvl = comp->rlvls; rlvlno < comp->numrlvls; ++rlvlno, ++lvl) { in jpc_enc_encodemainbody() 1205 if (!lvl->bands) { in jpc_enc_encodemainbody() 1209 endbands = &lvl->bands[lvl->numbands]; in jpc_enc_encodemainbody() 1210 for (band = lvl->bands; band != endbands; ++band) { in jpc_enc_encodemainbody() 1645 jpc_enc_rlvl_t *lvl; in rateallocate() local 1679 for (lvl = comp->rlvls; lvl != endlvls; ++lvl) { in rateallocate() 1680 if (!lvl->bands) { in rateallocate() 1683 endbands = &lvl->bands[lvl->numbands]; in rateallocate() 1684 for (band = lvl->bands; band != endbands; ++band) { in rateallocate() [all …]
|
/external/opencv3/modules/photo/src/ |
D | merge.cpp | 226 for(int lvl = 0; lvl < maxlevel; lvl++) { in process() local 228 pyrUp(img_pyr[lvl + 1], up, img_pyr[lvl].size()); in process() 229 img_pyr[lvl] -= up; in process() 231 for(int lvl = 0; lvl <= maxlevel; lvl++) { in process() local 233 split(img_pyr[lvl], splitted); in process() 235 splitted[c] = splitted[c].mul(weight_pyr[lvl]); in process() 237 merge(splitted, img_pyr[lvl]); in process() 238 if(res_pyr[lvl].empty()) { in process() 239 res_pyr[lvl] = img_pyr[lvl]; in process() 241 res_pyr[lvl] += img_pyr[lvl]; in process() [all …]
|
/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/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 | 277 #define TRACEMS(cinfo,lvl,code) \ argument 279 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 280 #define TRACEMS1(cinfo,lvl,code,p1) \ argument 283 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 284 #define TRACEMS2(cinfo,lvl,code,p1,p2) \ argument 288 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 289 #define TRACEMS3(cinfo,lvl,code,p1,p2,p3) \ argument 293 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) 294 #define TRACEMS4(cinfo,lvl,code,p1,p2,p3,p4) \ argument 298 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) [all …]
|
/external/opencv3/3rdparty/libjpeg/ |
D | jerror.h | 265 #define TRACEMS(cinfo,lvl,code) \ argument 267 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 268 #define TRACEMS1(cinfo,lvl,code,p1) \ argument 271 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 272 #define TRACEMS2(cinfo,lvl,code,p1,p2) \ argument 276 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) 277 #define TRACEMS3(cinfo,lvl,code,p1,p2,p3) \ argument 281 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) 282 #define TRACEMS4(cinfo,lvl,code,p1,p2,p3,p4) \ argument 286 (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) [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/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/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/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/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/pdfium/tools/drmemory/scripts/ |
D | logging_utils.py | 31 def setLevel(self, lvl): argument 32 logging.Handler.setLevel(self, lvl) 33 self._err.setLevel(lvl) 34 self._out.setLevel(lvl)
|
/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/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/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 | 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/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()
|