Searched refs:component (Results 1 - 25 of 37) 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/src/apps/haikudepot/tar/
H A DTarArchiveService.cpp83 BString component = components.StringAt(i); local
85 if (_ValidatePathComponent(component) != B_OK) {
86 fprintf(stdout, "malformed component; [%s]\n", component.String());
183 TarArchiveService::_ValidatePathComponent(const BString& component) argument
185 if (component.Length() == 0)
188 if (component == ".." || component == "." || component == "~")
H A DTarArchiveService.h26 const BString& 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 DPathBlacklist.cpp52 BlacklistedPath::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.h32 virtual void GetComponentColors(Component component,
60 void _GetComponentColors(Component component,
/haiku/src/apps/mail/
H A DEnclosures.cpp134 BMailComponent *component = mail->GetComponent(i); local
135 if (component == body)
138 if (component->ComponentType() == B_MAIL_MULTIPART_CONTAINER) {
140 dynamic_cast<BMIMEMultipartMailContainer *>(component), body);
143 us->fList->AddItem(new TListItem(component));
384 BMailComponent *component = mail->GetComponent(i); local
385 if (component == mail->Body())
388 if (component->ComponentType() == B_MAIL_MULTIPART_CONTAINER)
389 recursive_attachment_search(this,dynamic_cast<BMIMEMultipartMailContainer *>(component),mail->Body());
391 fList->AddItem(new TListItem(component));
484 TListItem(BMailComponent *component) argument
[all...]
H A DEnclosures.h101 TListItem(BMailComponent* component);
/haiku/headers/private/kernel/boot/
H A DPathBlacklist.h21 bool Append(const char* 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/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...]
H A DDirectory.cpp559 // That's the strategy: We start with the first component of the supplied
566 char* component; local
569 // get the next path component
571 component, nextComponent);
576 if (dirPath.InitCheck() == B_NO_INIT) // first component
577 error = dirPath.SetTo(component);
579 error = dirPath.Append(component);
580 delete[] component;
/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.h43 //! Parses the first component of a path name.
47 //! Parses the first component of a path name.
48 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);

Completed in 296 milliseconds

12