Home
last modified time | relevance | path

Searched refs:part (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/external/e2fsprogs/lib/ext2fs/
Ddosio.c86 static void lba2chs(unsigned long lba_addr, CHS *chs, PARTITION *part) in lba2chs() argument
91 abss = (lba_addr >> 9) + part->start; in lba2chs()
92 chs->cyl = abss / (part->sects * part->heads); in lba2chs()
93 chs->head = (abss / part->sects) % part->heads; in lba2chs()
94 chs->sector = (abss % part->sects) + 1; in lba2chs()
145 static io_channel alloc_io_channel(PARTITION *part) in alloc_io_channel() argument
155 ioch->name = (char *)malloc(strlen(part->dev)+1); in alloc_io_channel()
160 strcpy(ioch->name, part->dev); in alloc_io_channel()
161 ioch->private_data = part; in alloc_io_channel()
179 PARTITION *part; in dos_open() local
[all …]
Dgetsize.c156 int part; in ext2fs_get_device_size() local
227 part = strlen(file) - 1; in ext2fs_get_device_size()
228 if (part >= 0) { in ext2fs_get_device_size()
229 ch = file[part]; in ext2fs_get_device_size()
231 part = 0; in ext2fs_get_device_size()
233 part = ch - 'a'; in ext2fs_get_device_size()
235 part = -1; in ext2fs_get_device_size()
237 if (part >= 0 && (ioctl(fd, DIOCGDINFO, (char *)&lab) >= 0)) { in ext2fs_get_device_size()
238 pp = &lab.d_partitions[part]; in ext2fs_get_device_size()
/external/grub/stage2/
Dpc_slice.h47 #define PC_SLICE_FLAG(mbr_ptr, part) \ argument
49 + (part << 4)) ) )
51 #define PC_SLICE_HEAD(mbr_ptr, part) \ argument
53 + (part << 4)) ) )
55 #define PC_SLICE_SEC(mbr_ptr, part) \ argument
57 + (part << 4)) ) )
59 #define PC_SLICE_CYL(mbr_ptr, part) \ argument
61 + (part << 4)) ) )
63 #define PC_SLICE_TYPE(mbr_ptr, part) \ argument
65 + (part << 4)) ) )
[all …]
/external/qemu/android/skin/
Dfile.c249 skin_part_free( SkinPart* part ) in skin_part_free() argument
251 if (part) { in skin_part_free()
252 skin_background_done( part->background ); in skin_part_free()
253 skin_display_done( part->display ); in skin_part_free()
255 SKIN_PART_LOOP_BUTTONS(part,button) in skin_part_free()
258 part->buttons = NULL; in skin_part_free()
259 AFREE(part); in skin_part_free()
270 SkinPart* part; in skin_location_create_from_v2() local
278 for (part = parts; part; part = part->next) in skin_location_create_from_v2()
279 if (!strcmp(part->name, partname)) in skin_location_create_from_v2()
[all …]
Dfile.h52 #define SKIN_PART_LOOP_BUTTONS(part,button) \ argument
54 SkinButton* __button = (part)->buttons; \
65 SkinPart* part; member
119 #define SKIN_FILE_LOOP_PARTS(file,part) \ argument
124 SkinPart* part = __part;
/external/e2fsprogs/tests/f_badorphan/
Dexpect.18 Inodes that were part of a corrupted orphan linked list found. Fix? yes
10 Inode 13 was part of the orphaned inode list. FIXED.
11 Inode 17 was part of the orphaned inode list. FIXED.
14 Inode 19 was part of the orphaned inode list. FIXED.
15 Inode 22 was part of the orphaned inode list. FIXED.
16 Inode 23 was part of the orphaned inode list. FIXED.
17 Inode 24 was part of the orphaned inode list. FIXED.
18 Inode 25 was part of the orphaned inode list. FIXED.
19 Inode 26 was part of the orphaned inode list. FIXED.
20 Inode 27 was part of the orphaned inode list. FIXED.
[all …]
/external/oprofile/libop/
Dop_parse_event.c66 char * part = next_part(&cp); in parse_events() local
75 if (!part) { in parse_events()
80 parsed_events[i].name = part; in parse_events()
82 part = next_part(&cp); in parse_events()
84 if (!part) { in parse_events()
89 parsed_events[i].count = parse_ulong(part); in parse_events()
90 free(part); in parse_events()
93 part = next_part(&cp); in parse_events()
95 if (part) { in parse_events()
97 parsed_events[i].unit_mask = parse_ulong(part); in parse_events()
[all …]
/external/webkit/WebCore/platform/chromium/
DScrollbarThemeChromiumWin.cpp134 …in::paintButton(GraphicsContext* gc, Scrollbar* scrollbar, const IntRect& rect, ScrollbarPart part) in paintButton() argument
139 if (part == BackButtonStartPart || part == ForwardButtonStartPart) in paintButton()
147 getThemeArrowState(scrollbar, part), in paintButton()
148 partId | getClassicThemeState(scrollbar, part), in paintButton()
173 int ScrollbarThemeChromiumWin::getThemeState(Scrollbar* scrollbar, ScrollbarPart part) const in getThemeState()
179 if (part == ThumbPart) in getThemeState()
185 if (scrollbar->hoveredPart() != part || part == BackTrackPart || part == ForwardTrackPart) in getThemeState()
189 return (scrollbar->pressedPart() == part) ? SCRBS_PRESSED : SCRBS_NORMAL; in getThemeState()
192 int ScrollbarThemeChromiumWin::getThemeArrowState(Scrollbar* scrollbar, ScrollbarPart part) const in getThemeArrowState()
197 if (part == BackButtonStartPart || part == ForwardButtonStartPart) { in getThemeArrowState()
[all …]
DThemeChromiumMac.mm489 static void setupButtonCell(NSButtonCell *&buttonCell, ControlPart part, ControlStates states, cons…
502 if (part == ListButtonPart) {
507 …if (part == SquareButtonPart || zoomedRect.height() > buttonSizes()[NSRegularControlSize].height()…
520 static NSButtonCell *button(ControlPart part, ControlStates states, const IntRect& zoomedRect, floa…
524 setupButtonCell(cells[isDefault], part, states, zoomedRect, zoomFactor);
528 static void paintButton(ControlPart part, ControlStates states, GraphicsContext* context, const Int…
533 NSButtonCell *buttonCell = button(part, states, zoomedRect, zoomFactor);
538 IntSize zoomedSize = (part == ListButtonPart ? listButtonSizes() : buttonSizes())[controlSize];
575 int ThemeChromiumMac::baselinePositionAdjustment(ControlPart part) const
577 if (part == CheckboxPart || part == RadioPart)
[all …]
/external/webkit/WebCore/rendering/
DRenderScrollbar.cpp47 RenderScrollbarPart* part = m_parts.get(ScrollbarBGPart); in RenderScrollbar() local
48 if (!part) in RenderScrollbar()
51 part->layout(); in RenderScrollbar()
52 setFrameRect(IntRect(0, 0, part->width(), part->height())); in RenderScrollbar()
91 void RenderScrollbar::setHoveredPart(ScrollbarPart part) in setHoveredPart() argument
93 if (part == m_hoveredPart) in setHoveredPart()
97 m_hoveredPart = part; in setHoveredPart()
106 void RenderScrollbar::setPressedPart(ScrollbarPart part) in setPressedPart() argument
109 Scrollbar::setPressedPart(part); in setPressedPart()
112 updateScrollbarPart(part); in setPressedPart()
[all …]
/external/skia/src/animator/
DSkDrawPath.cpp52 for (SkPathPart** part = fParts.begin(); part < fParts.end(); part++) in ~SkDrawPath() local
53 delete *part; in ~SkDrawPath()
58 SkPathPart* part = (SkPathPart*) child; in add() local
59 *fParts.append() = part; in add()
60 if (part->add()) in add()
94 for(SkPathPart** part = fParts.begin(); part < fParts.end(); part++) { in dump() local
99 (*part)->dump(maker); in dump()
120 for (SkPathPart** part = fParts.begin(); part < fParts.end(); part++) in getPath() local
121 (*part)->add(); in getPath()
135 for (SkPathPart** part = fParts.begin(); part < fParts.end(); part++) in onEndElement() local
[all …]
DSkDrawMatrix.cpp68 for (SkMatrixPart** part = fParts.begin(); part < fParts.end(); part++) in ~SkDrawMatrix() local
69 delete *part; in ~SkDrawMatrix()
74 SkMatrixPart* part = (SkMatrixPart*) child; in add() local
75 *fParts.append() = part; in add()
76 if (part->add()) in add()
144 for (SkMatrixPart** part = fParts.begin(); part < fParts.end(); part++) { in getMatrix() local
145 (*part)->add(); in getMatrix()
213 for (SkMatrixPart** part = fParts.begin(); part < fParts.end(); part++) in onEndElement() local
214 delete *part; in onEndElement()
DSkDisplayPost.cpp54 for (SkData** part = fParts.begin(); part < fParts.end(); part++) in ~SkPost() local
55 delete *part; in ~SkPost()
60 SkData* part = (SkData*) child; in add() local
61 *fParts.append() = part; in add()
193 for (SkData** part = fParts.begin(); part < fParts.end(); part++) { in enable() local
194 if ((*part)->add()) in enable()
287 for (SkData** part = fParts.begin(); part < fParts.end(); part++) in onEndElement() local
288 delete *part; in onEndElement()
/external/ppp/pppd/plugins/pppoatm/
Dtext2atm.c22 int part[3]; in try_pvc() local
25 part[0] = part[1] = part[2] = 0; in try_pvc()
34 if (part[i] > INT_MAX/10) return TRY_OTHER;/* number too big */ in try_pvc()
35 part[i] = part[i]*10+*text++-'0'; in try_pvc()
45 part[i++] = ATM_ITF_ANY; /* all *_ANY have the same value */ in try_pvc()
50 part[i++] = ATM_VPI_UNSPEC; /* all *_UNSPEC have the same in try_pvc()
58 part[2] = part[1]; in try_pvc()
59 part[1] = part[0]; in try_pvc()
60 part[0] = 0; /* default interface */ in try_pvc()
62 if (part[0] > SHRT_MAX || part[2] > ATM_MAX_VCI) in try_pvc()
[all …]
/external/webkit/WebCore/platform/wx/wxcode/win/
Dscrollbar_render.cpp109 int getTSStateForPart(wxScrollbarPart part, wxScrollbarPart focusPart, wxScrollbarPart hoverPart, i… in getTSStateForPart() argument
114 else if (part == focusPart) in getTSStateForPart()
116 else if (part == hoverPart) in getTSStateForPart()
129 int part = 0; in wxRenderer_DrawScrollbar() local
131 part = SP_TRACKENDHOR; in wxRenderer_DrawScrollbar()
133 part = SP_TRACKENDVERT; in wxRenderer_DrawScrollbar()
159 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &r, 0); in wxRenderer_DrawScrollbar()
163 part = SP_BUTTON; in wxRenderer_DrawScrollbar()
169 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &buttonRect, 0); in wxRenderer_DrawScrollbar()
176 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &buttonRect, 0); in wxRenderer_DrawScrollbar()
[all …]
/external/guava/src/com/google/common/base/
DJoiner.java184 @Override CharSequence toString(Object part) { in useForNull()
185 return (part == null) ? nullText : Joiner.this.toString(part); in useForNull()
210 Object part = iterator.next();
211 if (part != null) {
212 appendable.append(Joiner.this.toString(part));
217 Object part = iterator.next();
218 if (part != null) {
220 appendable.append(Joiner.this.toString(part));
317 CharSequence toString(Object part) {
318 return (part instanceof CharSequence)
[all …]
/external/webkit/WebKit/chromium/public/win/
DWebThemeEngine.h50 WebCanvas*, int part, int state, int classicState,
54 WebCanvas*, int part, int state, int classicState,
62 WebCanvas*, int part, int state, int classicState,
66 WebCanvas*, int part, int state, int classicState,
70 WebCanvas*, int part, int state, int classicState,
74 WebCanvas*, int part, int state, int classicState,
/external/webkit/WebCore/platform/mac/
DThemeMac.mm333 static void setupButtonCell(NSButtonCell *&buttonCell, ControlPart part, ControlStates states, cons…
346 if (part == ListButtonPart) {
351 …if (part == SquareButtonPart || zoomedRect.height() > buttonSizes()[NSRegularControlSize].height()…
364 static NSButtonCell *button(ControlPart part, ControlStates states, const IntRect& zoomedRect, floa…
368 setupButtonCell(cells[isDefault], part, states, zoomedRect, zoomFactor);
372 static void paintButton(ControlPart part, ControlStates states, GraphicsContext* context, const Int…
377 NSButtonCell *buttonCell = button(part, states, zoomedRect, zoomFactor);
382 IntSize zoomedSize = (part == ListButtonPart ? listButtonSizes() : buttonSizes())[controlSize];
440 int ThemeMac::baselinePositionAdjustment(ControlPart part) const
442 if (part == CheckboxPart || part == RadioPart)
[all …]
/external/webkit/WebCore/platform/win/
DScrollbarThemeSafari.cpp83 …(ThemePart part, CGContextRef context, const CGRect& rect, NSControlSize size, ThemeControlState s…
84 (part, context, rect, size, state))
137 IntRect ScrollbarThemeSafari::backButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool paintin… in backButtonRect() argument
142 if (part == BackButtonEndPart) in backButtonRect()
155 IntRect ScrollbarThemeSafari::forwardButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool pain… in forwardButtonRect() argument
160 if (part == ForwardButtonStartPart) in forwardButtonRect()
219 …phicsContext* graphicsContext, Scrollbar* scrollbar, const IntRect& buttonRect, ScrollbarPart part) in paintButton() argument
229 if (scrollbar->pressedPart() == part) in paintButton()
231 if (part == BackButtonStartPart) in paintButton()
234 else if (part == ForwardButtonEndPart) in paintButton()
DScrollbarThemeWin.cpp137 IntRect ScrollbarThemeWin::backButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool) in backButtonRect() argument
140 if (part == BackButtonEndPart) in backButtonRect()
156 IntRect ScrollbarThemeWin::forwardButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool) in forwardButtonRect() argument
159 if (part == ForwardButtonStartPart) in forwardButtonRect()
225 int part; in paintTrackPiece() local
227 part = start ? SP_TRACKSTARTHOR : SP_TRACKENDHOR; in paintTrackPiece()
229 part = start ? SP_TRACKSTARTVERT : SP_TRACKENDVERT; in paintTrackPiece()
242 alphaBlend = IsThemeBackgroundPartiallyTransparent(scrollbarTheme, part, state); in paintTrackPiece()
246 DrawThemeBackground(scrollbarTheme, hdc, part, state, &themeRect, 0); in paintTrackPiece()
271 …aintButton(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect, ScrollbarPart part) in paintButton() argument
[all …]
/external/webkit/WebCore/platform/haiku/
DScrollbarThemeHaiku.cpp73 IntRect ScrollbarThemeHaiku::backButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool) in backButtonRect() argument
75 if (part == BackButtonEndPart) in backButtonRect()
88 IntRect ScrollbarThemeHaiku::forwardButtonRect(Scrollbar* scrollbar, ScrollbarPart part, bool) in forwardButtonRect() argument
90 if (part == BackButtonStartPart) in forwardButtonRect()
127 …aintButton(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect, ScrollbarPart part) in paintButton() argument
142 …arrowDirection = part == BackButtonStartPart ? BControlLook::B_UP_ARROW : BControlLook::B_DOWN_ARR… in paintButton()
144 …arrowDirection = part == BackButtonStartPart ? BControlLook::B_LEFT_ARROW : BControlLook::B_RIGHT_… in paintButton()
/external/clearsilver/cgi/
Dhtml.c115 int part; in split_and_convert() local
136 part = 0; in split_and_convert()
161 if (part >= part_count) in split_and_convert()
168 parts[part].begin = url_match.rm_so; in split_and_convert()
169 parts[part].end = url_match.rm_eo; in split_and_convert()
170 parts[part].type = SC_TYPE_URL; in split_and_convert()
171 x = parts[part].end + 1; in split_and_convert()
172 part++; in split_and_convert()
202 parts[part].begin = email_match.rm_so; in split_and_convert()
203 parts[part].end = email_match.rm_eo; in split_and_convert()
[all …]
/external/webkit/WebCore/platform/
DTheme.cpp31 LengthBox Theme::controlBorder(ControlPart part, const Font&, const LengthBox& zoomedBox, float) co… in controlBorder() argument
33 switch (part) { in controlBorder()
45 LengthBox Theme::controlPadding(ControlPart part, const Font&, const LengthBox& zoomedBox, float) c… in controlPadding() argument
47 switch (part) { in controlPadding()
/external/quake/src/com/android/quake/
DDownloaderActivity.java336 for(Part part : mParts) { in getSize()
337 if (part.size > 0) { in getSize()
338 result += part.size; in getSize()
623 for(Config.File.Part part : file.mParts) { in downloadFile()
626 if ((part.size > bytesToSkip) || (part.size == 0)) { in downloadFile()
628 if (part.md5 != null) { in downloadFile()
643 downloadPart(part.src, os, bytesToSkip, in downloadFile()
644 part.size, digest); in downloadFile()
647 if (!hash.equalsIgnoreCase(part.md5)) { in downloadFile()
649 + part.src + "\nExpected " in downloadFile()
[all …]
/external/libvpx/examples/includes/HTML-Toc-0.91/t/
DmanualTest.t30 if ($aGroupId eq "part") {
59 if ($aGroupId eq "part") {
94 'groupId' => 'part',
97 'tokenBegin' => '<h1 class=part>',
99 'tokenBegin' => '<h1 class=-[appendix|prelude|hidden|part]>'
208 <li>Part 1 &nbsp;<a href=#part-1>Disks</a>
227 <li>Part 2 &nbsp;<a href=#part-2>Personal</a>
231 <li>Part 3 &nbsp;<a href=#part-3>Appendixes</a>
271 <a name=part-1><h1 class=part>Part 1 &nbsp;Disks</h1></a>
290 <a name=part-2><h1 class=part>Part 2 &nbsp;Personal</h1></a>
[all …]

12345678910>>...25