/external/catch2/examples/ |
D | 210-Evt-EventListeners.cpp | 20 std::string ws(int const level) { in ws() argument 21 return std::string( 2 * level, ' ' ); in ws() 37 void print( std::ostream& os, int const level, std::string const& title, Catch::SourceLineInfo cons… in print() argument 38 os << ws(level ) << title << ":\n" in print() 39 << ws(level+1) << "- file: " << info.file << "\n" in print() 40 << ws(level+1) << "- line: " << info.line << "\n"; in print() 51 void print( std::ostream& os, int const level, Catch::MessageInfo const& info ) { in print() argument 52 os << ws(level+1) << "- macroName: '" << info.macroName << "'\n" in print() 53 << ws(level+1) << "- message '" << info.message << "'\n"; in print() 54 print( os,level+1 , "- lineInfo", info.lineInfo ); in print() [all …]
|
/external/zstd/tests/regression/ |
D | results.csv | 2 silesia.tar, level -5, compress simple, … 3 silesia.tar, level -3, compress simple, … 4 silesia.tar, level -1, compress simple, … 5 silesia.tar, level 0, compress simple, … 6 silesia.tar, level 1, compress simple, … 7 silesia.tar, level 3, compress simple, … 8 silesia.tar, level 4, compress simple, … 9 silesia.tar, level 5, compress simple, … 10 silesia.tar, level 6, compress simple, … 11 silesia.tar, level 7, compress simple, … [all …]
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | mls_types.h | 50 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 …]
|
D | context.h | 62 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 …]
|
/external/python/cpython3/Parser/pegen/ |
D | parse.c | 715 D(p->level++); in file_rule() 717 D(p->level--); in file_rule() 724 D(p->level--); in file_rule() 727 … D(fprintf(stderr, "%*c> file[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statements? $")); in file_rule() 736 …D(fprintf(stderr, "%*c+ file[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statements?… in file_rule() 740 D(p->level--); in file_rule() 746 D(fprintf(stderr, "%*c%s file[%d-%d]: %s failed!\n", p->level, ' ', in file_rule() 751 D(p->level--); in file_rule() 759 D(p->level++); in interactive_rule() 761 D(p->level--); in interactive_rule() [all …]
|
/external/icu/libicu/cts_headers/ |
D | utracimp.h | 106 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 …]
|
/external/icu/icu4c/source/common/ |
D | utracimp.h | 106 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 …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Texture.cpp | 327 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 …]
|
D | Texture.h | 144 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 …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Texture.cpp | 218 egl::Image *Texture::createSharedImage(GLenum target, unsigned int level) in createSharedImage() argument 220 egl::Image *image = getRenderTarget(target, level); // Increments reference count in createSharedImage() 392 GLsizei Texture2D::getWidth(GLenum target, GLint level) const in getWidth() 395 return image[level] ? image[level]->getWidth() : 0; in getWidth() 398 GLsizei Texture2D::getHeight(GLenum target, GLint level) const in getHeight() 401 return image[level] ? image[level]->getHeight() : 0; in getHeight() 404 GLint Texture2D::getFormat(GLenum target, GLint level) const in getFormat() 407 return image[level] ? image[level]->getFormat() : GL_NONE; in getFormat() 413 int level = 0; in getTopLevel() local 415 while(level < IMPLEMENTATION_MAX_TEXTURE_LEVELS && image[level]) in getTopLevel() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_mipmap_tree.c | 385 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 …]
|
D | i915_tex_layout.c | 120 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 …]
|
/external/mesa3d/src/freedreno/decode/ |
D | cffdec.c | 158 static void load_all_groups(int level); 161 static void dump_tex_samp(uint32_t *texsamp, enum state_src_t src, int num_unit, int level); 162 static void dump_tex_const(uint32_t *texsamp, int num_unit, int level); 196 dump_hex(uint32_t *dwords, uint32_t sizedwords, int level) in dump_hex() argument 230 printf("%016"PRIx64":%s", addr, levels[level]); in dump_hex() 232 printf("%08x:%s", (uint32_t)addr, levels[level]); in dump_hex() 249 dump_float(float *dwords, uint32_t sizedwords, int level) in dump_float() argument 255 printf("%016"PRIx64":%s", gpuaddr(dwords), levels[level]); in dump_float() 257 printf("%08x:%s", (uint32_t)gpuaddr(dwords), levels[level]); in dump_float() 336 reg_dump_scratch(const char *name, uint32_t dword, int level) in reg_dump_scratch() argument [all …]
|
/external/webrtc/modules/audio_processing/ |
D | rms_level_unittest.cc | 29 std::unique_ptr<RmsLevel> level(new RmsLevel); in RunTest() local 32 level->Analyze(input.subview(n, kBlockSizeSamples)); in RunTest() 34 return level; in RunTest() 38 std::unique_ptr<RmsLevel> level(new RmsLevel); in RunTest() local 41 level->Analyze(input.subview(n, kBlockSizeSamples)); in RunTest() 43 return level; in RunTest() 84 auto level = RunTest(x); in TEST() local 85 EXPECT_EQ(3, level->Average()); // -3 dBFS in TEST() 90 auto level = RunTest(x); in TEST() local 91 auto stats = level->AverageAndPeak(); in TEST() [all …]
|
/external/libaom/libaom/av1/encoder/x86/ |
D | encodetxb_sse2.c | 23 __m128i *const level) { in load_levels_4x4x5_sse2() argument 24 level[0] = load_8bit_4x4_to_1_reg_sse2(src + 1, stride); in load_levels_4x4x5_sse2() 25 level[1] = load_8bit_4x4_to_1_reg_sse2(src + stride, stride); in load_levels_4x4x5_sse2() 26 level[2] = load_8bit_4x4_to_1_reg_sse2(src + offsets[0], stride); in load_levels_4x4x5_sse2() 27 level[3] = load_8bit_4x4_to_1_reg_sse2(src + offsets[1], stride); in load_levels_4x4x5_sse2() 28 level[4] = load_8bit_4x4_to_1_reg_sse2(src + offsets[2], stride); in load_levels_4x4x5_sse2() 34 __m128i *const level) { in load_levels_8x2x5_sse2() argument 35 level[0] = load_8bit_8x2_to_1_reg_sse2(src + 1, stride); in load_levels_8x2x5_sse2() 36 level[1] = load_8bit_8x2_to_1_reg_sse2(src + stride, stride); in load_levels_8x2x5_sse2() 37 level[2] = load_8bit_8x2_to_1_reg_sse2(src + offsets[0], stride); in load_levels_8x2x5_sse2() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_texture.h | 181 svga_age_texture_view(struct svga_texture *tex, unsigned level) in svga_age_texture_view() argument 183 assert(level < ARRAY_SIZE(tex->view_age)); in svga_age_texture_view() 184 tex->view_age[level] = ++(tex->age); in svga_age_texture_view() 191 unsigned face, unsigned level) in check_face_level() argument 203 assert(level < 8 * sizeof(tex->rendered_to[0])); in check_face_level() 212 unsigned face,unsigned level) in svga_define_texture_level() argument 214 check_face_level(tex, face, level); in svga_define_texture_level() 215 tex->defined[face] |= 1 << level; in svga_define_texture_level() 222 unsigned face, unsigned level) in svga_is_texture_level_defined() argument 224 check_face_level(tex, face, level); in svga_is_texture_level_defined() [all …]
|
/external/boringssl/src/ssl/test/ |
D | mock_quic_transport.cc | 28 bool MockQuicTransport::SetReadSecret(enum ssl_encryption_level_t level, in SetReadSecret() argument 33 read_levels_[level].cipher = SSL_CIPHER_get_protocol_id(cipher); in SetReadSecret() 34 read_levels_[level].secret.assign(secret, secret + secret_len); in SetReadSecret() 38 bool MockQuicTransport::SetWriteSecret(enum ssl_encryption_level_t level, in SetWriteSecret() argument 43 write_levels_[level].cipher = SSL_CIPHER_get_protocol_id(cipher); in SetWriteSecret() 44 write_levels_[level].secret.assign(secret, secret + secret_len); in SetWriteSecret() 68 const char *LevelToString(ssl_encryption_level_t level) { in LevelToString() argument 69 switch (level) { in LevelToString() 109 auto level = static_cast<ssl_encryption_level_t>(level_id); in ReadHeader() local 111 uint16_t expect_cipher = read_levels_[level].cipher; in ReadHeader() [all …]
|
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/ |
D | data_types_definition.tmpl | 12 {%- macro encode(variable, kind, offset, bit, level=0, check_for_null=True) %} 17 encoder{{level}}.encodeNullPointer({{offset}}, {{kind|is_nullable_kind|java_true_false}}); 27 …org.chromium.mojo.bindings.Encoder encoder{{level + 1}} = encoder{{level}}.{{encodePointer}}({{var… 28 for (int i{{level}} = 0; i{{level}} < {{variable}}.length; ++i{{level}}) { 29 …iable~'[i'~level~']', sub_kind, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE + ' ~ array_ele… 34 encoder{{level}}.encodeNullPointer({{offset}}, {{kind|is_nullable_kind|java_true_false}}); 36 …org.chromium.mojo.bindings.Encoder encoder{{level + 1}} = encoder{{level}}.encoderForMap({{offset}… 37 int size{{level}} = {{variable}}.size(); 38 {{kind.key_kind|java_type}}[] keys{{level}} = {{kind.key_kind|array|new_array('size'~level)}}; 39 …{{kind.value_kind|java_type}}[] values{{level}} = {{kind.value_kind|array|new_array('size'~level)}… [all …]
|
/external/emma/core/java12/com/vladium/logging/ |
D | Logger.java | 68 …public static Logger create (final int level, final PrintWriter out, final String prefix, final Se… in create() argument 70 if ((level < NONE) || (level > ALL)) in create() 71 throw new IllegalArgumentException ("invalid log level: " + level); in create() 76 return new Logger (level, out, prefix, classMask); in create() 89 …public static Logger create (final int level, final PrintWriter out, final String prefix, final Se… in create() argument 94 return create (level, out, prefix, classMask); in create() 98 final int _level = level >= NONE in create() 99 ? level in create() 130 public final boolean isLoggable (final int level) in isLoggable() argument 132 return (level <= m_level); in isLoggable() [all …]
|
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/ |
D | image_data.h | 134 const Image<uint8_t>* GetPyramidSqrt2Level(const int level) const { in GetPyramidSqrt2Level() argument 135 if (!pyramid_sqrt2_computed_[level]) { in GetPyramidSqrt2Level() 136 SCHECK(level != 0, "Level equals 0!"); in GetPyramidSqrt2Level() 137 if (level == 1) { in GetPyramidSqrt2Level() 139 if (pyramid_sqrt2_[level] == NULL) { in GetPyramidSqrt2Level() 146 pyramid_sqrt2_[level] = new Image<uint8_t>(new_width, new_height); in GetPyramidSqrt2Level() 148 pyramid_sqrt2_[level]->DownsampleInterpolateLinear(upper_level); in GetPyramidSqrt2Level() 150 const Image<uint8_t>& upper_level = *GetPyramidSqrt2Level(level - 2); in GetPyramidSqrt2Level() 151 if (pyramid_sqrt2_[level] == NULL) { in GetPyramidSqrt2Level() 152 pyramid_sqrt2_[level] = new Image<uint8_t>( in GetPyramidSqrt2Level() [all …]
|
/external/mesa3d/src/egl/main/ |
D | egllog.c | 67 EGLint level; member 71 .level = FALLBACK_LOG_LEVEL, 86 _eglDefaultLogger(EGLint level, const char *msg) in _eglDefaultLogger() argument 95 LOG_PRI(egl2alog[level], LOG_TAG, "%s", msg); in _eglDefaultLogger() 97 fprintf(stderr, "libEGL %s: %s\n", level_strings[level], msg); in _eglDefaultLogger() 109 EGLint i, level = -1; in _eglInitLogger() local 118 level = i; in _eglInitLogger() 124 logging.level = (level >= 0) ? level : FALLBACK_LOG_LEVEL; in _eglInitLogger() 128 if (log_env && level < 0) { in _eglInitLogger() 143 _eglLog(EGLint level, const char *fmtStr, ...) in _eglLog() argument [all …]
|
/external/webrtc/modules/audio_processing/agc2/ |
D | interpolated_gain_curve_unittest.cc | 42 for (const auto level : levels) { in TEST() local 43 EXPECT_GE(igc.LookUpGainToApply(level), 0.0f); in TEST() 52 for (const auto level : levels) { in TEST() local 53 SCOPED_TRACE(std::to_string(level)); in TEST() 54 const float gain = igc.LookUpGainToApply(level); in TEST() 67 for (const auto level : levels) { in TEST() local 68 const float gain = igc.LookUpGainToApply(level); in TEST() 79 for (const auto level : levels) { in TEST() local 80 SCOPED_TRACE(std::to_string(level)); in TEST() 82 std::fabs(limiter.GetGainLinear(level) - igc.LookUpGainToApply(level)), in TEST() [all …]
|
/external/libvpx/libvpx/test/ |
D | level_test.cc | 129 for (int level = 0; level <= 256; ++level) { in TEST_P() local 130 if (level == 10 || level == 11 || level == 20 || level == 21 || in TEST_P() 131 level == 30 || level == 31 || level == 40 || level == 41 || in TEST_P() 132 level == 50 || level == 51 || level == 52 || level == 60 || in TEST_P() 133 level == 61 || level == 62 || level == 0 || level == 1 || level == 255) in TEST_P() 135 vpx_codec_control(&enc, VP9E_SET_TARGET_LEVEL, level)); in TEST_P() 138 vpx_codec_control(&enc, VP9E_SET_TARGET_LEVEL, level)); in TEST_P()
|
/external/rust/crates/tokio/src/time/driver/wheel/ |
D | level.rs | 9 level: usize, field 28 pub(crate) level: usize, field 43 pub(crate) fn new(level: usize) -> Level { in new() 59 level, in new() 143 let level_range = level_range(self.level); in next_expiration() 144 let slot_range = slot_range(self.level); in next_expiration() 167 debug_assert_eq!(self.level, super::NUM_LEVELS - 1); in next_expiration() 177 self.level, in next_expiration() 185 level: self.level, in next_expiration() 197 let now_slot = (now / slot_range(self.level)) as usize; in next_occupied_slot() [all …]
|
/external/libchrome/base/i18n/ |
D | bidi_line_iterator_unittest.cc | 38 UBiDiLevel level; in TEST_P() local 39 iterator()->GetLogicalRun(0, &end, &level); in TEST_P() 42 EXPECT_EQ(2, level); in TEST_P() 44 EXPECT_EQ(0, level); in TEST_P() 58 UBiDiLevel level; in TEST_P() local 59 iterator()->GetLogicalRun(0, &end, &level); in TEST_P() 61 EXPECT_EQ(1, level); in TEST_P() 86 UBiDiLevel level; in TEST_P() local 87 iterator()->GetLogicalRun(0, &end, &level); in TEST_P() 89 EXPECT_EQ(1, level); in TEST_P() [all …]
|