/external/puffin/src/ |
D | puff_io_unittest.cc | 16 PuffData pd; in TestLiteralLength() local 20 pd.type = PuffData::Type::kBlockMetadata; in TestLiteralLength() 21 pd.length = 1; in TestLiteralLength() 22 ASSERT_TRUE(pw.Insert(pd)); in TestLiteralLength() 25 ASSERT_TRUE(pr.GetNext(&pd)); in TestLiteralLength() 26 ASSERT_EQ(pd.type, PuffData::Type::kBlockMetadata); in TestLiteralLength() 27 ASSERT_EQ(pd.length, 1); in TestLiteralLength() 30 pd.type = PuffData::Type::kLiterals; in TestLiteralLength() 31 pd.length = length; in TestLiteralLength() 32 pd.read_fn = [](uint8_t* buffer, size_t count) { in TestLiteralLength() [all …]
|
D | puff_writer.cc | 27 bool BufferPuffWriter::Insert(const PuffData& pd) { in Insert() argument 28 switch (pd.type) { in Insert() 30 if (pd.length == 0) { in Insert() 35 DVLOG(2) << "Write literals length: " << pd.length; in Insert() 36 size_t length = pd.type == PuffData::Type::kLiteral ? 1 : pd.length; in Insert() 60 if (pd.type == PuffData::Type::kLiteral) { in Insert() 61 puff_buf_out_[index_] = pd.byte; in Insert() 63 TEST_AND_RETURN_FALSE(pd.read_fn(&puff_buf_out_[index_], length)); in Insert() 65 } else if (pd.type == PuffData::Type::kLiterals) { in Insert() 66 TEST_AND_RETURN_FALSE(pd.read_fn(nullptr, length)); in Insert() [all …]
|
D | puffer.cc | 38 PuffData pd; in PuffDeflate() local 89 pd.type = PuffData::Type::kBlockMetadata; in PuffDeflate() 90 pd.block_metadata[0] = block_header; in PuffDeflate() 91 pd.length = 1; in PuffDeflate() 92 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate() 95 pd.type = PuffData::Type::kLiterals; in PuffDeflate() 96 pd.length = len; in PuffDeflate() 97 TEST_AND_RETURN_FALSE(br->GetByteReaderFn(pd.length, &pd.read_fn)); in PuffDeflate() 98 TEST_AND_RETURN_FALSE(pw->Insert(pd)); in PuffDeflate() 100 pd.type = PuffData::Type::kEndOfBlock; in PuffDeflate() [all …]
|
D | huffer.cc | 30 PuffData pd; in HuffDeflate() local 34 TEST_AND_RETURN_FALSE(pr->GetNext(&pd)); in HuffDeflate() 37 TEST_AND_RETURN_FALSE(pd.type == PuffData::Type::kBlockMetadata); in HuffDeflate() 38 auto header = pd.block_metadata[0]; in HuffDeflate() 50 TEST_AND_RETURN_FALSE(pr->GetNext(&pd)); in HuffDeflate() 51 TEST_AND_RETURN_FALSE(pd.type != PuffData::Type::kLiteral); in HuffDeflate() 53 if (pd.type == PuffData::Type::kLiterals) { in HuffDeflate() 54 TEST_AND_RETURN_FALSE(bw->WriteBits(16, pd.length)); in HuffDeflate() 55 TEST_AND_RETURN_FALSE(bw->WriteBits(16, ~pd.length)); in HuffDeflate() 56 TEST_AND_RETURN_FALSE(bw->WriteBytes(pd.length, pd.read_fn)); in HuffDeflate() [all …]
|
D | puff_reader.cc | 24 PuffData& pd = *data; in GetNext() local 46 pd.type = PuffData::Type::kEndOfBlock; in GetNext() 61 pd.type = PuffData::Type::kLenDist; in GetNext() 62 pd.length = length; in GetNext() 63 pd.distance = distance; in GetNext() 83 pd.type = PuffData::Type::kLiterals; in GetNext() 84 pd.length = length; in GetNext() 85 pd.read_fn = [this, length](uint8_t* buffer, size_t count) mutable { in GetNext() 95 pd.type = PuffData::Type::kBlockMetadata; in GetNext() 103 TEST_AND_RETURN_FALSE(length <= sizeof(pd.block_metadata)); in GetNext() [all …]
|
/external/libpcap/ |
D | pcap-dag.c | 251 struct pcap_dag *pd = p->priv; in dag_platform_cleanup() local 253 if(dag_stop_stream(p->fd, pd->dag_stream) < 0) in dag_platform_cleanup() 256 if(dag_detach_stream(p->fd, pd->dag_stream) < 0) in dag_platform_cleanup() 259 if(pd->dag_ref != NULL) { in dag_platform_cleanup() 260 dag_config_dispose(pd->dag_ref); in dag_platform_cleanup() 262 pd->dag_ref = NULL; in dag_platform_cleanup() 345 struct pcap_dag *pd = p->priv; in dag_read() local 347 unsigned int nonblocking = pd->dag_flags & DAGF_NONBLOCK; in dag_read() 352 while (pd->dag_mem_top - pd->dag_mem_bottom < dag_record_size) { in dag_read() 378 …if ( NULL == (pd->dag_mem_top = dag_advance_stream(p->fd, pd->dag_stream, &(pd->dag_mem_bottom))) … in dag_read() [all …]
|
D | pcap-libdlpi.c | 98 struct pcap_dlpi *pd = p->priv; in pcap_activate_libdlpi() local 122 pd->dlpi_hd = dh; in pcap_activate_libdlpi() 134 if ((retv = dlpi_bind(pd->dlpi_hd, DLPI_ANY_SAP, 0)) != DLPI_SUCCESS) { in pcap_activate_libdlpi() 199 if ((retv = dlpi_info(pd->dlpi_hd, &dlinfo, 0)) != DLPI_SUCCESS) { in pcap_activate_libdlpi() 210 p->fd = dlpi_fd(pd->dlpi_hd); in pcap_activate_libdlpi() 261 struct pcap_dlpi *pd = p->priv; in dlpromiscon() local 265 retv = dlpi_promiscon(pd->dlpi_hd, level); in dlpromiscon() 380 struct pcap_dlpi *pd = p->priv; in pcap_read_libdlpi() local 406 retv = dlpi_recv(pd->dlpi_hd, NULL, NULL, bufp, in pcap_read_libdlpi() 418 pcap_libdlpi_err(dlpi_linkname(pd->dlpi_hd), in pcap_read_libdlpi() [all …]
|
/external/libpcap/testprogs/ |
D | capturetest.c | 60 static pcap_t *pd; variable 135 pd = pcap_create(device, ebuf); in main() 136 if (pd == NULL) in main() 138 status = pcap_set_snaplen(pd, 65535); in main() 143 status = pcap_set_immediate_mode(pd, 1); in main() 148 status = pcap_set_timeout(pd, timeout); in main() 152 status = pcap_activate(pd); in main() 158 pcap_statustostr(status), pcap_geterr(pd)); in main() 165 pcap_statustostr(status), pcap_geterr(pd)); in main() 174 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0) in main() [all …]
|
D | opentest.c | 65 pcap_t *pd; in main() local 134 pd = pcap_create(device, ebuf); in main() 135 if (pd == NULL) in main() 137 status = pcap_set_snaplen(pd, snaplen); in main() 142 status = pcap_set_promisc(pd, 1); in main() 148 status = pcap_set_rfmon(pd, 1); in main() 153 status = pcap_set_timeout(pd, 1000); in main() 158 status = pcap_set_buffer_size(pd, bufsize); in main() 163 status = pcap_activate(pd); in main() 169 pcap_statustostr(status), pcap_geterr(pd)); in main() [all …]
|
D | threadsignaltest.c | 73 static pcap_t *pd; variable 150 status = pcap_dispatch(pd, -1, countme, in capture_thread_func() 175 program_name, pcap_geterr(pd)); in capture_thread_func() 225 pd = pcap_create(device, ebuf); in main() 226 if (pd == NULL) in main() 228 status = pcap_set_snaplen(pd, 65535); in main() 233 status = pcap_set_immediate_mode(pd, 1); in main() 238 status = pcap_set_timeout(pd, 5*60*1000); in main() 242 status = pcap_activate(pd); in main() 248 pcap_statustostr(status), pcap_geterr(pd)); in main() [all …]
|
D | valgrindtest.c | 238 pcap_t *pd; in main() local 323 pd = pcap_create(device, ebuf); in main() 324 if (pd == NULL) in main() 326 status = pcap_set_snaplen(pd, 65535); in main() 330 status = pcap_set_promisc(pd, 1); in main() 335 status = pcap_set_rfmon(pd, 1); in main() 340 status = pcap_set_timeout(pd, 1000); in main() 344 status = pcap_activate(pd); in main() 350 pcap_statustostr(status), pcap_geterr(pd)); in main() 357 pcap_statustostr(status), pcap_geterr(pd)); in main() [all …]
|
D | selpolltest.c | 64 static pcap_t *pd; variable 142 pd = pcap_open_live(device, 65535, 0, 1000, ebuf); in main() 143 if (pd == NULL) in main() 154 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0) in main() 155 error("%s", pcap_geterr(pd)); in main() 156 if (pcap_setfilter(pd, &fcode) < 0) in main() 157 error("%s", pcap_geterr(pd)); in main() 165 selectable_fd = pcap_get_selectable_fd(pd); in main() 169 required_timeout = pcap_get_required_select_timeout(pd); in main() 192 if (pcap_setnonblock(pd, 1, ebuf) == -1) in main() [all …]
|
D | reactivatetest.c | 45 pcap_t *pd; in main() local 48 pd = pcap_open_live("lo0", 65535, 0, 1000, ebuf); in main() 49 if (pd == NULL) { in main() 50 pd = pcap_open_live("lo", 65535, 0, 1000, ebuf); in main() 51 if (pd == NULL) { in main() 57 status = pcap_activate(pd); in main() 63 pcap_geterr(pd)); in main()
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/ |
D | io_test.py | 39 import pandas as pd # pylint: disable=g-import-not-at-top namespace 42 data = pd.DataFrame(iris.data) 43 labels = pd.DataFrame(iris.target) 55 import pandas as pd # pylint: disable=g-import-not-at-top namespace 58 data = pd.DataFrame(iris.data) 59 labels = pd.Series(iris.target) 69 import pandas as pd # pylint: disable=g-import-not-at-top namespace 71 learn.io.extract_pandas_data(pd.DataFrame({"Test": ["A", "B"]})) 73 learn.io.extract_pandas_labels(pd.DataFrame({"Test": ["A", "B"]})) 77 import pandas as pd # pylint: disable=g-import-not-at-top namespace [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodemb.c | 35 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in vp9_subtract_plane() local 36 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_subtract_plane() 43 p->src.stride, pd->dst.buf, pd->dst.stride, in vp9_subtract_plane() 49 pd->dst.buf, pd->dst.stride); in vp9_subtract_plane() 65 struct macroblockd_plane *const pd = &xd->plane[plane]; in vp9_optimize_b() local 70 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in vp9_optimize_b() 75 const int16_t *const dequant_ptr = pd->dequant; in vp9_optimize_b() 348 const struct macroblockd_plane *const pd = &xd->plane[plane]; in vp9_xform_quant_fp() local 352 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in vp9_xform_quant_fp() 366 p->quant_fp, qcoeff, dqcoeff, pd->dequant, in vp9_xform_quant_fp() [all …]
|
/external/jcommander/src/main/java/com/beust/jcommander/ |
D | JCommander.java | 297 for (ParameterDescription pd : m_descriptions.values()) { in initializeDefaultValues() 298 initializeDefaultValue(pd); in initializeDefaultValues() 318 for (ParameterDescription pd : m_requiredFields.values()) { in validateOptions() 319 missingFields.append(pd.getNames()).append(" "); in validateOptions() 390 for (ParameterDescription pd : m_descriptions.values()) { in expandDynamicArg() 391 if (pd.isDynamicParameter()) { in expandDynamicArg() 392 for (String name : pd.getParameter().names()) { in expandDynamicArg() 425 ParameterDescription pd = getPrefixDescriptionFor(arg); in getDescriptionFor() local 426 if (pd != null) result = pd; in getDescriptionFor() 434 ParameterDescription pd = getDescriptionFor(args, arg); in getSeparatorFor() local [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | reconinter_enc.c | 36 struct macroblockd_plane *const pd = &xd->plane[plane]; in calc_subpel_params() local 39 int ssx = pd->subsampling_x; in calc_subpel_params() 40 int ssy = pd->subsampling_y; in calc_subpel_params() 66 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in calc_subpel_params() 79 struct macroblockd_plane *const pd = &xd->plane[plane]; in build_inter_predictors() local 91 const int ss_x = pd->subsampling_x; in build_inter_predictors() 92 const int ss_y = pd->subsampling_y; in build_inter_predictors() 129 const struct buf_2d orig_pred_buf[2] = { pd->pre[0], pd->pre[1] }; in build_inter_predictors() 142 struct buf_2d *const dst_buf = &pd->dst; in build_inter_predictors() 151 pd->pre[ref].buf0 = in build_inter_predictors() [all …]
|
D | encodemb.c | 70 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in av1_subtract_txb() local 73 const int dst_stride = pd->dst.stride; in av1_subtract_txb() 77 &pd->dst.buf[(blk_row * dst_stride + blk_col) << tx_size_wide_log2[0]]; in av1_subtract_txb() 88 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in av1_subtract_plane() local 90 get_plane_block_size(bsize, pd->subsampling_x, pd->subsampling_y); in av1_subtract_plane() 96 pd->dst.buf, pd->dst.stride); in av1_subtract_plane() 139 const struct macroblockd_plane *const pd = &xd->plane[plane]; in av1_xform_quant() local 144 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in av1_xform_quant() 151 IS_2D_TRANSFORM(tx_type) ? pd->seg_qmatrix[seg_id][qm_tx_size] in av1_xform_quant() 155 ? pd->seg_iqmatrix[seg_id][qm_tx_size] in av1_xform_quant() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_blockd.h | 237 const struct macroblockd_plane *pd) { in get_uv_tx_size() argument 239 ss_size_lookup[mi->sb_type][pd->subsampling_x][pd->subsampling_y] != in get_uv_tx_size() 241 return uv_txsize_lookup[mi->sb_type][mi->tx_size][pd->subsampling_x] in get_uv_tx_size() 242 [pd->subsampling_y]; in get_uv_tx_size() 246 get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { in get_plane_block_size() argument 247 return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; in get_plane_block_size() 253 struct macroblockd_plane *const pd = &xd->plane[i]; in reset_skip_context() local 254 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in reset_skip_context() 255 memset(pd->above_context, 0, in reset_skip_context() 257 memset(pd->left_context, 0, in reset_skip_context() [all …]
|
D | vp9_reconinter.c | 112 MV average_split_mvs(const struct macroblockd_plane *pd, const MODE_INFO *mi, in average_split_mvs() argument 114 const int ss_idx = ((pd->subsampling_x > 0) << 1) | (pd->subsampling_y > 0); in average_split_mvs() 129 struct macroblockd_plane *const pd = &xd->plane[plane]; in build_inter_predictors() local 137 struct buf_2d *const pre_buf = &pd->pre[ref]; in build_inter_predictors() 138 struct buf_2d *const dst_buf = &pd->dst; in build_inter_predictors() 141 ? average_split_mvs(pd, mi, ref, block) in build_inter_predictors() 150 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in build_inter_predictors() 159 const int x_start = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)); in build_inter_predictors() 160 const int y_start = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)); in build_inter_predictors() 164 assert(mv_q4.row == mv.row * (1 << (1 - pd->subsampling_y)) && in build_inter_predictors() [all …]
|
D | vp9_blockd.c | 40 const struct macroblockd_plane *const pd = &xd->plane[plane]; in vp9_foreach_transformed_block_in_plane() local 45 const TX_SIZE tx_size = plane ? get_uv_tx_size(mi, pd) : mi->tx_size; in vp9_foreach_transformed_block_in_plane() 46 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_foreach_transformed_block_in_plane() 58 : xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in vp9_foreach_transformed_block_in_plane() 62 : xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in vp9_foreach_transformed_block_in_plane() 87 void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, in vp9_set_contexts() argument 90 ENTROPY_CONTEXT *const a = pd->above_context + aoff; in vp9_set_contexts() 91 ENTROPY_CONTEXT *const l = pd->left_context + loff; in vp9_set_contexts() 98 (xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in vp9_set_contexts() 113 (xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in vp9_set_contexts()
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/ |
D | p5-cxx0x.cpp | 33 PD pd(); 37 decltype(pd()) s; // ok 38 decltype(pd())::n n; // ok 45 pd(), // expected-error {{private destructor}} 46 pd()) pd1; // expected-error {{private destructor}} 52 pd(), // expected-error {{temporary of type 'PD' has private destructor}} 56 decltype(((((42)), pd())))::n pd_parens_comma; // ok 59 extern decltype(pd()) pd_ref; // ok 114 decltype(pd()) *pd_ptr;
|
/external/tcpdump/ |
D | tcpdump.c | 220 static pcap_t *pd; variable 231 pcap_t *pd; member 1612 pd = pcap_open_offline_with_tstamp_precision(RFileName, in main() 1615 pd = pcap_open_offline(RFileName, ebuf); in main() 1618 if (pd == NULL) in main() 1622 if (cap_rights_limit(fileno(pcap_file(pd)), &rights) < 0 && in main() 1627 dlt = pcap_datalink(pd); in main() 1670 pd = open_interface(device, ndo, ebuf); in main() 1671 if (pd == NULL) { in main() 1698 pd = open_interface(device, ndo, ebuf); in main() [all …]
|
/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/ |
D | jdk6-flags.txt | 53 intx BackEdgeThreshold = 100000 {pd product} 54 bool BackgroundCompilation = true {pd product} 160 uintx CodeCacheExpansionSize = 32768 {pd product} 170 intx CompileThreshold = 10000 {pd product} 173 intx CompilerThreadStackSize = 0 {pd product} 175 intx ConditionalMoveLimit = 3 {C2 pd product} 176 bool ConvertSleepToYield = true {pd product} 203 bool DontYieldALot = false {pd product} 234 intx FreqInlineSize = 325 {pd product} 283 bool GoogleUseLibunwind = false {pd product} [all …]
|
D | jdk7-flags.txt | 56 intx BackEdgeThreshold = 100000 {pd product} 57 bool BackgroundCompilation = true {pd product} 164 intx CMSYoungGenPerWorker = 67108864 {pd product} 175 uintx CodeCacheExpansionSize = 32768 {pd product} 185 intx CompileThreshold = 10000 {pd product} 188 intx CompilerThreadStackSize = 0 {pd product} 190 intx ConditionalMoveLimit = 3 {C2 pd product} 191 bool ConvertSleepToYield = true {pd product} 219 bool DontYieldALot = false {pd product} 250 intx FreqInlineSize = 325 {pd product} [all …]
|