Searched refs:sgp (Results 1 - 12 of 12) sorted by relevance

/macosx-10.9.5/cctools-845/libmacho/
H A Dgetsegbyname.c67 struct segment_command *sgp; local
82 sgp = (struct segment_command *)
85 if(sgp->cmd == LC_SEGMENT)
86 if(strncmp(sgp->segname, segname, sizeof(sgp->segname)) == 0)
87 return(sgp);
88 sgp = (struct segment_command *)((char *)sgp + sgp->cmdsize);
100 struct segment_command_64 *sgp; local
[all...]
H A Dgetsecbyname.c63 struct segment_command *sgp; local
67 sgp = (struct segment_command *)
70 if(sgp->cmd == LC_SEGMENT)
71 if(strncmp(sgp->segname, segname, sizeof(sgp->segname)) == 0 ||
73 sp = (struct section *)((char *)sgp +
75 for(j = 0; j < sgp->nsects; j++){
85 sgp = (struct segment_command *)((char *)sgp + sgp
101 struct segment_command_64 *sgp; local
142 struct segment_command *sgp; local
269 struct segment_command *sgp, *zero; local
317 struct segment_command *sgp, *zero, *find; local
355 struct segment_command_64 *sgp, *zero; local
403 struct segment_command_64 *sgp, *zero, *find; local
[all...]
H A Dget_end.c67 struct segment_command *sgp; local
80 sgp = (struct segment_command *)
83 if(sgp->cmd == LC_SEGMENT)
84 if(sgp->vmaddr + sgp->vmsize > _end)
85 _end = sgp->vmaddr + sgp->vmsize;
86 sgp = (struct segment_command *)((char *)sgp + sgp
[all...]
/macosx-10.9.5/xnu-2422.115.4/libkern/
H A Dkernel_mach_header.c54 kernel_segment_command_t *sgp; local
59 sgp = (kernel_segment_command_t *)
62 if (sgp->cmd == LC_SEGMENT_KERNEL) {
63 if (sgp->vmaddr + sgp->vmsize > last_addr)
64 last_addr = sgp->vmaddr + sgp->vmsize;
66 sgp = (kernel_segment_command_t *)((uintptr_t)sgp + sgp
179 kernel_segment_command_t *sgp; local
214 kernel_segment_command_t *sgp; local
241 kernel_segment_command_t *sgp = (kernel_segment_command_t *) local
263 kernel_segment_command_t *sgp = (kernel_segment_command_t *) local
317 firstsect(kernel_segment_command_t *sgp) argument
332 nextsect(kernel_segment_command_t *sgp, kernel_section_t *sp) argument
[all...]
/macosx-10.9.5/objc4-551.1/runtime/
H A Dobjc-file.mm66 const segmentType *sgp;
69 sgp = (const segmentType *) (head + 1);
71 if (sgp->cmd == SEGMENT_CMD) {
72 if (strncmp(sgp->segname, segname, sizeof(sgp->segname)) == 0) {
73 return sgp;
76 sgp = (const segmentType *)((char *)sgp + sgp->cmdsize);
H A Dobjc-file-old.mm125 const segmentType *sgp;
128 sgp = (const segmentType *) (head + 1);
130 if (sgp->cmd == SEGMENT_CMD) {
131 if (strncmp(sgp->segname, segname, sizeof(sgp->segname)) == 0) {
132 return sgp;
135 sgp = (const segmentType *)((char *)sgp + sgp->cmdsize);
/macosx-10.9.5/cctools-845/misc/
H A Dsegedit.c89 struct segment_command *sgp;/* pointer to the segment_command */ member in struct:rep_seg
244 struct segment_command *sgp; local
346 sgp = (struct segment_command *)lcp;
347 sp = (struct section *)((char *)sgp +
350 swap_segment_command(sgp, host_byte_sex);
352 swap_section(sp, sgp->nsects, host_byte_sex);
391 struct segment_command *sgp; local
400 sgp = (struct segment_command *)lcp;
401 sp = (struct section *)((char *)sgp +
403 for(j = 0; j < sgp
485 struct segment_command *sgp, *linkedit_sgp; local
[all...]
H A Dlipo.c1538 struct segment_command *sgp, sg; local
1579 sgp = (struct segment_command *)lcp;
1580 sg = *sgp;
1586 sp = (struct section *)((char *)sgp +
1630 struct segment_command_64 *sgp, sg; local
1666 sgp = (struct segment_command_64 *)lcp;
1667 sg = *sgp;
1673 sp = (struct section_64 *)((char *)sgp +
/macosx-10.9.5/xnu-2422.115.4/libkern/libkern/
H A Dkernel_mach_header.h102 kernel_section_t *firstsect(kernel_segment_command_t *sgp);
103 kernel_section_t *nextsect(kernel_segment_command_t *sgp, kernel_section_t *sp);
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dsubr_prof.c110 kernel_segment_command_t *sgp; /* 32 bit mach object file segment */ local
113 sgp = getsegbyname("__TEXT");
114 p->lowpc = (u_int32_t)sgp->vmaddr;
115 p->highpc = (u_int32_t)(sgp->vmaddr + sgp->vmsize);
/macosx-10.9.5/vim-53/src/
H A Dsyntax.c8467 struct hl_group *sgp; local
8470 sgp = &HL_TABLE()[id - 1]; /* index is ID minus one */
8473 sgp->sg_term, NULL, "term");
8475 0, sgp->sg_start, "start");
8477 0, sgp->sg_stop, "stop");
8480 sgp->sg_cterm, NULL, "cterm");
8482 sgp->sg_cterm_fg, NULL, "ctermfg");
8484 sgp->sg_cterm_bg, NULL, "ctermbg");
8488 sgp->sg_gui, NULL, "gui");
8490 0, sgp
8769 struct hl_group *sgp = HL_TABLE() + idx; local
9010 struct hl_group *sgp; local
9042 struct hl_group *sgp; local
9061 struct hl_group *sgp; local
[all...]
/macosx-10.9.5/CF-855.17/
H A DCFBundle.c2107 struct segment_command_64 *sgp = (struct segment_command_64 *)startofcmds; local
2109 for (i = 0; !foundit && i < ncmds && startofcmds <= (char *)sgp && (char *)sgp < endofcmds; i++) {
2110 if (LC_SEGMENT_64 == _CFBundleSwapInt32Conditional(sgp->cmd, swapped)) {
2111 struct section_64 *sp = (struct section_64 *)((char *)sgp + sizeof(struct segment_command_64));
2112 uint32_t nsects = _CFBundleSwapInt32Conditional(sgp->nsects, swapped);
2126 sgp = (struct segment_command_64 *)((char *)sgp + _CFBundleSwapInt32Conditional(sgp->cmdsize, swapped));
2133 struct segment_command *sgp local
2178 struct segment_command_64 *sgp = (struct segment_command_64 *)startofcmds; local
2202 struct segment_command *sgp = (struct segment_command *)startofcmds; local
[all...]

Completed in 141 milliseconds