Searched refs:code (Results 176 - 200 of 474) sorted by path

1234567891011>>

/haiku/src/kits/media/
H A DMediaTrack.cpp634 BMediaTrack::AddTrackInfo(uint32 code, const void* data, size_t size, argument
640 return fWriter->AddTrackInfo(fStream, code, data, size, flags);
H A DMediaWriter.cpp210 MediaWriter::AddTrackInfo(int32 streamIndex, uint32 code, argument
220 return fWriter->AddTrackInfo(info->cookie, code, data, size, flags);
H A DParameterWeb.cpp556 BParameterWeb::AllowsTypeCode(type_code code) const
558 return code == TypeCode();
563 BParameterWeb::Unflatten(type_code code, const void* buffer, ssize_t size) argument
567 if (!AllowsTypeCode(code)) {
568 ERROR("BParameterWeb::Unflatten(): wrong type code\n");
1013 BParameterGroup::AllowsTypeCode(type_code code) const
1015 return code == TypeCode();
1020 BParameterGroup::Unflatten(type_code code, const void* buffer, ssize_t size) argument
1024 if (!AllowsTypeCode(code)) {
1025 ERROR("BParameterGroup::Unflatten() wrong type code\
1617 Unflatten(type_code code, const void* buffer, ssize_t size) argument
1919 Unflatten(type_code code, const void* buffer, ssize_t size) argument
2167 Unflatten(type_code code, const void* buffer, ssize_t size) argument
2308 Unflatten(type_code code, const void* buffer, ssize_t size) argument
2388 Unflatten(type_code code, const void* buffer, ssize_t size) argument
[all...]
H A DReaderPlugin.cpp70 Reader::Perform(perform_code code, void* _data) argument
H A DSound.cpp259 BSound::Perform(int32 code, ...) argument
H A DTimeCode.cpp10 status_t us_to_timecode(bigtime_t micros, int * hours, int * minutes, int * seconds, int * frames, const timecode_info * code) argument
16 if (code) {
18 switch (code->type) {
27 l_frames = (((micros % 1000000) * code->fps_div) / 1000000) + (micros / 1000000 * code->fps_div);
35 return frames_to_timecode(l_frames, hours, minutes, seconds, frames, code);
38 status_t timecode_to_us(int hours, int minutes, int seconds, int frames, bigtime_t * micros, const timecode_info * code) argument
44 if (timecode_to_frames(hours, minutes, seconds, frames, &l_frames, code) == B_OK) {
46 if (code) {
48 switch (code
70 frames_to_timecode(int32 l_frames, int * hours, int * minutes, int * seconds, int * frames, const timecode_info * code) argument
142 timecode_to_frames(int hours, int minutes, int seconds, int frames, int32 * l_frames, const timecode_info * code) argument
[all...]
H A DWriterPlugin.cpp40 Writer::Perform(perform_code code, void* data) argument
/haiku/src/kits/storage/mime/
H A DTextSnifferAddon.cpp78 * The following code has been taken from version 4.17 of the BSD file tool,
90 * 1. Redistributions of source code must retain the above copyright
154 const char *code = NULL; local
179 * Then try to determine whether it's any character code we can
185 code = "ASCII";
189 code = "UTF-8 Unicode";
194 code = "Little-endian UTF-16 Unicode";
196 code = "Big-endian UTF-16 Unicode";
201 code = "ISO-8859";
205 code
[all...]
/haiku/src/kits/support/
H A DFlattenable.cpp33 BFlattenable::AllowsTypeCode(type_code code) const
35 return (TypeCode() == code);
/haiku/src/libs/iconv/
H A Diconv.c628 const char* code; local
642 for (code = name;;) {
643 /* Search code in the table. */
644 for (cp = code, bp = buf, count = MAX_WORD_LENGTH+10+1; ; cp++, bp++) {
670 code = locale_charset();
673 if (code[0] == '\0')
686 code = locale_charset();
689 if (code[0] == '\0')
/haiku/src/preferences/appearance/
H A DSysCursorAPI.cpp41 int32 code; local
45 link.GetNextMessage(code);
47 if(code==SERVER_TRUE)
/haiku/src/preferences/keymap/
H A DKeyboardLayout.cpp344 KeyboardLayout::_AddAlternateKeyCode(Key* key, int32 modifier, int32 code) argument
356 TRACE(" add %ld (%g,%g)\n", key.code, key.frame.left, key.frame.top);
524 first = fKeys[fKeyCount - 1].code + 1;
537 _Error(state, "invalid key code specifier");
566 key.code = i;
H A DKeyboardLayout.h25 uint32 code; member in struct:Key
82 int32 code);
/haiku/src/preferences/locale/
H A DLanguageListView.cpp219 LanguageListView::ItemForLanguageCode(const char* code, int32* _index) const argument
225 if (item->Code() == code) {
H A DLanguageListView.h70 LanguageListItem* ItemForLanguageID(const char* code,
72 LanguageListItem* ItemForLanguageCode(const char* code,
/haiku/src/preferences/screen/
H A Dmultimon.cpp38 // retrieve value of setting "code"
40 GetSetting(BScreen *screen, uint16 code, uint32 *setting) argument
51 mode.h_display_start = code;
64 // set setting "code" to "value"
66 SetSetting(BScreen *screen, uint16 code, uint32 value) argument
77 mode.h_display_start = code;
85 // retrieve n-th supported value of setting "code"
87 GetNthSupportedSetting(BScreen *screen, uint16 code, int32 idx, argument
99 mode.h_display_start = code;
/haiku/src/preferences/virtualmemory/
H A DSettingsWindow.cpp87 int32 code; local
88 if (message->FindInt32("opcode", &code) == B_OK)
89 if (code == B_ENTRY_MOVED)
/haiku/src/servers/app/
H A DDelayedMessage.cpp113 typedef void(*FailureCallback)(int32 code, port_id port, void* data);
115 DelayedMessageData(int32 code, bigtime_t delay,
177 DelayedMessage::DelayedMessage(int32 code, bigtime_t delay, argument
180 fData(new(std::nothrow) DelayedMessageData(code, delay < DM_MINIMUM_DELAY
298 DelayedMessageData::DelayedMessageData(int32 code, bigtime_t delay, argument
301 fCode(code),
742 int32 code = -1; local
751 status = read_port_etc(fPort, &code, NULL, 0, B_RELATIVE_TIMEOUT,
765 switch (code) {
H A DDelayedMessage.h16 //! Method by which to merge DelayedMessages with the same code.
62 the same code can be merged according to various rules. Each message can
69 typedef void(*FailureCallback)(int32 code, port_id port, void* data);
71 DelayedMessage(int32 code, bigtime_t delay,
79 // Merge messages with the same code according to the following
H A DMessageLooper.h25 status_t PostMessage(int32 code,
41 virtual void _DispatchMessage(int32 code,
H A DTestServerLoopAdapter.cpp57 TestServerLoopAdapter::_DispatchMessage(int32 code, argument
60 switch (code) {
107 STRACE(("Server::MainLoop received unexpected code %" B_PRId32 " "
108 "(offset %" B_PRId32 ")\n", code, code - SERVER_TRUE));
H A DTestServerLoopAdapter.h37 virtual void _DispatchMessage(int32 code,
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteEventStream.cpp96 uint16 code = message.Code(); local
98 switch (code) {
131 switch (code) {
137 if (code != RP_MOUSE_MOVED)
144 if (code == RP_MOUSE_DOWN) {
150 if (code == RP_MOUSE_MOVED)
H A DRemoteMessage.h138 void Start(uint16 code);
142 status_t NextMessage(uint16& code);
229 RemoteMessage::Start(uint16 code) argument
234 Add(code);
/haiku/src/servers/bluetooth/
H A DBluetoothServer.cpp36 DispatchEvent(struct hci_event_header* header, int32 code, size_t size) argument
39 if (GET_PORTCODE_TYPE(code)!= BT_EVENT) {
40 TRACE_BT("BluetoothServer: Wrong type frame code\n");
46 LocateLocalDeviceImpl(GET_PORTCODE_HID(code));

Completed in 392 milliseconds

1234567891011>>