Searched refs:component (Results 1 - 25 of 38) sorted by relevance

12

/haiku/src/libs/glut/
H A DglutColor.cpp25 GLfloat glutGetColor(int cell, int component) { argument
/haiku/src/apps/soundrecorder/
H A DDrawingTidbits.h19 ShiftComponent(uchar component, float percent) argument
24 return (uchar)(component * (2 - percent));
26 return (uchar)(255 - percent * (255 - component));
/haiku/src/servers/app/stackandtile/
H A DSATDecorator.cpp70 SATDecorator::GetComponentColors(Component component, uint8 highlight, argument
76 DefaultDecorator::GetComponentColors(component, highlight, _colors, tab);
83 && (component == COMPONENT_TAB || component == COMPONENT_CLOSE_BUTTON
84 || component == COMPONENT_ZOOM_BUTTON)) {
88 switch (component) {
H A DSATDecorator.h33 virtual void GetComponentColors(Component component,
/haiku/headers/os/mail/
H A DMailContainer.h20 virtual status_t AddComponent(BMailComponent *component) = 0;
21 virtual status_t RemoveComponent(BMailComponent *component) = 0;
47 virtual status_t AddComponent(BMailComponent *component);
48 virtual status_t RemoveComponent(BMailComponent *component);
H A DMailMessage.h93 virtual status_t AddComponent(BMailComponent *component);
94 virtual status_t RemoveComponent(BMailComponent *component);
122 BTextMailComponent* _RetrieveTextBody(BMailComponent* component);
/haiku/src/kits/debugger/model/
H A DTypeComponentPath.cpp140 TypeComponent* component = fComponents.ItemAt(index); local
141 return component != NULL ? *component : TypeComponent();
146 TypeComponentPath::AddComponent(const TypeComponent& component) argument
148 TypeComponent* myComponent = new(std::nothrow) TypeComponent(component);
223 TypeComponent* component = other.fComponents.ItemAt(i); i++) {
224 if (!AddComponent(*component))
/haiku/src/tools/fs_shell/
H A DKPath.cpp206 KPath::Append(const char *component, bool isComponent) argument
211 if (!component)
214 return SetPath(component);
216 // get component length
217 fssh_size_t componentLength = fssh_strlen(component);
224 && component[0] != '/';
232 fssh_memcpy(fBuffer + fPathLength, component, componentLength + 1);
/haiku/src/kits/mail/
H A DMailContainer.cpp105 status_t BMIMEMultipartMailContainer::AddComponent(BMailComponent *component) { argument
106 if (!_components_in_code.AddItem(component))
111 _components_in_code.RemoveItem(component);
120 if (BMailComponent *component = (BMailComponent *)_components_in_code.ItemAt(index))
121 return component; //--- Handle easy case
129 BMailComponent component (_charSetForTextDecoding);
130 if (component.SetToRFC822(_io_data,part->end - part->start) < B_OK)
133 BMailComponent *piece = component.WhatIsThis();
163 BMIMEMultipartMailContainer::RemoveComponent(BMailComponent *component) argument
165 if (component
[all...]
H A DMailMessage.cpp204 BMailComponent* component = GetComponent(i); local
205 if (component == fTextBody || component == NULL)
214 component->RenderToRFC822(&io);
215 BMailComponent* clone = component->WhatIsThis();
484 BEmailMessage::AddComponent(BMailComponent* component) argument
489 fBody = component;
496 status = container->AddComponent(component);
504 status = container->AddComponent(component);
514 BEmailMessage::RemoveComponent(BMailComponent* /*component*/)
632 _RetrieveTextBody(BMailComponent* component) argument
[all...]
/haiku/src/system/boot/loader/
H A DPathBlocklist.cpp52 BlockedPath::Append(const char* component) argument
54 size_t componentLength = strlen(component);
55 if (componentLength > 0 && component[componentLength - 1] == '/')
67 memcpy(fPath + oldLength, component, componentLength);
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.h34 virtual void GetComponentColors(Component component,
64 void _GetComponentColors(Component component,
/haiku/src/apps/mail/
H A DEnclosures.cpp85 BMailComponent *component = mail->GetComponent(i); local
86 if (component == body)
89 if (component->ComponentType() == B_MAIL_MULTIPART_CONTAINER) {
91 dynamic_cast<BMIMEMultipartMailContainer *>(component), body);
94 us->fList->AddItem(new TListItem(component));
301 BMailComponent *component = mail->GetComponent(i); local
302 if (component == mail->Body())
305 if (component->ComponentType() == B_MAIL_MULTIPART_CONTAINER) {
307 dynamic_cast<BMIMEMultipartMailContainer *>(component),
311 fList->AddItem(new TListItem(component));
412 TListItem(BMailComponent *component) argument
[all...]
H A DEnclosures.h92 TListItem(BMailComponent* component);
/haiku/src/servers/package/
H A DFSUtils.h130 Path& AppendComponent(const char* component) argument
133 fPath = component;
134 if (fPath.IsEmpty() && component[0] != '\0')
144 fPath += component;
/haiku/src/apps/haikudepot/tar/
H A DTarArchiveService.h33 const BString& component);
/haiku/headers/private/kernel/boot/
H A DPathBlocklist.h21 bool Append(const char* component);
/haiku/src/add-ons/decorators/FlatDecorator/
H A DFlatDecorator.h41 virtual void GetComponentColors(Component component,
69 void _GetComponentColors(Component component,
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A DKPath.cpp311 KPath::Append(const char* component, bool isComponent) argument
316 if (component == NULL)
319 return SetPath(component);
321 // get component length
322 size_t componentLength = strlen(component);
329 && component[0] != '/';
338 memcpy(fBuffer + fPathLength, component, componentLength + 1);
/haiku/src/kits/storage/
H A Dstorage_support.cpp42 will happen, if the supplied path consists only of one component.
78 // fullPath contains only one component
98 will happen, if the supplied path consists only of one component.
285 /*! The length of the first component is returned as well as the index at
289 \param length the variable the length of the first component is written
291 \param nextComponent the variable the index of the next component is
292 written into. \c 0 is returned, if there is no next component.
318 /*! A string containing the first component is returned and the index, at
322 \param component the variable the pointer to the newly allocated string
323 containing the first path component i
330 parse_first_path_component(const char *path, char *&component, int32& nextComponent) argument
[all...]
/haiku/src/system/kernel/fs/
H A DKPath.cpp324 KPath::Append(const char* component, bool isComponent) argument
329 if (component == NULL)
332 return SetPath(component);
334 // get component length
335 size_t componentLength = strlen(component);
342 && component[0] != '/';
351 memcpy(fBuffer + fPathLength, component, componentLength + 1);
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.h39 virtual void GetComponentColors(Component component,
73 void _GetComponentColors(Component component,
/haiku/headers/private/storage/
H A Dstorage_support.h46 //! Parses the first component of a path name.
50 //! Parses the first component of a path name.
51 status_t parse_first_path_component(const char *path, char *&component,
/haiku/src/kits/shared/
H A DColorQuantizer.cpp35 clip(float component) argument
37 if (component > 255.0)
40 return (uint8)(component + 0.5f);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DVolume.cpp465 // get the name of the first component
469 char component[B_FILE_NAME_LENGTH]; local
470 strncpy(component, path, componentLen);
471 component[componentLen] = '\0';
472 // get the component
473 PRINT((" looking for dir entry: `%s'\n", component));
474 error = FindDirEntry(foundNode, component, foundNode);

Completed in 319 milliseconds

12