Home
last modified time | relevance | path

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

12345678910>>...48

/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/e2fsprogs/lib/ext2fs/
Ddosio.c89 static void lba2chs(unsigned long lba_addr, CHS *chs, PARTITION *part) in lba2chs() argument
94 abss = (lba_addr >> 9) + part->start; in lba2chs()
95 chs->cyl = abss / (part->sects * part->heads); in lba2chs()
96 chs->head = (abss / part->sects) % part->heads; in lba2chs()
97 chs->sector = (abss % part->sects) + 1; in lba2chs()
148 static io_channel alloc_io_channel(PARTITION *part) in alloc_io_channel() argument
158 ioch->name = (char *)malloc(strlen(part->dev)+1); in alloc_io_channel()
163 strcpy(ioch->name, part->dev); in alloc_io_channel()
164 ioch->private_data = part; in alloc_io_channel()
182 PARTITION *part; in dos_open() local
[all …]
Dgetsize.c156 int part; in ext2fs_get_device_size2() local
217 part = strlen(file) - 1; in ext2fs_get_device_size2()
218 if (part >= 0) { in ext2fs_get_device_size2()
219 ch = file[part]; in ext2fs_get_device_size2()
221 part = 0; in ext2fs_get_device_size2()
223 part = ch - 'a'; in ext2fs_get_device_size2()
225 part = -1; in ext2fs_get_device_size2()
227 if (part >= 0 && (ioctl(fd, DIOCGDINFO, (char *)&lab) >= 0)) { in ext2fs_get_device_size2()
228 pp = &lab.d_partitions[part]; in ext2fs_get_device_size2()
/external/qemu/android/skin/
Dfile.c266 skin_part_free( SkinPart* part ) in skin_part_free() argument
268 if (part) { in skin_part_free()
269 skin_background_done( part->background ); in skin_part_free()
270 skin_display_done( part->display ); in skin_part_free()
272 SKIN_PART_LOOP_BUTTONS(part,button) in skin_part_free()
275 part->buttons = NULL; in skin_part_free()
276 AFREE(part); in skin_part_free()
287 SkinPart* part; in skin_location_create_from_v2() local
295 for (part = parts; part; part = part->next) in skin_location_create_from_v2()
296 if (!strcmp(part->name, partname)) in skin_location_create_from_v2()
[all …]
/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/Source/WebCore/platform/chromium/
DScrollbarThemeChromiumWin.cpp116 …in::paintButton(GraphicsContext* gc, Scrollbar* scrollbar, const IntRect& rect, ScrollbarPart part) in paintButton() argument
121 if (part == BackButtonStartPart || part == ForwardButtonStartPart) in paintButton()
129 getThemeArrowState(scrollbar, part), in paintButton()
130 partId | getClassicThemeState(scrollbar, part), in paintButton()
155 int ScrollbarThemeChromiumWin::getThemeState(Scrollbar* scrollbar, ScrollbarPart part) const in getThemeState()
161 if (part == ThumbPart) in getThemeState()
167 if (scrollbar->hoveredPart() != part || part == BackTrackPart || part == ForwardTrackPart) in getThemeState()
171 return (scrollbar->pressedPart() == part) ? SCRBS_PRESSED : SCRBS_NORMAL; in getThemeState()
174 int ScrollbarThemeChromiumWin::getThemeArrowState(Scrollbar* scrollbar, ScrollbarPart part) const in getThemeArrowState()
179 if (part == BackButtonStartPart || part == ForwardButtonStartPart) { in getThemeArrowState()
[all …]
/external/skia/src/animator/
DSkDrawPath.cpp44 for (SkPathPart** part = fParts.begin(); part < fParts.end(); part++) in ~SkDrawPath() local
45 delete *part; in ~SkDrawPath()
50 SkPathPart* part = (SkPathPart*) child; in add() local
51 *fParts.append() = part; in add()
52 if (part->add()) in add()
86 for(SkPathPart** part = fParts.begin(); part < fParts.end(); part++) { in dump() local
91 (*part)->dump(maker); in dump()
112 for (SkPathPart** part = fParts.begin(); part < fParts.end(); part++) in getPath() local
113 (*part)->add(); in getPath()
127 for (SkPathPart** part = fParts.begin(); part < fParts.end(); part++) in onEndElement() local
[all …]
DSkDrawMatrix.cpp60 for (SkMatrixPart** part = fParts.begin(); part < fParts.end(); part++) in ~SkDrawMatrix() local
61 delete *part; in ~SkDrawMatrix()
66 SkMatrixPart* part = (SkMatrixPart*) child; in add() local
67 *fParts.append() = part; in add()
68 if (part->add()) in add()
136 for (SkMatrixPart** part = fParts.begin(); part < fParts.end(); part++) { in getMatrix() local
137 (*part)->add(); in getMatrix()
200 for (SkMatrixPart** part = fParts.begin(); part < fParts.end(); part++) in onEndElement() local
201 delete *part; in onEndElement()
DSkDisplayPost.cpp46 for (SkDataInput** part = fParts.begin(); part < fParts.end(); part++) in ~SkPost() local
47 delete *part; in ~SkPost()
52 SkDataInput* part = (SkDataInput*) child; in add() local
53 *fParts.append() = part; in add()
185 for (SkDataInput** part = fParts.begin(); part < fParts.end(); part++) { in enable() local
186 if ((*part)->add()) in enable()
279 for (SkDataInput** part = fParts.begin(); part < fParts.end(); part++) in onEndElement() local
280 delete *part; in onEndElement()
/external/eigen/test/eigen2/
Deigen2_triangular.cpp39 MatrixType m1up = m1.template part<Eigen::UpperTriangular>(); in triangular()
40 MatrixType m2up = m2.template part<Eigen::UpperTriangular>(); in triangular()
54 r1.template part<Eigen::UpperTriangular>() += m1; in triangular()
60 m1.template part<Eigen::UpperTriangular>() = (m2.transpose() * m2).lazy(); in triangular()
62 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>().transpose(), m1); in triangular()
66 m1.template part<Eigen::LowerTriangular>() = (m2.transpose() * m2).lazy(); in triangular()
67 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>(), m1); in triangular()
69 VERIFY_IS_APPROX(m3.template part<Diagonal>(), m3.diagonal().asDiagonal()); in triangular()
77 m3 = m1.template part<Eigen::LowerTriangular>(); in triangular()
86 m3 = m1.template part<Eigen::UpperTriangular>(); in triangular()
[all …]
/external/webkit/Source/WebCore/rendering/
DRenderScrollbar.cpp53 if (RenderScrollbarPart* part = m_parts.get(ScrollbarBGPart)) { in RenderScrollbar() local
54 part->layout(); in RenderScrollbar()
55 width = part->width(); in RenderScrollbar()
56 height = part->height(); in RenderScrollbar()
110 void RenderScrollbar::setHoveredPart(ScrollbarPart part) in setHoveredPart() argument
112 if (part == m_hoveredPart) in setHoveredPart()
116 m_hoveredPart = part; in setHoveredPart()
125 void RenderScrollbar::setPressedPart(ScrollbarPart part) in setPressedPart() argument
128 Scrollbar::setPressedPart(part); in setPressedPart()
131 updateScrollbarPart(part); in setPressedPart()
[all …]
DRenderMediaControls.cpp47 #define wkHitTestMediaUIPart(part, themeStyle, bounds, point) WKHitTestMediaUIPart(part, themeStyle… argument
48 #define wkMeasureMediaUIPart(part, themeStyle, bounds, naturalSize) WKMeasureMediaUIPart(part, them… argument
49 #define wkDrawMediaUIPart(part, themeStyle, context, rect, state) WKDrawMediaUIPart(part, themeStyl… argument
93 ControlPart part = o->style()->appearance(); in adjustMediaSliderThumbSize() local
95 if (part != MediaSliderThumbPart && part != MediaVolumeSliderThumbPart) in adjustMediaSliderThumbSize()
99 …wkMeasureMediaUIPart(part == MediaSliderThumbPart ? MediaSliderThumb : MediaVolumeSliderThumb, WKM… in adjustMediaSliderThumbSize()
106 bool RenderMediaControls::paintMediaControlsPart(MediaControlElementType part, RenderObject* o, con… in paintMediaControlsPart() argument
110 switch (part) { in paintMediaControlsPart()
/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/chromium/chrome/browser/net/
Durl_fixer_upper.cc222 const url_parse::Component& part, in FixupUsername() argument
224 if (!part.is_valid()) in FixupUsername()
228 url->append(text, part.begin, part.len); in FixupUsername()
234 const url_parse::Component& part, in FixupPassword() argument
236 if (!part.is_valid()) in FixupPassword()
241 url->append(text, part.begin, part.len); in FixupPassword()
245 const url_parse::Component& part, in FixupHost() argument
249 if (!part.is_valid()) in FixupHost()
256 std::string domain(text, part.begin, part.len); in FixupHost()
274 const url_parse::Component& part, in FixupPort() argument
[all …]
/external/webkit/Source/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/webkit/Source/WebKit/chromium/public/win/
DWebThemeEngine.h52 WebCanvas*, int part, int state, int classicState,
56 WebCanvas*, int part, int state, int classicState,
64 WebCanvas*, int part, int state, int classicState,
68 WebCanvas*, int part, int state, int classicState,
72 WebCanvas*, int part, int state, int classicState, in paintSpinButton() argument
76 WebCanvas*, int part, int state, int classicState,
80 WebCanvas*, int part, int state, int classicState,
/external/chromium/webkit/glue/
Dwebthemeengine_impl_win.h16 WebKit::WebCanvas*, int part, int state, int classic_state,
19 WebKit::WebCanvas*, int part, int state, int classic_state,
25 WebKit::WebCanvas*, int part, int state, int classic_state,
28 WebKit::WebCanvas*, int part, int state, int classic_state,
31 WebKit::WebCanvas*, int part, int state, int classic_state,
34 WebKit::WebCanvas*, int part, int state, int classic_state,
38 WebKit::WebCanvas*, int part, int state, int classic_state,
Dwebthemeengine_impl_win.cc31 int part, in WebButtonStateToGfx() argument
36 if (part == BP_PUSHBUTTON) { in WebButtonStateToGfx()
77 } else if (part == BP_RADIOBUTTON) { in WebButtonStateToGfx()
131 } else if (part == BP_CHECKBOX) { in WebButtonStateToGfx()
257 } else if (part == BP_GROUPBOX) { in WebButtonStateToGfx()
275 } else if (part == BP_COMMANDLINK) { in WebButtonStateToGfx()
317 } else if (part == BP_COMMANDLINKGLYPH) { in WebButtonStateToGfx()
358 WebCanvas* canvas, int part, int state, int classic_state, in paintButton() argument
361 switch(part) { in paintButton()
375 gfx::NativeTheme::State native_state = WebButtonStateToGfx(part, state, in paintButton()
[all …]
/external/webkit/Tools/DumpRenderTree/chromium/
DWebThemeEngineDRTWin.h60 WebKit::WebCanvas*, int part, int state, int classicState,
64 WebKit::WebCanvas*, int part, int state, int classicState,
72 WebKit::WebCanvas*, int part, int state, int classicState,
76 WebKit::WebCanvas*, int part, int state, int classicState,
80 WebKit::WebCanvas*, int part, int state, int classicState,
84 WebKit::WebCanvas*, int part, int state, int classicState,
89 WebKit::WebCanvas*, int part, int state, int classicState,
/external/webkit/Source/WebCore/platform/gtk/
DScrollbarThemeGtk2.cpp130 …aintButton(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect, ScrollbarPart part) in paintButton() argument
135 bool pressed = (part == scrollbar->pressedPart()); in paintButton()
137 if ((BackButtonStartPart == part && scrollbar->currentPos()) in paintButton()
138 || (BackButtonEndPart == part && scrollbar->currentPos()) in paintButton()
139 || (ForwardButtonEndPart == part && scrollbar->currentPos() != scrollbar->maximum()) in paintButton()
140 || (ForwardButtonStartPart == part && scrollbar->currentPos() != scrollbar->maximum())) { in paintButton()
145 } else if (part == scrollbar->hoveredPart()) in paintButton()
156 if (ForwardButtonStartPart == part) in paintButton()
158 else if (BackButtonEndPart == part) in paintButton()
160 else if (ForwardButtonEndPart == part) in paintButton()
[all …]
DScrollbarThemeGtk3.cpp120 …aintButton(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect, ScrollbarPart part) in paintButton() argument
127 if ((BackButtonStartPart == part && scrollbar->currentPos()) in paintButton()
128 || (BackButtonEndPart == part && scrollbar->currentPos()) in paintButton()
129 || (ForwardButtonEndPart == part && scrollbar->currentPos() != scrollbar->maximum()) in paintButton()
130 || (ForwardButtonStartPart == part && scrollbar->currentPos() != scrollbar->maximum())) { in paintButton()
131 if (part == scrollbar->pressedPart()) in paintButton()
133 if (part == scrollbar->hoveredPart()) in paintButton()
161 angle = (part == ForwardButtonEndPart || part == ForwardButtonStartPart) ? G_PI : 0; in paintButton()
163 …angle = (part == ForwardButtonEndPart || part == ForwardButtonStartPart) ? G_PI / 2 : 3 * (G_PI / … in paintButton()
/external/guava/guava-tests/test/com/google/common/net/
DHttpHeadersTest.java62 for (String part : SPLITTER.split(constantName)) { in upperToHttpHeaderName()
63 if (!UPPERCASE_ACRONYMS.contains(part)) { in upperToHttpHeaderName()
64 part = part.charAt(0) + Ascii.toLowerCase(part.substring(1)); in upperToHttpHeaderName()
66 parts.add(part); in upperToHttpHeaderName()
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java244 String part = parts.get(i); in validateSyntax() local
245 if (!validatePart(part, false)) { in validateSyntax()
266 private static boolean validatePart(String part, boolean isFinalPart) { in validatePart() argument
271 if (part.length() < 1 || part.length() > MAX_DOMAIN_PART_LENGTH) { in validatePart()
285 String asciiChars = CharMatcher.ASCII.retainFrom(part); in validatePart()
293 if (DASH_MATCHER.matches(part.charAt(0)) in validatePart()
294 || DASH_MATCHER.matches(part.charAt(part.length() - 1))) { in validatePart()
306 if (isFinalPart && CharMatcher.DIGIT.matches(part.charAt(0))) { in validatePart()
/external/webkit/Source/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()

12345678910>>...48