/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
D | segment.c | 98 segment_t *segp = (segment_t *) calloc(1, sizeof(segment_t)); in new_segment() local 100 if (segp == NULL) in new_segment() 103 return segp; in new_segment() 112 segment_t *segp, **segpp; in get_seg_slot() local 117 segp = gcp->seg_avail; in get_seg_slot() 118 if (segp != NULL) { in get_seg_slot() 120 return segp; in get_seg_slot() 126 for (segpp = gcp->seglist; (segp = *segpp); ++segpp) { in get_seg_slot() 127 if (segp->seg_type == SEGT_NONE) in get_seg_slot() 128 return segp; in get_seg_slot() [all …]
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 438 static void kvm_seg_set_unusable(struct kvm_segment *segp) in kvm_seg_set_unusable() argument 440 memset(segp, 0, sizeof(*segp)); in kvm_seg_set_unusable() 441 segp->unusable = true; in kvm_seg_set_unusable() 444 static void kvm_seg_fill_gdt_64bit(struct kvm_vm *vm, struct kvm_segment *segp) in kvm_seg_fill_gdt_64bit() argument 447 struct desc64 *desc = gdt + (segp->selector >> 3) * 8; in kvm_seg_fill_gdt_64bit() 449 desc->limit0 = segp->limit & 0xFFFF; in kvm_seg_fill_gdt_64bit() 450 desc->base0 = segp->base & 0xFFFF; in kvm_seg_fill_gdt_64bit() 451 desc->base1 = segp->base >> 16; in kvm_seg_fill_gdt_64bit() 452 desc->s = segp->s; in kvm_seg_fill_gdt_64bit() 453 desc->type = segp->type; in kvm_seg_fill_gdt_64bit() [all …]
|
/external/libxml2/ |
D | uri.c | 1494 char *segp, *tmp; in xmlNormalizeURIPath() local 1501 segp = cur; in xmlNormalizeURIPath() 1502 while ((segp[0] != '/') && (segp[0] != '\0')) in xmlNormalizeURIPath() 1503 ++segp; in xmlNormalizeURIPath() 1508 if (segp[0] == '\0') in xmlNormalizeURIPath() 1514 ++segp; in xmlNormalizeURIPath() 1515 if (((cur[0] == '.') && (cur[1] == '.') && (segp == cur+3)) in xmlNormalizeURIPath() 1516 || ((segp[0] != '.') || (segp[1] != '.') in xmlNormalizeURIPath() 1517 || ((segp[2] != '/') && (segp[2] != '\0')))) { in xmlNormalizeURIPath() 1518 cur = segp; in xmlNormalizeURIPath() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | segmentation.c | 172 struct segmentation_probs *segp = &cm->fc->seg; in av1_choose_segmap_coding_method() local 206 av1_cost_tokens_from_cdf(seg_id_cost, segp->tree_cdf, NULL); in av1_choose_segmap_coding_method() 215 av1_cost_tokens_from_cdf(pred_flag_cost[i], segp->pred_cdf[i], NULL); in av1_choose_segmap_coding_method()
|
D | bitstream.c | 456 struct segmentation_probs *segp, int mi_row, in write_segment_id() argument 482 aom_cdf_prob *pred_cdf = segp->spatial_pred_seg_cdf[cdf_num]; in write_segment_id() 903 struct segmentation_probs *const segp, in write_inter_segment_id() argument 916 write_segment_id(cpi, mbmi, w, seg, segp, mi_row, mi_col, 1); in write_inter_segment_id() 923 aom_cdf_prob *pred_cdf = av1_get_pred_cdf_seg_id(segp, xd); in write_inter_segment_id() 926 write_segment_id(cpi, mbmi, w, seg, segp, mi_row, mi_col, 0); in write_inter_segment_id() 933 write_segment_id(cpi, mbmi, w, seg, segp, mi_row, mi_col, 0); in write_inter_segment_id() 1042 struct segmentation_probs *const segp = &ec_ctx->seg; in pack_inter_mode_mvs() local 1053 write_inter_segment_id(cpi, w, seg, segp, mi_row, mi_col, 0, 1); in pack_inter_mode_mvs() 1061 write_inter_segment_id(cpi, w, seg, segp, mi_row, mi_col, skip, 0); in pack_inter_mode_mvs() [all …]
|
/external/libaom/libaom/av1/common/ |
D | pred_common.h | 155 struct segmentation_probs *segp, const MACROBLOCKD *xd) { in av1_get_pred_cdf_seg_id() argument 156 return segp->pred_cdf[av1_get_pred_context_seg_id(xd)]; in av1_get_pred_cdf_seg_id()
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 270 struct segmentation_probs *const segp = &ec_ctx->seg; in read_segment_id() local 271 aom_cdf_prob *pred_cdf = segp->spatial_pred_seg_cdf[cdf_num]; in read_segment_id() 380 struct segmentation_probs *const segp = &ec_ctx->seg; in read_inter_segment_id() local 381 aom_cdf_prob *pred_cdf = segp->pred_cdf[ctx]; in read_inter_segment_id()
|