Searched refs:segp (Results 1 – 7 of 7) sorted by relevance
/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 | 435 static void kvm_seg_set_unusable(struct kvm_segment *segp) in kvm_seg_set_unusable() argument 437 memset(segp, 0, sizeof(*segp)); in kvm_seg_set_unusable() 438 segp->unusable = true; in kvm_seg_set_unusable() 441 static void kvm_seg_fill_gdt_64bit(struct kvm_vm *vm, struct kvm_segment *segp) in kvm_seg_fill_gdt_64bit() argument 444 struct desc64 *desc = gdt + (segp->selector >> 3) * 8; in kvm_seg_fill_gdt_64bit() 446 desc->limit0 = segp->limit & 0xFFFF; in kvm_seg_fill_gdt_64bit() 447 desc->base0 = segp->base & 0xFFFF; in kvm_seg_fill_gdt_64bit() 448 desc->base1 = segp->base >> 16; in kvm_seg_fill_gdt_64bit() 449 desc->s = segp->s; in kvm_seg_fill_gdt_64bit() 450 desc->type = segp->type; in kvm_seg_fill_gdt_64bit() [all …]
|
/external/libxml2/ |
D | uri.c | 1502 char *segp, *tmp; in xmlNormalizeURIPath() local 1509 segp = cur; in xmlNormalizeURIPath() 1510 while ((segp[0] != '/') && (segp[0] != '\0')) in xmlNormalizeURIPath() 1511 ++segp; in xmlNormalizeURIPath() 1516 if (segp[0] == '\0') in xmlNormalizeURIPath() 1522 ++segp; in xmlNormalizeURIPath() 1523 if (((cur[0] == '.') && (cur[1] == '.') && (segp == cur+3)) in xmlNormalizeURIPath() 1524 || ((segp[0] != '.') || (segp[1] != '.') in xmlNormalizeURIPath() 1525 || ((segp[2] != '/') && (segp[2] != '\0')))) { in xmlNormalizeURIPath() 1526 cur = segp; in xmlNormalizeURIPath() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | segmentation.c | 174 struct segmentation_probs *segp = &cm->fc->seg; in av1_choose_segmap_coding_method() local 213 av1_cost_tokens_from_cdf(seg_id_cost, segp->tree_cdf, NULL); in av1_choose_segmap_coding_method() 222 av1_cost_tokens_from_cdf(pred_flag_cost[i], segp->pred_cdf[i], NULL); in av1_choose_segmap_coding_method()
|
D | bitstream.c | 444 const struct segmentation *seg, struct segmentation_probs *segp, int skip) { in write_segment_id() argument 471 aom_cdf_prob *pred_cdf = segp->spatial_pred_seg_cdf[cdf_num]; in write_segment_id() 904 struct segmentation_probs *const segp, int skip, int preskip) { in write_inter_segment_id() argument 917 write_segment_id(cpi, mbmi, w, seg, segp, 1); in write_inter_segment_id() 924 aom_cdf_prob *pred_cdf = av1_get_pred_cdf_seg_id(segp, xd); in write_inter_segment_id() 927 write_segment_id(cpi, mbmi, w, seg, segp, 0); in write_inter_segment_id() 934 write_segment_id(cpi, mbmi, w, seg, segp, 0); in write_inter_segment_id() 1082 struct segmentation_probs *const segp = &ec_ctx->seg; in pack_inter_mode_mvs() local 1093 write_inter_segment_id(cpi, w, seg, segp, 0, 1); in pack_inter_mode_mvs() 1101 write_inter_segment_id(cpi, w, seg, segp, skip, 0); in pack_inter_mode_mvs() [all …]
|
/external/libaom/libaom/av1/common/ |
D | pred_common.h | 160 struct segmentation_probs *segp, const MACROBLOCKD *xd) { in av1_get_pred_cdf_seg_id() argument 161 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 | 287 struct segmentation_probs *const segp = &ec_ctx->seg; in read_segment_id() local 288 aom_cdf_prob *pred_cdf = segp->spatial_pred_seg_cdf[cdf_num]; in read_segment_id() 402 struct segmentation_probs *const segp = &ec_ctx->seg; in read_inter_segment_id() local 403 aom_cdf_prob *pred_cdf = segp->pred_cdf[ctx]; in read_inter_segment_id()
|