/third_party/toybox/tests/files/bc/ |
D | bessel.txt | 1 j(0, 0) 2 j(0, .5) 3 j(0, -.5) 4 j(0, 1) 5 j(0, -1) 6 j(0, 1.5) 7 j(0, -1.5) 8 j(0, 1.74) 9 j(0, -1.74) 10 j(0, 2) [all …]
|
/third_party/json/tests/src/ |
D | unit-inspection.cpp | 24 json j {{"foo", 1}, {"bar", false}}; variable 25 CHECK(!j.is_null()); 26 CHECK(!j.is_boolean()); 27 CHECK(!j.is_number()); 28 CHECK(!j.is_number_integer()); 29 CHECK(!j.is_number_unsigned()); 30 CHECK(!j.is_number_float()); 31 CHECK(!j.is_binary()); 32 CHECK(j.is_object()); 33 CHECK(!j.is_array()); [all …]
|
D | unit-element_access1.cpp | 19 json j = {1, 1u, true, nullptr, "string", 42.23, json::object(), {1, 2, 3}}; variable 20 const json j_const = j; 26 CHECK(j.at(0) == json(1)); 27 CHECK(j.at(1) == json(1u)); 28 CHECK(j.at(2) == json(true)); 29 CHECK(j.at(3) == json(nullptr)); 30 CHECK(j.at(4) == json("string")); 31 CHECK(j.at(5) == json(42.23)); 32 CHECK(j.at(6) == json::object()); 33 CHECK(j.at(7) == json({1, 2, 3})); [all …]
|
D | unit-constructor1.cpp | 31 json j(t); 32 CHECK(j.type() == t); 38 json j(t); 39 CHECK(j.type() == t); 45 json j(t); 46 CHECK(j.type() == t); 52 json j(t); 53 CHECK(j.type() == t); 59 json j(t); 60 CHECK(j.type() == t); [all …]
|
D | unit-capacity.cpp | 21 json j = true; variable 22 const json j_const(j); 26 CHECK(j.empty() == false); 32 CHECK(j.empty() == (j.begin() == j.end())); 39 json j = "hello world"; variable 40 const json j_const(j); 44 CHECK(j.empty() == false); 50 CHECK(j.empty() == (j.begin() == j.end())); 59 json j = json::array(); variable 60 const json j_const(j); [all …]
|
D | unit-modifiers.cpp | 21 json j = true; variable 22 json k = j; 24 j.clear(); 25 CHECK(j == json(json::value_t::boolean)); 26 CHECK(j == json(k.type())); 31 json j = "hello world"; variable 32 json k = j; 34 j.clear(); 35 CHECK(j == json(json::value_t::string)); 36 CHECK(j == json(k.type())); [all …]
|
D | unit-constructor2.cpp | 20 json j {{"foo", 1}, {"bar", false}}; variable 21 json k(j); // NOLINT(performance-unnecessary-copy-initialization) 22 CHECK(j == k); 27 json j {"foo", 1, 42.23, false}; variable 28 json k(j); // NOLINT(performance-unnecessary-copy-initialization) 29 CHECK(j == k); 34 json j(nullptr); 35 json k(j); // NOLINT(performance-unnecessary-copy-initialization) 36 CHECK(j == k); 41 json j(true); [all …]
|
D | unit-iterators1.cpp | 30 json j = true; variable 31 json j_const(j); 35 json::iterator it = j.begin(); 36 CHECK(it != j.end()); 37 CHECK(*it == j); 40 CHECK(it != j.begin()); 41 CHECK(it == j.end()); 44 CHECK(it == j.begin()); 45 CHECK(it != j.end()); 46 CHECK(*it == j); [all …]
|
/third_party/python/Lib/ |
D | _markupbase.py | 44 def updatepos(self, i, j): argument 45 if i >= j: 46 return j 48 nlines = rawdata.count("\n", i, j) 51 pos = rawdata.rindex("\n", i, j) # Should not fail 52 self.offset = j-(pos+1) 54 self.offset = self.offset + j-i 55 return j 72 j = i + 2 73 assert rawdata[i:j] == "<!", "unexpected call to parse_declaration" [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | tpeldsp.c | 56 int i, j; in put_tpel_pixels_mc10_c() local 59 for (j = 0; j < width; j++) in put_tpel_pixels_mc10_c() 60 dst[j] = ((2 * src[j] + src[j + 1] + 1) * in put_tpel_pixels_mc10_c() 70 int i, j; in put_tpel_pixels_mc20_c() local 73 for (j = 0; j < width; j++) in put_tpel_pixels_mc20_c() 74 dst[j] = ((src[j] + 2 * src[j + 1] + 1) * in put_tpel_pixels_mc20_c() 84 int i, j; in put_tpel_pixels_mc01_c() local 87 for (j = 0; j < width; j++) in put_tpel_pixels_mc01_c() 88 dst[j] = ((2 * src[j] + src[j + stride] + 1) * in put_tpel_pixels_mc01_c() 98 int i, j; in put_tpel_pixels_mc11_c() local [all …]
|
D | synth_filter.c | 33 int i, j; in synth_filter_float() local 42 for (j = 0; j < 512 - *synth_buf_offset; j += 64) { in synth_filter_float() 43 a += window[i + j ] * (-synth_buf[15 - i + j ]); in synth_filter_float() 44 b += window[i + j + 16] * ( synth_buf[ i + j ]); in synth_filter_float() 45 c += window[i + j + 32] * ( synth_buf[16 + i + j ]); in synth_filter_float() 46 d += window[i + j + 48] * ( synth_buf[31 - i + j ]); in synth_filter_float() 48 for ( ; j < 512; j += 64) { in synth_filter_float() 49 a += window[i + j ] * (-synth_buf[15 - i + j - 512]); in synth_filter_float() 50 b += window[i + j + 16] * ( synth_buf[ i + j - 512]); in synth_filter_float() 51 c += window[i + j + 32] * ( synth_buf[16 + i + j - 512]); in synth_filter_float() [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_depth_test.c | 64 unsigned j; in get_depth_stencil_values() local 69 for (j = 0; j < TGSI_QUAD_SIZE; j++) { in get_depth_stencil_values() 70 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 71 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 72 data->bzzzz[j] = tile->data.depth16[y][x]; in get_depth_stencil_values() 76 for (j = 0; j < TGSI_QUAD_SIZE; j++) { in get_depth_stencil_values() 77 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 78 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 79 data->bzzzz[j] = tile->data.depth32[y][x]; in get_depth_stencil_values() 84 for (j = 0; j < TGSI_QUAD_SIZE; j++) { in get_depth_stencil_values() [all …]
|
/third_party/json/include/nlohmann/detail/conversions/ |
D | to_json.hpp | 48 static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept in construct() 50 j.m_value.destroy(j.m_type); in construct() 51 j.m_type = value_t::boolean; in construct() 52 j.m_value = b; in construct() 53 j.assert_invariant(); in construct() 61 static void construct(BasicJsonType& j, const typename BasicJsonType::string_t& s) in construct() 63 j.m_value.destroy(j.m_type); in construct() 64 j.m_type = value_t::string; in construct() 65 j.m_value = s; in construct() 66 j.assert_invariant(); in construct() [all …]
|
D | from_json.hpp | 37 inline void from_json(const BasicJsonType& j, typename std::nullptr_t& n) in from_json() argument 39 if (JSON_HEDLEY_UNLIKELY(!j.is_null())) in from_json() 41 … JSON_THROW(type_error::create(302, concat("type must be null, but is ", j.type_name()), &j)); in from_json() 51 void get_arithmetic_value(const BasicJsonType& j, ArithmeticType& val) in get_arithmetic_value() argument 53 switch (static_cast<value_t>(j)) in get_arithmetic_value() 57 …val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_unsigne… in get_arithmetic_value() 62 …val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer… in get_arithmetic_value() 67 …val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t… in get_arithmetic_value() 79 … JSON_THROW(type_error::create(302, concat("type must be number, but is ", j.type_name()), &j)); in get_arithmetic_value() 84 inline void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b) in from_json() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_debug.c | 276 unsigned j = 0; in debug_load_immediate() local 279 mesa_logi("\t0x%08x", ptr[j++]); in debug_load_immediate() 282 mesa_logi("\t LIS0: 0x%08x", ptr[j]); in debug_load_immediate() 283 mesa_logi("\t vb address: 0x%08x", (ptr[j] & ~0x3)); in debug_load_immediate() 284 BITS(stream, ptr[j], 0, 0, "vb invalidate disable"); in debug_load_immediate() 285 j++; in debug_load_immediate() 288 mesa_logi("\t LIS1: 0x%08x", ptr[j]); in debug_load_immediate() 289 BITS(stream, ptr[j], 29, 24, "vb dword width"); in debug_load_immediate() 290 BITS(stream, ptr[j], 21, 16, "vb dword pitch"); in debug_load_immediate() 291 BITS(stream, ptr[j], 15, 0, "vb max index"); in debug_load_immediate() [all …]
|
/third_party/libwebsockets/plugins/ssh-base/crypto/ |
D | smult_curve25519_ref.c | 11 unsigned int j; in add() local 14 for (j = 0;j < 31;++j) { u += a[j] + b[j]; out[j] = u & 255; u >>= 8; } in add() 20 unsigned int j; in sub() local 23 for (j = 0;j < 31;++j) { in sub() 24 u += a[j] + 65280 - b[j]; in sub() 25 out[j] = u & 255; in sub() 34 unsigned int j; in squeeze() local 37 for (j = 0;j < 31;++j) { u += a[j]; a[j] = u & 255; u >>= 8; } in squeeze() 40 for (j = 0;j < 31;++j) { u += a[j]; a[j] = u & 255; u >>= 8; } in squeeze() 51 unsigned int j; in freeze() local [all …]
|
/third_party/libsnd/src/ALAC/ |
D | matrix_dec.c | 65 int32_t j ; in unmix16() local 70 for (j = 0 ; j < numSamples ; j++) in unmix16() 74 l = u [j] + v [j] - ((mixres * v [j]) >> mixbits) ; in unmix16() 75 r = l - v [j] ; in unmix16() 85 for (j = 0 ; j < numSamples ; j++) in unmix16() 87 out [0] = u [j] << 16 ; in unmix16() 88 out [1] = v [j] << 16 ; in unmix16() 100 int32_t j ; in unmix20() local 105 for (j = 0 ; j < numSamples ; j++) in unmix20() 109 l = u [j] + v [j] - ((mixres * v [j]) >> mixbits) ; in unmix20() [all …]
|
/third_party/mesa3d/src/util/ |
D | texcompress_rgtc_tmp.h | 33 unsigned i, unsigned j, TYPE *value, unsigned comps) in TAG() 36 const TYPE *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8 * comps); in TAG() 39 const char bit_pos = ((j&3) * 4 + (i&3)) * 3; in TAG() 82 TYPE i, j, aindex, acutValues[7]; in TAG() local 89 for (j = 0; j < numypixels; j++) { in TAG() 91 if (srccolors[j][i] == T_MIN) in TAG() 93 else if (srccolors[j][i] == T_MAX) in TAG() 96 if (srccolors[j][i] > alphabase[1]) in TAG() 97 alphabase[1] = srccolors[j][i]; in TAG() 98 if (srccolors[j][i] < alphabase[0]) in TAG() [all …]
|
/third_party/mksh/ |
D | jobs.c | 289 Job *j; in j_exit() local 292 for (j = job_list; j != NULL; j = j->next) { in j_exit() 293 if (j->ppid == procpid && in j_exit() 294 (j->state == PSTOPPED || in j_exit() 295 (j->state == PRUNNING && in j_exit() 296 ((j->flags & JF_FG) || in j_exit() 299 if (j->pgrp == 0) in j_exit() 300 kill_job(j, SIGHUP); in j_exit() 302 mksh_killpg(j->pgrp, SIGHUP); in j_exit() 304 if (j->state == PSTOPPED) { in j_exit() [all …]
|
/third_party/skia/tests/ |
D | SkRasterPipelineTest.cpp | 117 for (unsigned j = 0; j < i; j++) { in DEF_TEST() local 119 if (buffer[j][k] != data[j][k]) { in DEF_TEST() 120 ERRORF(r, "(%u, %u) - a: %g r: %g\n", j, k, data[j][k], buffer[j][k]); in DEF_TEST() 124 for (int j = i; j < 4; j++) { in DEF_TEST() local 125 for (auto f : buffer[j]) { in DEF_TEST() 151 for (unsigned j = 0; j < i; j++) { in DEF_TEST() local 153 if (buffer[j][k] != data[j][k]) { in DEF_TEST() 154 ERRORF(r, "(%u, %u) - a: %g r: %g\n", j, k, data[j][k], buffer[j][k]); in DEF_TEST() 157 if (buffer[j][2] != 0) { in DEF_TEST() 158 ERRORF(r, "(%u, 2) - a: 0 r: %g\n", j, buffer[j][2]); in DEF_TEST() [all …]
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_matrix.cpp | 99 for (uint32 j = 0; j < count; j++) in SetIdentity() local 102 fData [j] [j] = 1.0; in SetIdentity() 121 for (uint32 j = 0; j < Rows (); j++) in operator ==() local 125 if (fData [j] [k] != m.fData [j] [k]) in operator ==() 153 for (uint32 j = 0; j < Rows (); j++) in IsDiagonal() local 157 if (j != k) in IsDiagonal() 160 if (fData [j] [k] != 0.0) in IsDiagonal() 187 for (uint32 j = 0; j < Rows (); j++) in MaxEntry() local 191 m = Max_real64 (m, fData [j] [k]); in MaxEntry() 213 for (uint32 j = 0; j < Rows (); j++) in MinEntry() local [all …]
|
D | dng_spline.cpp | 85 int32 j; in Solve() local 90 for (j = start + 2; j < end; ++j) in Solve() 93 real64 C = X [j] - X [j-1]; in Solve() 94 real64 D = (Y [j] - Y [j-1]) / C; in Solve() 96 S [j-1] = (B * C + D * A) / (A + C); in Solve() 122 for (j = start+1; j < end - 1; ++j) in Solve() 125 A = (X [j+1] - X [j-1]) * 2.0; in Solve() 127 E [j] = (X [j+1] - X [j]) / A; in Solve() 128 F [j] = (X [j] - X [j-1]) / A; in Solve() 129 G [j] = 1.5 * S [j]; in Solve() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_tri_tmp.h | 55 for (unsigned j = 0; j < NR_PLANES; j++) { in TAG() local 58 mask &= ~BUILD_MASK_LINEAR(((c[j] - 1) >> (int64_t)FIXED_ORDER), in TAG() 59 -plane[j].dcdx >> FIXED_ORDER, in TAG() 60 plane[j].dcdy >> FIXED_ORDER); in TAG() 62 mask &= ~BUILD_MASK_LINEAR((c[j] - 1), in TAG() 63 -plane[j].dcdx, in TAG() 64 plane[j].dcdy); in TAG() 68 …64_t new_c = (c[j]) + ((IMUL64(task->scene->fixed_sample_pos[s][1], plane[j].dcdy) + IMUL64(task->… in TAG() 72 -plane[j].dcdx >> FIXED_ORDER, in TAG() 73 plane[j].dcdy >> FIXED_ORDER); in TAG() [all …]
|
/third_party/littlefs/tests/ |
D | test_bd.toml | 16 for (lfs_off_t j = 0; j < PROG; j++) { 17 buffer[j] = (i+j) % 251; 26 for (lfs_off_t j = 0; j < READ; j++) { 27 LFS_ASSERT(buffer[j] == (i+j) % 251); 43 for (lfs_off_t j = 0; j < PROG; j++) { 44 buffer[j] = (block+i+j) % 251; 54 for (lfs_off_t j = 0; j < READ; j++) { 55 LFS_ASSERT(buffer[j] == (block+i+j) % 251); 63 for (lfs_off_t j = 0; j < PROG; j++) { 64 buffer[j] = (block+i+j) % 251; [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_s3tc_tmp.h | 57 GLint i, GLint j, GLuint dxt_type, GLvoid *texel ) { in dxt135_decode_imageblock() argument 64 GLubyte bit_pos = 2 * (j * 4 + i) ; in dxt135_decode_imageblock() 112 GLint i, GLint j, GLvoid *texel) in fetch_2d_texel_rgb_dxt1() argument 118 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgb_dxt1() 119 dxt135_decode_imageblock(blksrc, (i&3), (j&3), 0, texel); in fetch_2d_texel_rgb_dxt1() 124 GLint i, GLint j, GLvoid *texel) in fetch_2d_texel_rgba_dxt1() argument 130 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgba_dxt1() 131 dxt135_decode_imageblock(blksrc, (i&3), (j&3), 1, texel); in fetch_2d_texel_rgba_dxt1() 135 GLint i, GLint j, GLvoid *texel) { in fetch_2d_texel_rgba_dxt3() argument 142 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt3() [all …]
|