Searched refs:code (Results 1 - 25 of 477) sorted by relevance

1234567891011>>

/haiku/headers/private/bluetooth/
H A DCodeHandler.h25 static hci_id Device(uint32 code) argument
27 return ((code & 0xFF000000) >> 24);
31 static void SetDevice(uint32* code, hci_id device) argument
33 *code = *code | ((device & 0xFF) << 24);
37 static uint16 Handler(uint32 code) argument
39 return ((code & 0xFFFF) >> 0);
43 static void SetHandler(uint32* code, uint16 handler) argument
45 *code = *code | ((handle
49 Protocol(uint32 code) argument
55 SetProtocol(uint32* code, bt_packet_t protocol) argument
[all...]
/haiku/src/servers/app/
H A DProfileMessageSupport.h15 const char* string_for_message_code(uint32 code);
/haiku/src/kits/support/
H A DFlattenable.cpp33 BFlattenable::AllowsTypeCode(type_code code) const
35 return (TypeCode() == code);
/haiku/src/bin/unzip/
H A Dunshrink.c14 NOTE: This code may or may not infringe on the so-called "Welch
19 whatever license(s) may be required for legal use of this code.
25 Shrinking is basically a dynamic LZW algorithm with allowed code sizes of
27 leaf nodes. PKWARE uses the special code 256 (decimal) to indicate a
28 change in code size or a partial clear of the code tree: 256,1 for the
40 IEEE _Computer_; no existing source code, including any in Nelson's book,
44 than the original Sam Smith code. This is still larger than any of the
88 #define FREE_CODE HSIZE /* 0x2000 (code is unused or was cleared) */
89 #define HAS_CHILD (HSIZE << 1) /* 0x4000 (code ha
107 shrint code, oldcode, freecode, curcode; local
289 register shrint code; local
[all...]
/haiku/src/tests/system/kernel/
H A Dport_close_test_2.cpp17 int32 code; local
43 size = read_port(id, &code, data, sizeof(data));
44 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
51 size = read_port(id, &code, data, sizeof(data));
52 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
57 size = read_port(id, &code, data, sizeof(data));
58 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, siz
[all...]
H A Dport_wakeup_test_2.cpp23 int32 code; local
27 size = read_port(id, &code, data, sizeof(data));
28 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
39 int32 code; local
47 size = read_port(id, &code, data, sizeof(data));
48 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
H A Dport_wakeup_test_6.cpp23 int32 code; local
26 size = read_port(id, &code, data, sizeof(data));
27 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
38 int32 code; local
46 size = read_port(id, &code, data, sizeof(data));
47 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
H A Dport_wakeup_test_7.cpp23 int32 code; local
26 size = read_port(id, &code, data, sizeof(data));
27 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
38 int32 code; local
46 size = read_port(id, &code, data, sizeof(data));
47 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
H A Dport_close_test_1.cpp17 int32 code; local
43 size = read_port(id, &code, data, sizeof(data));
44 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
51 size = read_port(id, &code, data, sizeof(data));
52 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
H A Dport_delete_test.cpp17 int32 code; local
45 size = read_port(id, &code, data, sizeof(data));
46 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
H A Dport_wakeup_test_1.cpp37 int32 code; local
53 size = read_port(id, &code, data, sizeof(data));
54 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
H A Dport_wakeup_test_3.cpp38 int32 code; local
46 size = read_port(id, &code, data, sizeof(data));
47 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
H A Dport_wakeup_test_8.cpp37 int32 code; local
45 size = read_port(id, &code, data, sizeof(data));
46 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
/haiku/src/kits/media/
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...]
/haiku/src/kits/app/
H A Dlink_message.h23 uint32 code; member in struct:message_header
/haiku/src/kits/interface/
H A DWindowStack.cpp70 int32 code = B_ERROR; local
71 if (fLink->FlushWithReply(code) != B_OK)
72 return code;
105 int32 code = B_ERROR; local
106 if (fLink->FlushWithReply(code) != B_OK)
107 return code;
121 int32 code = B_ERROR; local
122 fLink->FlushWithReply(code);
123 if (code != B_OK)
140 int32 code local
163 int32 code = B_ERROR; local
[all...]
/haiku/src/kits/debugger/dwarf/
H A DAbbreviationTable.h16 uint32 code; member in struct:AbbreviationTableEntry
21 AbbreviationTableEntry(uint32 code, off_t offset, off_t size) argument
23 code(code),
36 AbbreviationEntry(uint32 code, const void* data, off_t size) argument
38 SetTo(code, data, size);
41 void SetTo(uint32 code, const void* data, off_t size) argument
43 fCode = code;
86 return HashKey(value->code);
91 return value->code
[all...]
H A DAbbreviationTable.cpp67 AbbreviationTable::GetAbbreviationEntry(uint32 code, AbbreviationEntry& entry) argument
69 AbbreviationTableEntry* tableEntry = fEntryTable.Lookup(code);
73 entry.SetTo(code, fData + tableEntry->offset, tableEntry->size);
82 uint32 code = abbrevReader.ReadUnsignedLEB128(0); local
83 if (code == 0) {
97 // printf("entry: %" B_PRIu32 ", tag: %" B_PRIu32 ", children: %d\n", code, tag,
120 if (fEntryTable.Lookup(code) == NULL) {
122 AbbreviationTableEntry(code, fSize - remaining,
130 code);
/haiku/headers/os/support/
H A DFlattenable.h18 virtual bool AllowsTypeCode(type_code code) const;
19 virtual status_t Unflatten(type_code code, const void* buffer,
/haiku/src/system/libroot/os/arch/arm64/
H A Dsyscalls.inc5 #define _AARCH64_SYSCALL_ENCODE(name, code, nparams) \
10 svc #(((code) << 5) | (nparams)); \
/haiku/src/bin/debug/strace/
H A Dsignals.cpp65 signal_code(int signal, int code) argument
68 switch (code) {
78 switch (code) {
90 switch (code) {
102 switch (code) {
108 switch (code) {
115 switch (code) {
121 switch (code) {
131 switch (code) {
144 sprintf(buffer, "%d", code);
[all...]
/haiku/src/preferences/keymap/
H A DKeyboardLayoutView.cpp215 if (fEditable && !is_mappable_to_modifier(key->code)) {
222 message->AddUInt32("keyCode", key->code);
234 bool isLockKey = is_lock_key(key->code);
237 if (is_left_modifier_key(key->code) || isLockKey) {
240 map.left_shift_key, key->code);
242 if (key->code == map.left_shift_key)
247 map.left_control_key, key->code);
249 if (key->code == map.left_control_key)
254 map.left_option_key, key->code);
256 if (key->code
873 _SpecialKeyLabel(const key_map& map, uint32 code, bool abbreviated) argument
976 _FunctionKeyLabel(uint32 code, char* text, size_t textSize) argument
1064 _IsKeyPressed(uint32 code) argument
1084 _SetKeyState(uint32 code, bool pressed) argument
1097 _KeyForCode(uint32 code) argument
1112 _InvalidateKey(uint32 code) argument
[all...]
/haiku/src/apps/resedit/
H A DResourceData.cpp25 ResourceData::ResourceData(const type_code &code, const int32 &id, argument
28 : fType(code),
37 fTypeString = MakeTypeString(code);
121 ResourceData::SetTo(const type_code &code, const int32 &id, argument
124 fType = code;
125 fTypeString = MakeTypeString(code);
136 ResourceData::SetType(const type_code &code) argument
138 fType = code;
139 fTypeString = MakeTypeString(code);
/haiku/src/preferences/appearance/
H A DSysCursorAPI.cpp41 int32 code; local
45 link.GetNextMessage(code);
47 if(code==SERVER_TRUE)
/haiku/src/servers/net/
H A DPPPServer.cpp67 int32 type, code;
69 message->FindInt32("code", &code);
71 if (type == PPP_MANAGER_REPORT && code == PPP_REPORT_INTERFACE_CREATED)

Completed in 372 milliseconds

1234567891011>>