Home
last modified time | relevance | path

Searched refs:seg (Results 1 – 25 of 234) sorted by relevance

12345678910

/external/tcpdump/tests/
Ddecnet.out9 1.1 > 1.1 19 link-service 8195>8196 ack 0 ackdat 0 seg 1 dat seg count 0
11 1.1 > 1.1 45 data 8195>8196 ack 0 oack 0 seg 1
13 1.1 > 1.1 18 data 8196>8195 ack 1 oack 1 seg 1
15 1.1 > 1.1 33 data 8195>8196 ack 1 oack 0 seg 2
17 1.1 > 1.1 18 data 8196>8195 ack 2 oack 1 seg 2
23 1.1 > 1.1 19 link-service 8197>8198 ack 0 ackdat 0 seg 1 dat seg count 0
25 1.1 > 1.1 45 data 8197>8198 ack 0 oack 0 seg 1
27 1.1 > 1.1 32 data 8197>8198 ack 0 oack 0 seg 2
29 1.1 > 1.1 18 data 8198>8197 ack 2 oack 1 seg 1
31 1.1 > 1.1 19 link-service 8195>8196 ack 0 ackdat 2 seg 2 dat seg count 0
[all …]
/external/webrtc/webrtc/p2p/base/
Dpseudotcp.cc577 Segment seg; in parse() local
578 seg.conv = bytes_to_long(buffer); in parse()
579 seg.seq = bytes_to_long(buffer + 4); in parse()
580 seg.ack = bytes_to_long(buffer + 8); in parse()
581 seg.flags = buffer[13]; in parse()
582 seg.wnd = bytes_to_short(buffer + 14); in parse()
584 seg.tsval = bytes_to_long(buffer + 16); in parse()
585 seg.tsecr = bytes_to_long(buffer + 20); in parse()
587 seg.data = reinterpret_cast<const char *>(buffer) + HEADER_SIZE; in parse()
588 seg.len = size - HEADER_SIZE; in parse()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_segmentation.c21 void vp9_enable_segmentation(struct segmentation *seg) { in vp9_enable_segmentation() argument
22 seg->enabled = 1; in vp9_enable_segmentation()
23 seg->update_map = 1; in vp9_enable_segmentation()
24 seg->update_data = 1; in vp9_enable_segmentation()
27 void vp9_disable_segmentation(struct segmentation *seg) { in vp9_disable_segmentation() argument
28 seg->enabled = 0; in vp9_disable_segmentation()
29 seg->update_map = 0; in vp9_disable_segmentation()
30 seg->update_data = 0; in vp9_disable_segmentation()
33 void vp9_set_segment_data(struct segmentation *seg, signed char *feature_data, in vp9_set_segment_data() argument
35 seg->abs_delta = abs_delta; in vp9_set_segment_data()
[all …]
Dvp9_segmentation.h21 void vp9_enable_segmentation(struct segmentation *seg);
22 void vp9_disable_segmentation(struct segmentation *seg);
24 void vp9_disable_segfeature(struct segmentation *seg, int segment_id,
26 void vp9_clear_segdata(struct segmentation *seg, int segment_id,
29 void vp9_psnr_aq_mode_setup(struct segmentation *seg);
41 void vp9_set_segment_data(struct segmentation *seg, signed char *feature_data,
46 void vp9_reset_segment_features(struct segmentation *seg);
Dvp9_aq_360.c41 struct segmentation *seg = &cm->seg; in vp9_360aq_frame_setup() local
46 vp9_enable_segmentation(seg); in vp9_360aq_frame_setup()
47 vp9_clearall_segfeatures(seg); in vp9_360aq_frame_setup()
49 seg->abs_delta = SEGMENT_DELTADATA; in vp9_360aq_frame_setup()
71 vp9_set_segdata(seg, i, SEG_LVL_ALT_Q, qindex_delta); in vp9_360aq_frame_setup()
72 vp9_enable_segfeature(seg, i, SEG_LVL_ALT_Q); in vp9_360aq_frame_setup()
Dvp9_aq_complexity.c49 struct segmentation *const seg = &cm->seg; in vp9_setup_in_frame_q_adj() local
63 vp9_clearall_segfeatures(seg); in vp9_setup_in_frame_q_adj()
68 vp9_disable_segmentation(seg); in vp9_setup_in_frame_q_adj()
72 vp9_enable_segmentation(seg); in vp9_setup_in_frame_q_adj()
75 seg->abs_delta = SEGMENT_DELTADATA; in vp9_setup_in_frame_q_adj()
78 vp9_disable_segfeature(seg, DEFAULT_AQ2_SEG, SEG_LVL_ALT_Q); in vp9_setup_in_frame_q_adj()
98 vp9_enable_segfeature(seg, segment, SEG_LVL_ALT_Q); in vp9_setup_in_frame_q_adj()
99 vp9_set_segdata(seg, segment, SEG_LVL_ALT_Q, qindex_delta); in vp9_setup_in_frame_q_adj()
/external/skqp/src/core/
DSkPathMeasure.cpp27 const SkPathMeasure::Segment* SkPathMeasure::NextSegment(const Segment* seg) { in NextSegment() argument
28 unsigned ptIndex = seg->fPtIndex; in NextSegment()
31 ++seg; in NextSegment()
32 } while (seg->fPtIndex == ptIndex); in NextSegment()
33 return seg; in NextSegment()
249 Segment* seg = fSegments.append(); in compute_quad_segs() local
250 seg->fDistance = distance; in compute_quad_segs()
251 seg->fPtIndex = ptIndex; in compute_quad_segs()
252 seg->fType = kQuad_SegType; in compute_quad_segs()
253 seg->fTValue = maxt; in compute_quad_segs()
[all …]
/external/syzkaller/tools/syz-imagegen/
Dimagegen.go55 for _, seg := range segs {
56 totalData += len(seg.data)
61 for i, seg := range segs {
66 skip := next - seg.offset - len(seg.data)
68 seg.offset, seg.offset+len(seg.data), len(seg.data), skip)
72 for _, seg := range segs {
73 copy(restored[seg.offset:], seg.data)
83 for i, seg := range segs {
88 addr, hex.EncodeToString(seg.data), len(seg.data), seg.offset)
89 addr = (addr + len(seg.data) + 0xff) & ^0xff
[all …]
/external/skia/src/core/
DSkContourMeasure.cpp185 SkContourMeasure::Segment* seg = fSegments.append(); in compute_quad_segs() local
186 seg->fDistance = distance; in compute_quad_segs()
187 seg->fPtIndex = ptIndex; in compute_quad_segs()
188 seg->fType = kQuad_SegType; in compute_quad_segs()
189 seg->fTValue = maxt; in compute_quad_segs()
213 SkContourMeasure::Segment* seg = fSegments.append(); in compute_conic_segs() local
214 seg->fDistance = distance; in compute_conic_segs()
215 seg->fPtIndex = ptIndex; in compute_conic_segs()
216 seg->fType = kConic_SegType; in compute_conic_segs()
217 seg->fTValue = maxt; in compute_conic_segs()
[all …]
/external/libaom/libaom/av1/common/
Dseg_common.c37 void av1_clearall_segfeatures(struct segmentation *seg) { in av1_clearall_segfeatures() argument
38 av1_zero(seg->feature_data); in av1_clearall_segfeatures()
39 av1_zero(seg->feature_mask); in av1_clearall_segfeatures()
42 void calculate_segdata(struct segmentation *seg) { in calculate_segdata() argument
43 seg->segid_preskip = 0; in calculate_segdata()
44 seg->last_active_segid = 0; in calculate_segdata()
47 if (seg->feature_mask[i] & (1 << j)) { in calculate_segdata()
48 seg->segid_preskip |= (j >= SEG_LVL_REF_FRAME); in calculate_segdata()
49 seg->last_active_segid = i; in calculate_segdata()
55 void av1_enable_segfeature(struct segmentation *seg, int segment_id, in av1_enable_segfeature() argument
[all …]
Dseg_common.h62 static INLINE int segfeature_active(const struct segmentation *seg, in segfeature_active() argument
65 return seg->enabled && (seg->feature_mask[segment_id] & (1 << feature_id)); in segfeature_active()
81 void av1_clearall_segfeatures(struct segmentation *seg);
83 void av1_enable_segfeature(struct segmentation *seg, int segment_id,
86 void calculate_segdata(struct segmentation *seg);
92 void av1_set_segdata(struct segmentation *seg, int segment_id,
95 static INLINE int get_segdata(const struct segmentation *seg, int segment_id, in get_segdata() argument
97 return seg->feature_data[segment_id][feature_id]; in get_segdata()
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/
Dg711.h209 int seg; in linear_to_ulaw() local
221 seg = top_bit(linear | 0xFF) - 7; in linear_to_ulaw()
227 if (seg >= 8) in linear_to_ulaw()
230 u_val = (uint8_t)(((seg << 4) | ((linear >> (seg + 3)) & 0xF)) ^ mask); in linear_to_ulaw()
282 int seg; in linear_to_alaw() local
296 seg = top_bit(linear | 0xFF) - 7; in linear_to_alaw()
297 if (seg >= 8) { in linear_to_alaw()
306 return (uint8_t)(((seg << 4) | ((linear >> ((seg) ? (seg + 3) : 4)) & 0x0F)) ^ in linear_to_alaw()
316 int seg; in alaw_to_linear() local
320 seg = (((int) alaw & 0x70) >> 4); in alaw_to_linear()
[all …]
/external/libaom/libaom/av1/encoder/
Dsegmentation.c22 void av1_enable_segmentation(struct segmentation *seg) { in av1_enable_segmentation() argument
23 seg->enabled = 1; in av1_enable_segmentation()
24 seg->update_map = 1; in av1_enable_segmentation()
25 seg->update_data = 1; in av1_enable_segmentation()
26 seg->temporal_update = 0; in av1_enable_segmentation()
29 void av1_disable_segmentation(struct segmentation *seg) { in av1_disable_segmentation() argument
30 seg->enabled = 0; in av1_disable_segmentation()
31 seg->update_map = 0; in av1_disable_segmentation()
32 seg->update_data = 0; in av1_disable_segmentation()
33 seg->temporal_update = 0; in av1_disable_segmentation()
[all …]
Daq_complexity.c50 struct segmentation *const seg = &cm->seg; in av1_setup_in_frame_q_adj() local
60 av1_clearall_segfeatures(seg); in av1_setup_in_frame_q_adj()
61 av1_disable_segmentation(seg); in av1_setup_in_frame_q_adj()
75 av1_clearall_segfeatures(seg); in av1_setup_in_frame_q_adj()
80 av1_disable_segmentation(seg); in av1_setup_in_frame_q_adj()
84 av1_enable_segmentation(seg); in av1_setup_in_frame_q_adj()
87 av1_disable_segfeature(seg, DEFAULT_AQ2_SEG, SEG_LVL_ALT_Q); in av1_setup_in_frame_q_adj()
107 av1_enable_segfeature(seg, segment, SEG_LVL_ALT_Q); in av1_setup_in_frame_q_adj()
108 av1_set_segdata(seg, segment, SEG_LVL_ALT_Q, qindex_delta); in av1_setup_in_frame_q_adj()
/external/u-boot/arch/arm/mach-rockchip/
Dmake_fit_atf.py133 seg = uboot.get_segment(i)
134 if ('PT_LOAD' == seg.__getitem__(ELF_SEG_P_TYPE)):
135 p_paddr = seg.__getitem__(ELF_SEG_P_PADDR)
145 seg = bl31.get_segment(i)
146 if ('PT_LOAD' == seg.__getitem__(ELF_SEG_P_TYPE)):
147 paddr = seg.__getitem__(ELF_SEG_P_PADDR)
148 p= seg.__getitem__(ELF_SEG_P_PADDR)
165 seg = bl31.get_segment(i)
166 if ('PT_LOAD' == seg.__getitem__(ELF_SEG_P_TYPE)):
167 paddr = seg.__getitem__(ELF_SEG_P_PADDR)
[all …]
/external/strace/
Dkexec.c44 const kernel_ulong_t *seg; in print_seg() local
52 seg = seg_buf; in print_seg()
54 seg = elem_buf; in print_seg()
58 printaddr(seg[0]); in print_seg()
59 tprintf(", bufsz=%" PRI_klu ", mem=", seg[1]); in print_seg()
60 printaddr(seg[2]); in print_seg()
61 tprintf(", memsz=%" PRI_klu "}", seg[3]); in print_seg()
75 kernel_ulong_t seg[4]; in print_kexec_segments() local
76 const size_t sizeof_seg = ARRAY_SIZE(seg) * current_wordsize; in print_kexec_segments()
78 print_array(tcp, addr, len, seg, sizeof_seg, in print_kexec_segments()
/external/freetype/src/autofit/
Dafcjk.c191 AF_Segment seg, limit, link; in af_cjk_metrics_init_widths() local
211 seg = axhints->segments; in af_cjk_metrics_init_widths()
212 limit = seg + axhints->num_segments; in af_cjk_metrics_init_widths()
214 for ( ; seg < limit; seg++ ) in af_cjk_metrics_init_widths()
216 link = seg->link; in af_cjk_metrics_init_widths()
219 if ( link && link->link == seg && link > seg ) in af_cjk_metrics_init_widths()
224 dist = seg->pos - link->pos; in af_cjk_metrics_init_widths()
811 AF_Segment seg; in af_cjk_hints_compute_segments() local
820 for ( seg = segments; seg < segment_limit; seg++ ) in af_cjk_hints_compute_segments()
822 AF_Point pt = seg->first; in af_cjk_hints_compute_segments()
[all …]
Daflatin2.c116 AF_Segment seg, limit, link; in af_latin2_metrics_init_widths() local
128 seg = axhints->segments; in af_latin2_metrics_init_widths()
129 limit = seg + axhints->num_segments; in af_latin2_metrics_init_widths()
131 for ( ; seg < limit; seg++ ) in af_latin2_metrics_init_widths()
133 link = seg->link; in af_latin2_metrics_init_widths()
136 if ( link && link->link == seg && link > seg ) in af_latin2_metrics_init_widths()
141 dist = seg->pos - link->pos; in af_latin2_metrics_init_widths()
1094 AF_Segment seg; in af_latin2_hints_compute_edges() local
1153 for ( seg = segments; seg < segment_limit; seg++ ) in af_latin2_hints_compute_edges()
1159 if ( seg->height < segment_length_threshold ) in af_latin2_hints_compute_edges()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_seg_common.c28 void vp9_clearall_segfeatures(struct segmentation *seg) { in vp9_clearall_segfeatures() argument
29 vp9_zero(seg->feature_data); in vp9_clearall_segfeatures()
30 vp9_zero(seg->feature_mask); in vp9_clearall_segfeatures()
31 seg->aq_av_offset = 0; in vp9_clearall_segfeatures()
34 void vp9_enable_segfeature(struct segmentation *seg, int segment_id, in vp9_enable_segfeature() argument
36 seg->feature_mask[segment_id] |= 1 << feature_id; in vp9_enable_segfeature()
47 void vp9_set_segdata(struct segmentation *seg, int segment_id, in vp9_set_segdata() argument
55 seg->feature_data[segment_id][feature_id] = seg_data; in vp9_set_segdata()
Dvp9_seg_common.h52 static INLINE int segfeature_active(const struct segmentation *seg, in segfeature_active() argument
55 return seg->enabled && (seg->feature_mask[segment_id] & (1 << feature_id)); in segfeature_active()
58 void vp9_clearall_segfeatures(struct segmentation *seg);
60 void vp9_enable_segfeature(struct segmentation *seg, int segment_id,
67 void vp9_set_segdata(struct segmentation *seg, int segment_id,
70 static INLINE int get_segdata(const struct segmentation *seg, int segment_id, in get_segdata() argument
72 return seg->feature_data[segment_id][feature_id]; in get_segdata()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
DREADME41 anon <seg-name> <seg-size>[k|m|g|p] [<seg-share>] -
43 <seg-share> := private|shared - default = private
45 file <pathname> [<offset>[k|m|g|p] <length>[k|m|g|p]] [<seg-share>] -
49 <seg-share> := private|shared - default = private
51 shm <seg-name> <seg-size>[k|m|g|p] -
56 remove <seg-name> [<seg-name> ...] - remove the named segment[s]
58 map <seg-name> [<offset>[k|m|g|p] <length>[k|m|g|p]] [<seg-share>] -
65 unmap <seg-name> - unmap specified segment, but remember name/size/...
67 touch <seg-name> [<offset>[k|m|g|p] <length>[k|m|g|p]] [read|write] -
72 mbind <seg-name> [<offset>[k|m|g|p] <length>[k|m|g|p]]
[all …]
/external/ltp/testcases/kernel/syscalls/modify_ldt/
Dmodify_ldt02.c98 int seg[4]; in main() local
114 seg[0] = 12345; in main()
115 if (create_segment(seg, sizeof(seg)) == -1) { in main()
121 if (val != seg[0]) { in main()
123 val, seg[0]); in main()
168 int create_segment(void *seg, size_t size) in create_segment() argument
173 entry.base_addr = (unsigned long)seg; in create_segment()
/external/icu/icu4c/source/data/unit/
Des_AR.txt48 dnam{"seg."}
49 one{"{0}seg."}
50 other{"{0}seg."}
69 dnam{"seg."}
70 one{"{0} seg."}
71 other{"{0} seg."}
72 per{"{0}/seg."}
/external/libaom/libaom/test/
Dsegment_binarization_sync.cc50 const Segment seg = GenerateSegment(seed_init + i); in TEST() local
52 const int max_segid = seg.last_id + 1; in TEST()
53 const int seg_diff = av1_neg_interleave(seg.id, seg.pred, max_segid); in TEST()
55 av1_neg_deinterleave(seg_diff, seg.pred, max_segid); in TEST()
57 ASSERT_EQ(decoded_segid, seg.id); in TEST()
/external/tcpdump/
Dprint-token.c156 int seg; in token_print() local
192 for (seg = 0; seg < SEGMENT_COUNT(trp); seg++) in token_print()
193 ND_PRINT((ndo, " [%d:%d]", RING_NUMBER(trp, seg), in token_print()
194 BRIDGE_NUMBER(trp, seg))); in token_print()
198 for (seg = 0; seg < SEGMENT_COUNT(trp); seg++) in token_print()
199 ND_PRINT((ndo, ":%x", EXTRACT_16BITS(&trp->token_rseg[seg]))); in token_print()

12345678910