Searched refs:alternate (Results 1 - 15 of 15) sorted by relevance

/haiku/src/tools/cppunit/
H A DBTestCase.cpp59 /* If SaveCWD() has not been called and an alternate
60 directory is specified by alternate, the current working directory is
61 changed to alternate. If alternate is null, the current working directory
66 BTestCase::RestoreCWD(const char *alternate) { argument
69 else if (alternate != NULL)
70 chdir(alternate);
/haiku/src/kits/device/
H A DUSBInterface.cpp19 uint32 alternate, int rawFD)
22 fAlternate(alternate),
169 command.alternate.config_index = fConfiguration->Index();
170 command.alternate.interface_index = fIndex;
172 sizeof(command)) || command.alternate.status != B_USB_RAW_STATUS_SUCCESS)
175 return command.alternate.alternate_info;
211 command.alternate.config_index = fConfiguration->Index();
212 command.alternate.interface_index = fIndex;
214 sizeof(command)) || command.alternate.status != B_USB_RAW_STATUS_SUCCESS)
217 return command.alternate
18 BUSBInterface(BUSBConfiguration *config, uint32 index, uint32 alternate, int rawFD) argument
[all...]
/haiku/headers/tools/cppunit/
H A DTestCase.h31 void RestoreCWD(const char *alternate = NULL);
H A DThreadedTestCase.h35 void RestoreCWD(const char *alternate = NULL);
/haiku/src/add-ons/print/transports/usb_port/
H A DUSBTransport.cpp119 const BUSBInterface *alternate = interface->AlternateAt(alt); local
120 if (alternate->Class() == PRINTER_INTERFACE_CLASS
121 && alternate->Subclass() == PRINTER_INTERFACE_SUBCLASS
122 && (alternate->Protocol() == PIT_UNIDIRECTIONAL
123 || alternate->Protocol() == PIT_BIDIRECTIONAL
124 || alternate->Protocol() == PIT_1284_4_COMPATIBLE)) {
127 endpointIdx < alternate->CountEndpoints();
130 alternate->EndpointAt(endpointIdx);
142 printer = alternate;
/haiku/src/add-ons/kernel/drivers/bus/usb/
H A Dusb_raw.cpp364 if (length < sizeof(command.alternate))
370 command.alternate.config_index,
371 &command.alternate.status);
375 if (command.alternate.interface_index
377 command.alternate.status = B_USB_RAW_STATUS_INVALID_INTERFACE;
383 command.alternate.interface_index];
385 command.alternate.alternate_info = interfaceList->alt_count;
389 command.alternate.alternate_info = i;
395 command.alternate.status = B_USB_RAW_STATUS_SUCCESS;
682 if (length < sizeof(command.alternate))
[all...]
H A Dusb_raw.h90 } alternate; member in union:__anon543
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DStream.cpp51 // lookup alternate with maximal (ch * 100 + resolution)
55 TRACE(INF, "Ignore alternate %d - zero interface description.\n", i);
60 TRACE(INF, "Ignore alternate %d - zero format description.\n", i);
66 TRACE(ERR, "Ignore alternate %d - format type %#02x "
79 TRACE(ERR, "Ignore alternate %d - format %#04x is not "
88 TRACE(ERR, "Ignore alternate %d - channel count %d "
96 TRACE(ERR, "Ignore alternate %d - bit resolution %d "
112 TRACE(ERR, "No compatible alternate found. "
419 AudioStreamAlternate* alternate = fAlternates[fActiveAlternate]; local
420 if (format->rate == alternate
[all...]
H A DAudioStreamingInterface.h105 AudioStreamAlternate(size_t alternate,
H A DAudioStreamingInterface.cpp211 AudioStreamAlternate::AudioStreamAlternate(size_t alternate, argument
215 fAlternate(alternate),
239 TRACE(ERR, "Format not set for active alternate\n");
301 TRACE(ERR, "Format not set for active alternate\n");
331 TRACE(ERR, "Ignore alternate due format "
354 "bit resolution %d for alternate.\n",
361 "format bit resolution %d for alternate.\n",
/haiku/src/bin/listusb/
H A Dlistusb.cpp152 const BUSBInterface* alternate = interface->AlternateAt(j); local
155 DumpInterface(alternate);
/haiku/headers/os/device/
H A DUSBKit.h219 // parent configuration and represents the alternate interface returned
253 // Using CountAlternates() you can retrieve the number of alternate
255 // counts as an alternate so an alternate count of one really means
257 // AlternateAt() returns the interface descriptor of the alternate
259 // attributes of that alternate (including endpoints) without having to
260 // switch to this alternate interface.
263 // alternate later on, you cannot use an interface returned by
264 // AlternateAt(). Instead switch to that alternate using the interface
268 // alternate interfac
[all...]
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/
H A DUVCCamDevice.cpp711 const BUSBInterface* alternate = streaming->AlternateAt(i); local
712 for (uint32 j = 0; j < alternate->CountEndpoints(); j++) {
713 const BUSBEndpoint* endpoint = alternate->EndpointAt(j);
729 " couldn't find a valid alternate\n");
736 " selecting alternate failed\n");
756 " selecting alternate failed\n");
/haiku/src/kits/tracker/
H A DIconCache.h169 IconDrawMode &alternate, BSize size);
H A DIconCache.cpp291 IconDrawMode &alternate, BSize)
295 alternate = kNormalIcon;
290 AlternateModeForIconConstructing(IconDrawMode requestedMode, IconDrawMode &alternate, BSize) argument

Completed in 156 milliseconds