/external/valgrind/main/exp-sgcheck/ |
D | h_main.c | 105 void Seg__cmp(Seg* seg, Addr a, Int* cmp, UWord* n) in Seg__cmp() argument 107 if (a < seg->addr) { in Seg__cmp() 109 *n = seg->addr - a; in Seg__cmp() 110 } else if (a < seg->addr + seg->szB && seg->szB > 0) { in Seg__cmp() 112 *n = a - seg->addr; in Seg__cmp() 115 *n = a - (seg->addr + seg->szB); in Seg__cmp() 119 /*inline*/ Bool Seg__is_freed(Seg* seg) in Seg__is_freed() argument 121 if (!is_known_segment(seg)) in Seg__is_freed() 124 return seg->nextfree != (Seg*)1; in Seg__is_freed() 127 ExeContext* Seg__where(Seg* seg) in Seg__where() argument [all …]
|
D | h_main.h | 49 void Seg__cmp(Seg* seg, Addr a, Int* cmp, UWord* n); 50 Bool Seg__is_freed(Seg* seg); 51 ExeContext* Seg__where(Seg* seg); 52 SizeT Seg__size(Seg* seg); 53 Addr Seg__addr(Seg* seg);
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
D | pseudotcp.cc | 534 Segment seg; in parse() local 535 seg.conv = bytes_to_long(buffer); in parse() 536 seg.seq = bytes_to_long(buffer + 4); in parse() 537 seg.ack = bytes_to_long(buffer + 8); in parse() 538 seg.flags = buffer[13]; in parse() 539 seg.wnd = bytes_to_short(buffer + 14); in parse() 541 seg.tsval = bytes_to_long(buffer + 16); in parse() 542 seg.tsecr = bytes_to_long(buffer + 20); in parse() 544 seg.data = reinterpret_cast<const char *>(buffer) + HEADER_SIZE; in parse() 545 seg.len = size - HEADER_SIZE; in parse() [all …]
|
/external/skia/src/core/ |
D | SkPathMeasure.cpp | 38 const SkPathMeasure::Segment* SkPathMeasure::NextSegment(const Segment* seg) { in NextSegment() argument 39 unsigned ptIndex = seg->fPtIndex; in NextSegment() 42 ++seg; in NextSegment() 43 } while (seg->fPtIndex == ptIndex); in NextSegment() 44 return seg; in NextSegment() 102 Segment* seg = fSegments.append(); in compute_quad_segs() local 103 seg->fDistance = distance; in compute_quad_segs() 104 seg->fPtIndex = ptIndex; in compute_quad_segs() 105 seg->fType = kQuad_SegType; in compute_quad_segs() 106 seg->fTValue = maxt; in compute_quad_segs() [all …]
|
/external/skia/legacy/src/core/ |
D | SkPathMeasure.cpp | 38 const SkPathMeasure::Segment* SkPathMeasure::NextSegment(const Segment* seg) { in NextSegment() argument 39 unsigned ptIndex = seg->fPtIndex; in NextSegment() 42 ++seg; in NextSegment() 43 } while (seg->fPtIndex == ptIndex); in NextSegment() 44 return seg; in NextSegment() 113 Segment* seg = fSegments.append(); in compute_quad_segs() local 114 seg->fDistance = distance; in compute_quad_segs() 115 seg->fPtIndex = ptIndex; in compute_quad_segs() 116 seg->fType = kQuad_SegType; in compute_quad_segs() 117 seg->fTValue = maxt; in compute_quad_segs() [all …]
|
/external/valgrind/main/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 477 show_nsegment_full ( Int logLevel, Int segNo, NSegment* seg ) in show_nsegment_full() argument 482 if (seg->fnIdx >= 0 && seg->fnIdx < segnames_used in show_nsegment_full() 483 && segnames[seg->fnIdx].inUse in show_nsegment_full() 484 && segnames[seg->fnIdx].fname[0] != 0) in show_nsegment_full() 485 name = segnames[seg->fnIdx].fname; in show_nsegment_full() 487 show_len_concisely(len_buf, seg->start, seg->end); in show_nsegment_full() 493 segNo, show_SegKind(seg->kind), in show_nsegment_full() 494 (ULong)seg->start, (ULong)seg->end, len_buf, in show_nsegment_full() 495 seg->hasR ? 'r' : '-', seg->hasW ? 'w' : '-', in show_nsegment_full() 496 seg->hasX ? 'x' : '-', seg->hasT ? 'T' : '-', in show_nsegment_full() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
D | LoopBlinnPathProcessor.cpp | 559 for (Segment* seg = cur->begin(); seg != cur->end(); seg = seg->next()) { in process() local 560 if (seg->kind() == Segment::Cubic) { in process() 561 … LoopBlinnClassifier::Result classification = LoopBlinnClassifier::classify(seg->getPoint(0), in process() 562 … seg->getPoint(1), in process() 563 … seg->getPoint(2), in process() 564 … seg->getPoint(3)); in process() 576 cur->subdivide(seg); in process() 580 … seg->triangulate(LoopBlinnLocalTriangulator::ComputeInsideEdges, &texCoords); in process() 581 for (int i = 0; i < seg->numberOfTriangles(); i++) { in process() 582 LoopBlinnLocalTriangulator::Triangle* triangle = seg->getTriangle(i); in process() [all …]
|
/external/valgrind/main/coregrind/ |
D | fixup_macho_loadcmds.c | 448 struct segment_command_64 *seg = (struct segment_command_64 *)cmd; in modify_macho_loadcmds() local 449 if (0 == strcmp(seg->segname, "__LINKEDIT")) in modify_macho_loadcmds() 450 seg__linkedit = seg; in modify_macho_loadcmds() 451 if (0 == strcmp(seg->segname, "__UNIXSTACK")) in modify_macho_loadcmds() 452 seg__unixstack = seg; in modify_macho_loadcmds() 482 struct segment_command_64 *seg = seg__unixstack; in modify_macho_loadcmds() local 483 if (seg->vmaddr != expected_stack_start) in modify_macho_loadcmds() 485 if (seg->vmsize != expected_stack_size) in modify_macho_loadcmds() 487 if (seg->maxprot != 7) in modify_macho_loadcmds() 489 if (seg->initprot != 3) in modify_macho_loadcmds() [all …]
|
/external/tcpdump/ |
D | print-token.c | 107 int seg; in token_print() local 134 for (seg = 0; seg < SEGMENT_COUNT(trp); seg++) in token_print() 135 printf(" [%d:%d]", RING_NUMBER(trp, seg), in token_print() 136 BRIDGE_NUMBER(trp, seg)); in token_print() 140 for (seg = 0; seg < SEGMENT_COUNT(trp); seg++) in token_print() 141 printf(":%x", ntohs(trp->token_rseg[seg])); in token_print()
|
/external/freetype/src/autofit/ |
D | afcjk.c | 121 AF_Segment seg, limit, link; in af_cjk_metrics_init_widths() local 131 seg = axhints->segments; in af_cjk_metrics_init_widths() 132 limit = seg + axhints->num_segments; in af_cjk_metrics_init_widths() 134 for ( ; seg < limit; seg++ ) in af_cjk_metrics_init_widths() 136 link = seg->link; in af_cjk_metrics_init_widths() 139 if ( link && link->link == seg && link > seg ) in af_cjk_metrics_init_widths() 144 dist = seg->pos - link->pos; in af_cjk_metrics_init_widths() 689 AF_Segment seg; in af_cjk_hints_compute_segments() local 698 for ( seg = segments; seg < segment_limit; seg++ ) in af_cjk_hints_compute_segments() 700 AF_Point pt = seg->first; in af_cjk_hints_compute_segments() [all …]
|
D | aflatin.c | 107 AF_Segment seg, limit, link; in af_latin_metrics_init_widths() local 119 seg = axhints->segments; in af_latin_metrics_init_widths() 120 limit = seg + axhints->num_segments; in af_latin_metrics_init_widths() 122 for ( ; seg < limit; seg++ ) in af_latin_metrics_init_widths() 124 link = seg->link; in af_latin_metrics_init_widths() 127 if ( link && link->link == seg && link > seg ) in af_latin_metrics_init_widths() 132 dist = seg->pos - link->pos; in af_latin_metrics_init_widths() 1049 AF_Segment seg; in af_latin_hints_compute_edges() local 1104 for ( seg = segments; seg < segment_limit; seg++ ) in af_latin_hints_compute_edges() 1110 if ( seg->height < segment_length_threshold ) in af_latin_hints_compute_edges() [all …]
|
D | aflatin2.c | 106 AF_Segment seg, limit, link; in af_latin2_metrics_init_widths() local 118 seg = axhints->segments; in af_latin2_metrics_init_widths() 119 limit = seg + axhints->num_segments; in af_latin2_metrics_init_widths() 121 for ( ; seg < limit; seg++ ) in af_latin2_metrics_init_widths() 123 link = seg->link; in af_latin2_metrics_init_widths() 126 if ( link && link->link == seg && link > seg ) in af_latin2_metrics_init_widths() 131 dist = seg->pos - link->pos; in af_latin2_metrics_init_widths() 1045 AF_Segment seg; in af_latin2_hints_compute_edges() local 1104 for ( seg = segments; seg < segment_limit; seg++ ) in af_latin2_hints_compute_edges() 1110 if ( seg->height < segment_length_threshold ) in af_latin2_hints_compute_edges() [all …]
|
D | afhints.c | 251 AF_Segment seg; in af_glyph_hints_dump_segments() local 259 for ( seg = segments; seg < limit; seg++ ) in af_glyph_hints_dump_segments() 262 seg - segments, in af_glyph_hints_dump_segments() 263 dimension == AF_DIMENSION_HORZ ? (int)seg->first->ox / 64.0 in af_glyph_hints_dump_segments() 264 : (int)seg->first->oy / 64.0, in af_glyph_hints_dump_segments() 265 af_dir_str( (AF_Direction)seg->dir ), in af_glyph_hints_dump_segments() 266 AF_INDEX_NUM( seg->link, segments ), in af_glyph_hints_dump_segments() 267 AF_INDEX_NUM( seg->serif, segments ), in af_glyph_hints_dump_segments() 268 seg->height, in af_glyph_hints_dump_segments() 269 seg->height - ( seg->max_coord - seg->min_coord ), in af_glyph_hints_dump_segments() [all …]
|
/external/kernel-headers/original/linux/ |
D | uio.h | 56 unsigned long seg; in iov_length() local 59 for (seg = 0; seg < nr_segs; seg++) in iov_length() 60 ret += iov[seg].iov_len; in iov_length()
|
/external/libvpx/libvpx/vp8/common/ |
D | loopfilter.c | 117 int seg, /* segment number */ in vp8_loop_filter_frame_init() local 130 for(seg = 0; seg < MAX_MB_SEGMENTS; seg++) in vp8_loop_filter_frame_init() 141 lvl_seg = mbd->segment_feature_data[MB_LVL_ALT_LF][seg]; in vp8_loop_filter_frame_init() 145 lvl_seg += mbd->segment_feature_data[MB_LVL_ALT_LF][seg]; in vp8_loop_filter_frame_init() 155 vpx_memset(lfi->lvl[seg][0], lvl_seg, 4 * 4 ); in vp8_loop_filter_frame_init() 173 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init() 177 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init() 193 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init() 218 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_row_normal() local 221 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_normal() [all …]
|
/external/valgrind/main/coregrind/m_coredump/ |
D | coredump-elf.c | 71 static Bool may_dump(const NSegment *seg) in may_dump() argument 73 if (seg->kind == SkAnonC || in may_dump() 74 seg->kind == SkShmC || in may_dump() 75 (seg->kind == SkFileC && in may_dump() 76 !VKI_S_ISCHR(seg->mode) && !VKI_S_ISBLK(seg->mode))) in may_dump() 83 static Bool should_dump(const NSegment *seg) in should_dump() argument 85 return may_dump(seg); // && seg->hasW; in should_dump() 113 static void fill_phdr(ESZ(Phdr) *phdr, const NSegment *seg, UInt off, Bool write) in fill_phdr() argument 115 SizeT len = seg->end - seg->start; in fill_phdr() 117 write = write && should_dump(seg); in fill_phdr() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-graphite2.cc | 241 gr_segment *seg = NULL; in _hb_graphite2_shape() local 262 seg = gr_make_seg (grfont, grface, in _hb_graphite2_shape() 268 if (unlikely (!seg)) { in _hb_graphite2_shape() 273 unsigned int glyph_count = gr_seg_n_slots (seg); in _hb_graphite2_shape() 276 gr_seg_destroy (seg); in _hb_graphite2_shape() 287 gr_seg_destroy (seg); in _hb_graphite2_shape() 299 for (is = gr_seg_first_slot (seg), ic = 0; is; is = gr_slot_next_in_segment (is), ic++) in _hb_graphite2_shape() 335 info->cluster = gr_cinfo_base(gr_seg_cinfo(seg, clusters[i].base_char)); in _hb_graphite2_shape() 342 curradvx = gr_seg_advance_X(seg); in _hb_graphite2_shape() 345 for (pPos = hb_buffer_get_glyph_positions (buffer, NULL), is = gr_seg_first_slot (seg); in _hb_graphite2_shape() [all …]
|
/external/libffi/src/ |
D | closures.c | 459 msegmentptr seg = segment_holding (gm, start); in dlmunmap() local 466 if (seg && (code = add_segment_exec_offset (start, seg)) != start) in dlmunmap() 481 msegmentptr sp = &m->seg; in segment_holding_code() 507 msegmentptr seg = segment_holding (gm, ptr); in ffi_closure_alloc() local 509 *code = add_segment_exec_offset (ptr, seg); in ffi_closure_alloc() 523 msegmentptr seg = segment_holding_code (gm, ptr); in ffi_closure_free() local 525 if (seg) in ffi_closure_free() 526 ptr = sub_segment_exec_offset (ptr, seg); in ffi_closure_free()
|
/external/gtest/scripts/ |
D | pump.py | 728 segs = [seg for seg in re.split(r'(\w+\W*)', comment) if seg != ''] 730 for seg in segs: 731 if len((cur_line + seg).rstrip()) < max_len: 732 cur_line += seg 736 cur_line = seg.lstrip() 748 segs = [seg for seg in re.split(r'([^,;]+[,;]?)', line.strip()) if seg != ''] 750 for seg in segs: 752 while cur_line == '' and len(seg.strip()) > max_len: 753 seg = seg.lstrip() 754 split_at = seg.rfind(' ', 0, max_len) [all …]
|
/external/chromium/testing/gtest/scripts/ |
D | pump.py | 728 segs = [seg for seg in re.split(r'(\w+\W*)', comment) if seg != ''] 730 for seg in segs: 731 if len((cur_line + seg).rstrip()) < max_len: 732 cur_line += seg 736 cur_line = seg.lstrip() 748 segs = [seg for seg in re.split(r'([^,;]+[,;]?)', line.strip()) if seg != ''] 750 for seg in segs: 752 while cur_line == '' and len(seg.strip()) > max_len: 753 seg = seg.lstrip() 754 split_at = seg.rfind(' ', 0, max_len) [all …]
|
/external/libvpx/libvpx/third_party/googletest/src/scripts/ |
D | pump.py | 728 segs = [seg for seg in re.split(r'(\w+\W*)', comment) if seg != ''] 730 for seg in segs: 731 if len((cur_line + seg).rstrip()) < max_len: 732 cur_line += seg 736 cur_line = seg.lstrip() 748 segs = [seg for seg in re.split(r'([^,;]+[,;]?)', line.strip()) if seg != ''] 750 for seg in segs: 752 while cur_line == '' and len(seg.strip()) > max_len: 753 seg = seg.lstrip() 754 split_at = seg.rfind(' ', 0, max_len) [all …]
|
/external/kernel-headers/original/asm-x86/ |
D | system_32.h | 69 #define loadsegment(seg,value) \ argument 72 "mov %0,%%" #seg "\n" \ 77 "popl %%" #seg "\n\t" \ 89 #define savesegment(seg, value) \ argument 90 asm volatile("mov %%" #seg ",%0":"=rm" (value))
|
/external/llvm/lib/Target/X86/ |
D | X86InstrControl.td | 123 (ins i16imm:$off, i16imm:$seg), 124 "ljmp{w}\t{$seg, $off|$off, $seg}", [], IIC_JMP_FAR_PTR>, OpSize; 126 (ins i32imm:$off, i16imm:$seg), 127 "ljmp{l}\t{$seg, $off|$off, $seg}", [], IIC_JMP_FAR_PTR>; 164 (ins i16imm:$off, i16imm:$seg), 165 "lcall{w}\t{$seg, $off|$off, $seg}", [], 168 (ins i32imm:$off, i16imm:$seg), 169 "lcall{l}\t{$seg, $off|$off, $seg}", [],
|
/external/valgrind/main/coregrind/m_debuginfo/ |
D | readmacho.c | 609 struct SEGMENT_COMMAND *seg = (struct SEGMENT_COMMAND *)cmd; in getsectdata() local 610 if (0 == VG_(strncmp(seg->segname, segname, sizeof(seg->segname)))) { in getsectdata() 611 struct SECTION *sects = (struct SECTION *)(seg+1); in getsectdata() 613 for (s = 0; s < seg->nsects; s++) { in getsectdata() 790 struct SEGMENT_COMMAND *seg = (struct SEGMENT_COMMAND *)cmd; in ML_() local 793 && 0 == VG_(strcmp)(seg->segname, "__TEXT") in ML_() 795 && seg->fileoff == 0 && seg->filesize != 0) { in ML_() 797 di->text_svma = (Addr)seg->vmaddr; in ML_() 799 di->text_size = seg->vmsize; in ML_() 811 && 0 == VG_(strcmp)(seg->segname, "__DATA") in ML_() [all …]
|
/external/valgrind/main/memcheck/ |
D | mc_leakcheck.c | 1285 NSegment const* seg = VG_(am_find_nsegment)( seg_starts[i] ); in scan_memory_root_set() local 1286 tl_assert(seg); in scan_memory_root_set() 1288 if (seg->kind != SkFileC && seg->kind != SkAnonC) continue; in scan_memory_root_set() 1289 if (!(seg->hasR && seg->hasW)) continue; in scan_memory_root_set() 1290 if (seg->isCH) continue; in scan_memory_root_set() 1295 if (seg->kind == SkFileC in scan_memory_root_set() 1296 && (VKI_S_ISCHR(seg->mode) || VKI_S_ISBLK(seg->mode))) { in scan_memory_root_set() 1297 HChar* dev_name = VG_(am_get_filename)( (NSegment*)seg ); in scan_memory_root_set() 1307 VG_(printf)("ACCEPT %2d %#lx %#lx\n", i, seg->start, seg->end); in scan_memory_root_set() 1311 seg_size = seg->end - seg->start + 1; in scan_memory_root_set() [all …]
|