/external/valgrind/helgrind/tests/ |
D | tc19_shadowmem.c | 25 Info* info = (Info*)infoV; in child8() local 26 firstoff = info->firstoff; in child8() 27 lastoff = info->lastoff; in child8() 28 skipoff = info->skipoff; in child8() 29 arr = info->arr; in child8() 31 assert( info->child == &child8 ); in child8() 49 Info* info = (Info*)infoV; in child16() local 50 firstoff = info->firstoff; in child16() 51 lastoff = info->lastoff; in child16() 52 skipoff = info->skipoff; in child16() [all …]
|
/external/selinux/libsemanage/src/ |
D | parse_utils.c | 14 const char *filename, void *parse_arg, parse_info_t ** info) in parse_init() argument 33 *info = tmp_info; in parse_init() 37 void parse_release(parse_info_t * info) in parse_release() argument 40 parse_close(info); in parse_release() 41 parse_dispose_line(info); in parse_release() 42 free(info); in parse_release() 45 int parse_open(semanage_handle_t * handle, parse_info_t * info) in parse_open() argument 48 info->file_stream = fopen(info->filename, "r"); in parse_open() 49 if (!info->file_stream && (errno != ENOENT)) { in parse_open() 51 info->filename, strerror(errno)); in parse_open() [all …]
|
/external/libcxxabi/src/ |
D | private_typeinfo.cpp | 240 __dynamic_cast_info info = {thrown_class_type, 0, this, -1, 0}; in can_catch() local 241 info.number_of_dst_type = 1; in can_catch() 242 thrown_class_type->has_unambiguous_public_base(&info, adjustedPtr, public_path); in can_catch() 243 if (info.path_dst_ptr_to_static_ptr == public_path) in can_catch() 245 adjustedPtr = const_cast<void*>(info.dst_ptr_leading_to_static_ptr); in can_catch() 256 __class_type_info::process_found_base_class(__dynamic_cast_info* info, in process_found_base_class() argument 260 if (info->dst_ptr_leading_to_static_ptr == 0) in process_found_base_class() 263 info->dst_ptr_leading_to_static_ptr = adjustedPtr; in process_found_base_class() 264 info->path_dst_ptr_to_static_ptr = path_below; in process_found_base_class() 265 info->number_to_static_ptr = 1; in process_found_base_class() [all …]
|
/external/cblas/src/ |
D | cblas_xerbla.c | 8 void cblas_xerbla(int info, const char *rout, const char *form, ...) in cblas_xerbla() argument 20 if (info == 5 ) info = 4; in cblas_xerbla() 21 else if (info == 4 ) info = 5; in cblas_xerbla() 22 else if (info == 11) info = 9; in cblas_xerbla() 23 else if (info == 9 ) info = 11; in cblas_xerbla() 27 if (info == 5 ) info = 4; in cblas_xerbla() 28 else if (info == 4 ) info = 5; in cblas_xerbla() 32 if (info == 7 ) info = 6; in cblas_xerbla() 33 else if (info == 6 ) info = 7; in cblas_xerbla() 37 if (info == 4) info = 3; in cblas_xerbla() [all …]
|
/external/drm_gralloc/ |
D | gralloc_drm_radeon.c | 81 static int radeon_get_pitch_align(struct radeon_info *info, int bpe, uint32_t tiling) in radeon_get_pitch_align() argument 85 if (info->chip_family >= CHIP_FAMILY_R600) { in radeon_get_pitch_align() 88 pitch_align = (((info->group_bytes / 8) / bpe) * in radeon_get_pitch_align() 89 info->num_banks) * 8; in radeon_get_pitch_align() 91 pitch_align = MAX(info->num_banks * 8, pitch_align); in radeon_get_pitch_align() 94 pitch_align = MAX(8, (info->group_bytes / (8 * bpe))); in radeon_get_pitch_align() 96 pitch_align = MAX(info->group_bytes / bpe, pitch_align); in radeon_get_pitch_align() 98 if (info->have_tiling_info) in radeon_get_pitch_align() 100 pitch_align = MAX(64, info->group_bytes / bpe); in radeon_get_pitch_align() 122 static int radeon_get_height_align(struct radeon_info *info, uint32_t tiling) in radeon_get_height_align() argument [all …]
|
D | gralloc_drm_intel.c | 75 batch_next(struct intel_info *info) in batch_next() argument 77 info->cur = info->batch; in batch_next() 79 if (info->batch_ibo) in batch_next() 80 drm_intel_bo_unreference(info->batch_ibo); in batch_next() 82 info->batch_ibo = drm_intel_bo_alloc(info->bufmgr, in batch_next() 83 "gralloc-batchbuffer", info->size, 4096); in batch_next() 85 return (info->batch_ibo) ? 0 : -ENOMEM; in batch_next() 89 batch_count(struct intel_info *info) in batch_count() argument 91 return info->cur - info->batch; in batch_count() 95 batch_dword(struct intel_info *info, uint32_t dword) in batch_dword() argument [all …]
|
/external/cblas/testing/ |
D | c_xerbla.c | 8 void cblas_xerbla(int info, const char *rout, const char *form, ...) in cblas_xerbla() argument 38 if (info == 5 ) info = 4; in cblas_xerbla() 39 else if (info == 4 ) info = 5; in cblas_xerbla() 40 else if (info == 11) info = 9; in cblas_xerbla() 41 else if (info == 9 ) info = 11; in cblas_xerbla() 45 if (info == 5 ) info = 4; in cblas_xerbla() 46 else if (info == 4 ) info = 5; in cblas_xerbla() 50 if (info == 7 ) info = 6; in cblas_xerbla() 51 else if (info == 6 ) info = 7; in cblas_xerbla() 55 if (info == 4) info = 3; in cblas_xerbla() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw.h | 43 util_draw_init_info(struct pipe_draw_info *info) in util_draw_init_info() argument 45 memset(info, 0, sizeof(*info)); in util_draw_init_info() 46 info->instance_count = 1; in util_draw_init_info() 47 info->max_index = 0xffffffff; in util_draw_init_info() 54 struct pipe_draw_info info; in util_draw_arrays() local 56 util_draw_init_info(&info); in util_draw_arrays() 57 info.mode = mode; in util_draw_arrays() 58 info.start = start; in util_draw_arrays() 59 info.count = count; in util_draw_arrays() 60 info.min_index = start; in util_draw_arrays() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-ot-layout-private.hh | 203 hb_glyph_info_t *info = buffer->info; in _next_syllable() local 206 unsigned int syllable = info[start].syllable(); in _next_syllable() 207 while (++start < count && syllable == info[start].syllable()) in _next_syllable() 242 _hb_glyph_info_set_unicode_props (hb_glyph_info_t *info, hb_buffer_t *buffer) in _hb_glyph_info_set_unicode_props() argument 245 unsigned int u = info->codepoint; in _hb_glyph_info_set_unicode_props() 277 props |= unicode->modified_combining_class (info->codepoint)<<8; in _hb_glyph_info_set_unicode_props() 291 info->unicode_props() = props; in _hb_glyph_info_set_unicode_props() 295 _hb_glyph_info_set_general_category (hb_glyph_info_t *info, in _hb_glyph_info_set_general_category() argument 299 …info->unicode_props() = (unsigned int) gen_cat | (info->unicode_props() & (0xFF & ~UPROPS_MASK_GEN… in _hb_glyph_info_set_general_category() 303 _hb_glyph_info_get_general_category (const hb_glyph_info_t *info) in _hb_glyph_info_get_general_category() argument [all …]
|
/external/iptables/extensions/ |
D | libxt_HMARK.c | 143 hmark_parse(const char *type, size_t len, struct xt_hmark_info *info, in hmark_parse() argument 147 info->flags |= XT_HMARK_FLAG(XT_HMARK_CT); in hmark_parse() 150 memset(&info->src_mask, 0xff, sizeof(info->src_mask)); in hmark_parse() 151 info->flags |= XT_HMARK_FLAG(XT_HMARK_SADDR_MASK); in hmark_parse() 154 memset(&info->dst_mask, 0xff, sizeof(info->dst_mask)); in hmark_parse() 155 info->flags |= XT_HMARK_FLAG(XT_HMARK_DADDR_MASK); in hmark_parse() 158 memset(&info->port_mask.p16.src, 0xff, in hmark_parse() 159 sizeof(info->port_mask.p16.src)); in hmark_parse() 160 info->flags |= XT_HMARK_FLAG(XT_HMARK_SPORT_MASK); in hmark_parse() 163 memset(&info->port_mask.p16.dst, 0xff, in hmark_parse() [all …]
|
D | libxt_rateest.c | 116 struct xt_rateest_match_info *info = (void *)(*match)->data; in rateest_parse() local 130 strncpy(info->name1, optarg, sizeof(info->name1) - 1); in rateest_parse() 143 strncpy(info->name2, optarg, sizeof(info->name2) - 1); in rateest_parse() 144 info->flags |= XT_RATEEST_MATCH_REL; in rateest_parse() 157 info->flags |= XT_RATEEST_MATCH_BPS; in rateest_parse() 163 if (rateest_get_rate(&info->bps1, argv[optind]) < 0) in rateest_parse() 180 info->flags |= XT_RATEEST_MATCH_PPS; in rateest_parse() 190 info->pps1 = val; in rateest_parse() 204 info->flags |= XT_RATEEST_MATCH_BPS; in rateest_parse() 210 if (rateest_get_rate(&info->bps2, argv[optind]) < 0) in rateest_parse() [all …]
|
D | libxt_owner.c | 139 struct ipt_owner_info *info = cb->data; in owner_mt_parse_v0() local 152 info->invert |= IPT_OWNER_UID; in owner_mt_parse_v0() 153 info->match |= IPT_OWNER_UID; in owner_mt_parse_v0() 154 info->uid = id; in owner_mt_parse_v0() 162 info->invert |= IPT_OWNER_GID; in owner_mt_parse_v0() 163 info->match |= IPT_OWNER_GID; in owner_mt_parse_v0() 164 info->gid = id; in owner_mt_parse_v0() 168 info->invert |= IPT_OWNER_PID; in owner_mt_parse_v0() 169 info->match |= IPT_OWNER_PID; in owner_mt_parse_v0() 173 info->invert |= IPT_OWNER_SID; in owner_mt_parse_v0() [all …]
|
D | libxt_iprange.c | 98 struct ipt_iprange_info *info = cb->data; in iprange_parse() local 104 info->flags |= IPRANGE_SRC; in iprange_parse() 106 info->flags |= IPRANGE_SRC_INV; in iprange_parse() 108 info->src.min_ip = range[0].ip; in iprange_parse() 109 info->src.max_ip = range[1].ip; in iprange_parse() 112 info->flags |= IPRANGE_DST; in iprange_parse() 114 info->flags |= IPRANGE_DST_INV; in iprange_parse() 116 info->dst.min_ip = range[0].ip; in iprange_parse() 117 info->dst.max_ip = range[1].ip; in iprange_parse() 124 struct xt_iprange_mtinfo *info = cb->data; in iprange_mt_parse() local [all …]
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/ |
D | LabelInfo.java | 55 final LabelInfo info = create(label); in setTarget() local 56 if (info.target || info.successor) { in setTarget() 57 info.multiTarget = true; in setTarget() 59 info.target = true; in setTarget() 71 final LabelInfo info = create(label); in setSuccessor() local 72 info.successor = true; in setSuccessor() 73 if (info.target) { in setSuccessor() 74 info.multiTarget = true; in setSuccessor() 90 final LabelInfo info = get(label); in isMultiTarget() local 91 return info == null ? false : info.multiTarget; in isMultiTarget() [all …]
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_program.c | 104 nvc0_vp_assign_input_slots(struct nv50_ir_prog_info *info) in nvc0_vp_assign_input_slots() argument 108 for (n = 0, i = 0; i < info->numInputs; ++i) { in nvc0_vp_assign_input_slots() 109 switch (info->in[i].sn) { in nvc0_vp_assign_input_slots() 112 info->in[i].mask = 0x1; in nvc0_vp_assign_input_slots() 113 info->in[i].slot[0] = in nvc0_vp_assign_input_slots() 114 nvc0_shader_input_address(info->in[i].sn, 0, 0) / 4; in nvc0_vp_assign_input_slots() 120 info->in[i].slot[c] = (0x80 + n * 0x10 + c * 0x4) / 4; in nvc0_vp_assign_input_slots() 128 nvc0_sp_assign_input_slots(struct nv50_ir_prog_info *info) in nvc0_sp_assign_input_slots() argument 130 unsigned ubase = MAX2(0x80, 0x20 + info->numPatchConstants * 0x10); in nvc0_sp_assign_input_slots() 134 for (i = 0; i < info->numInputs; ++i) { in nvc0_sp_assign_input_slots() [all …]
|
/external/ltrace/ |
D | type.c | 76 type_init_common(struct arg_type_info *info, enum arg_type type) in type_init_common() argument 78 info->type = type; in type_init_common() 79 info->lens = NULL; in type_init_common() 80 info->own_lens = 0; in type_init_common() 84 struct arg_type_info *info; member 89 type_init_struct(struct arg_type_info *info) in type_init_struct() argument 91 type_init_common(info, ARGTYPE_STRUCT); in type_init_struct() 92 VECT_INIT(&info->u.entries, struct struct_field); in type_init_struct() 96 type_struct_add(struct arg_type_info *info, in type_struct_add() argument 99 assert(info->type == ARGTYPE_STRUCT); in type_struct_add() [all …]
|
/external/tremolo/Tremolo/ |
D | floor1.c | 54 vorbis_info_floor1 *info=(vorbis_info_floor1 *)i; in floor1_free_info() local 55 if(info){ in floor1_free_info() 56 if(info->klass)_ogg_free(info->klass); in floor1_free_info() 57 if(info->partitionclass)_ogg_free(info->partitionclass); in floor1_free_info() 58 if(info->postlist)_ogg_free(info->postlist); in floor1_free_info() 59 if(info->forward_index)_ogg_free(info->forward_index); in floor1_free_info() 60 if(info->hineighbor)_ogg_free(info->hineighbor); in floor1_free_info() 61 if(info->loneighbor)_ogg_free(info->loneighbor); in floor1_free_info() 62 memset(info,0,sizeof(*info)); in floor1_free_info() 63 _ogg_free(info); in floor1_free_info() [all …]
|
/external/webrtc/talk/session/media/ |
D | currentspeakermonitor_unittest.cc | 63 void SignalAudioMonitor(const AudioInfo& info) { in SignalAudioMonitor() argument 64 source_.SignalAudioMonitor(&source_, info); in SignalAudioMonitor() 79 static void InitAudioInfo(AudioInfo* info, int input_level, int output_level) { in InitAudioInfo() argument 80 info->input_level = input_level; in InitAudioInfo() 81 info->output_level = output_level; in InitAudioInfo() 85 AudioInfo info; in TEST_F() local 86 InitAudioInfo(&info, 0, 0); in TEST_F() 87 SignalAudioMonitor(info); in TEST_F() 94 AudioInfo info; in TEST_F() local 95 InitAudioInfo(&info, 0, 0); in TEST_F() [all …]
|
/external/mesa3d/src/gallium/tests/graw/ |
D | occlusion-query.c | 17 static struct graw_info info; variable 91 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices() 92 info.ctx->bind_vertex_elements_state(info.ctx, handle); in set_vertices() 97 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, in set_vertices() 103 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf); in set_vertices() 108 set_vertex_shader(struct graw_info *info) in set_vertex_shader() argument 121 handle = graw_parse_vertex_shader(info->ctx, text); in set_vertex_shader() 126 info->ctx->bind_vs_state(info->ctx, handle); in set_vertex_shader() 131 set_fragment_shader(struct graw_info *info) in set_fragment_shader() argument 141 handle = graw_parse_fragment_shader(info->ctx, text); in set_fragment_shader() [all …]
|
D | graw_util.h | 30 graw_util_create_window(struct graw_info *info, in graw_util_create_window() argument 44 memset(info, 0, sizeof(*info)); in graw_util_create_window() 52 for (i = 0; info->window == NULL && formats[i] != PIPE_FORMAT_NONE; i++) { in graw_util_create_window() 53 info->screen = graw_create_window_and_screen(0, 0, width, height, in graw_util_create_window() 55 &info->window); in graw_util_create_window() 58 if (!info->screen || !info->window) { in graw_util_create_window() 63 info->ctx = info->screen->context_create(info->screen, NULL); in graw_util_create_window() 64 if (info->ctx == NULL) { in graw_util_create_window() 81 info->color_buf[i] = info->screen->resource_create(info->screen, in graw_util_create_window() 83 if (info->color_buf[i] == NULL) { in graw_util_create_window() [all …]
|
/external/flac/libFLAC/ |
D | cpu.c | 47 static void disable_sse(FLAC__CPUInfo *info) in disable_sse() argument 49 info->ia32.sse = false; in disable_sse() 50 info->ia32.sse2 = false; in disable_sse() 51 info->ia32.sse3 = false; in disable_sse() 52 info->ia32.ssse3 = false; in disable_sse() 53 info->ia32.sse41 = false; in disable_sse() 54 info->ia32.sse42 = false; in disable_sse() 57 static void disable_avx(FLAC__CPUInfo *info) in disable_avx() argument 59 info->ia32.avx = false; in disable_avx() 60 info->ia32.avx2 = false; in disable_avx() [all …]
|
/external/webrtc/webrtc/base/ |
D | systeminfo_unittest.cc | 17 rtc::SystemInfo info; in TEST() local 18 LOG(LS_INFO) << "CpuVendor: " << info.GetCpuVendor(); in TEST() 19 EXPECT_FALSE(info.GetCpuVendor().empty()); in TEST() 25 rtc::SystemInfo info; in TEST() local 27 EXPECT_TRUE(rtc::string_match(info.GetCpuVendor().c_str(), in TEST() 29 rtc::string_match(info.GetCpuVendor().c_str(), in TEST() 32 EXPECT_TRUE(rtc::string_match(info.GetCpuVendor().c_str(), "ARM")); in TEST() 39 rtc::SystemInfo info; in TEST() local 40 LOG(LS_INFO) << "CpuArchitecture: " << info.GetCpuArchitecture(); in TEST() 41 rtc::SystemInfo::Architecture architecture = info.GetCpuArchitecture(); in TEST() [all …]
|
/external/e2fsprogs/misc/ |
D | e2freefrag.c | 53 static void init_chunk_info(ext2_filsys fs, struct chunk_info *info) in init_chunk_info() argument 57 info->blocksize_bits = ul_log2((unsigned long)fs->blocksize); in init_chunk_info() 58 if (info->chunkbytes) { in init_chunk_info() 59 info->chunkbits = ul_log2(info->chunkbytes); in init_chunk_info() 60 info->blks_in_chunk = info->chunkbytes >> info->blocksize_bits; in init_chunk_info() 62 info->chunkbits = ul_log2(DEFAULT_CHUNKSIZE); in init_chunk_info() 63 info->blks_in_chunk = DEFAULT_CHUNKSIZE >> info->blocksize_bits; in init_chunk_info() 66 info->min = ~0UL; in init_chunk_info() 67 info->max = info->avg = 0; in init_chunk_info() 68 info->real_free_chunks = 0; in init_chunk_info() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_point.c | 61 struct point_info *info, in constant_coef() argument 66 info->a0[slot][i] = value; in constant_coef() 67 info->dadx[slot][i] = 0.0f; in constant_coef() 68 info->dady[slot][i] = 0.0f; in constant_coef() 74 const struct point_info *info, in point_persp_coeff() argument 85 float w0 = info->v0[0][3]; in point_persp_coeff() 89 info->a0[slot][i] = info->v0[slot][i]*w0; in point_persp_coeff() 90 info->dadx[slot][i] = 0.0f; in point_persp_coeff() 91 info->dady[slot][i] = 0.0f; in point_persp_coeff() 105 const struct point_info *info, in texcoord_coef() argument [all …]
|
/external/skia/src/core/ |
D | SkPicture.cpp | 60 SkPictInfo info; in createHeader() local 63 static_assert(sizeof(kMagic) == sizeof(info.fMagic), ""); in createHeader() 64 memcpy(info.fMagic, kMagic, sizeof(kMagic)); in createHeader() 67 info.fVersion = CURRENT_PICTURE_VERSION; in createHeader() 68 info.fCullRect = this->cullRect(); in createHeader() 69 info.fFlags = SkPictInfo::kCrossProcess_Flag; in createHeader() 71 info.fFlags |= SkPictInfo::kScalarIsFloat_Flag; in createHeader() 74 info.fFlags |= SkPictInfo::kPtrIs64Bit_Flag; in createHeader() 76 return info; in createHeader() 79 bool SkPicture::IsValidPictInfo(const SkPictInfo& info) { in IsValidPictInfo() argument [all …]
|