Searched refs:code (Results 1 - 25 of 452) 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/kits/support/
H A DFlattenable.cpp33 BFlattenable::AllowsTypeCode(type_code code) const
35 return (TypeCode() == code);
/haiku/src/servers/app/
H A DProfileMessageSupport.h15 void string_for_message_code(uint32 code, BString& string);
/haiku/src/libs/libunwind/ia64/
H A Dunwind_decoder.h51 * UNW_DEC_BAD_CODE(code)
107 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) argument
124 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) argument
142 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) argument
162 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) argument
183 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg) argument
185 int body = (code & 0x20) != 0;
188 rlen = (code & 0x1f);
194 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg) argument
201 mask = ((code
209 unw_decode_r3(unsigned char *dp, unsigned char code, void *arg) argument
219 unw_decode_p1(unsigned char *dp, unsigned char code, void *arg) argument
228 unw_decode_p2_p5(unsigned char *dp, unsigned char code, void *arg) argument
277 unw_decode_p6(unsigned char *dp, unsigned char code, void *arg) argument
290 unw_decode_p7_p10(unsigned char *dp, unsigned char code, void *arg) argument
389 unw_decode_b1(unsigned char *dp, unsigned char code, void *arg) argument
401 unw_decode_b2(unsigned char *dp, unsigned char code, void *arg) argument
411 unw_decode_b3_x4(unsigned char *dp, unsigned char code, void *arg) argument
449 unsigned char code, primary; local
[all...]
/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));
H A Dport_wakeup_test_9.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;
84 return HashKey(value->code);
89 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: %lu, tag: %lu, children: %d\n", code, tag,
117 if (fEntryTable.Lookup(code) == NULL) {
119 AbbreviationTableEntry(code, fSize - remaining,
127 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/preferences/keymap/
H A DKeyboardLayoutView.cpp217 if (!is_mappable_to_modifier(key->code)) {
224 message->AddUInt32("keyCode", key->code);
236 bool isLockKey = is_lock_key(key->code);
239 if (is_left_modifier_key(key->code) || isLockKey) {
242 map.left_shift_key, key->code);
244 if (key->code == map.left_shift_key)
249 map.left_control_key, key->code);
251 if (key->code == map.left_control_key)
256 map.left_option_key, key->code);
258 if (key->code
934 _SpecialKeyLabel(const key_map& map, uint32 code, bool abbreviated) argument
1037 _FunctionKeyLabel(uint32 code, char* text, size_t textSize) argument
1125 _IsKeyPressed(uint32 code) argument
1145 _SetKeyState(uint32 code, bool pressed) argument
1158 _KeyForCode(uint32 code) argument
1173 _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 266 milliseconds

1234567891011>>