Searched refs:data (Results 1 - 25 of 2156) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Ddtt7592.c38 dtt7592_write(i2c_bus *bus, const uint8 data[4]) argument
41 TRACE("dtt7592_write values 0x%02x 0x%02x 0x%02x 0x%02x\n", data[0], data[1], data[2], data[3]);
42 res = i2c_write(bus, I2C_ADDR_PLL, data, 4);
44 TRACE("dtt7592_write error, values 0x%02x 0x%02x 0x%02x 0x%02x\n", data[0], data[1], data[2], data[
50 dtt7592_read(i2c_bus *bus, uint8 *data) argument
65 uint8 data[4]; local
[all...]
/haiku/headers/private/support/
H A DStringPrivate.h35 static int32& DataRefCount(char* data) argument
37 return *(((int32 *)data) - 2);
45 static int32& DataLength(char* data) argument
47 return *(((int32*)data) - 1);
55 static void IncrementDataRefCount(char* data) argument
57 if (data != NULL)
58 atomic_add(&DataRefCount(data), 1);
61 static void DecrementDataRefCount(char* data) argument
63 if (data != NULL) {
64 if (atomic_add(&DataRefCount(data),
69 StringFromData(char* data) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/etherpci/
H A Detherpci.c251 #define io_lock(data) acquire_sem(data->iolock)
252 #define io_unlock(data) release_sem_etc(data->iolock, 1, B_DO_NOT_RESCHEDULE)
257 #define output_wait(data, t) acquire_sem_etc(data->olock, 1, B_TIMEOUT, t)
258 #define output_unwait(data, c) release_sem_etc(data->olock, c, B_DO_NOT_RESCHEDULE)
263 #define input_wait(data) acquire_sem_etc(data
374 input_count(etherpci_private_t *data) argument
409 calc_constants(etherpci_private_t *data) argument
439 getisr(etherpci_private_t *data) argument
447 setisr(etherpci_private_t *data, unsigned char isr) argument
455 wait_for_dma_complete(etherpci_private_t *data, unsigned short addr, unsigned short size) argument
502 check_transmit_status(etherpci_private_t *data) argument
520 inrw(etherpci_private_t *data) argument
527 create_sems(etherpci_private_t *data) argument
552 etherpci_min(etherpci_private_t *data, unsigned char *dst, unsigned src, unsigned len) argument
584 etherpci_mout(etherpci_private_t *data, unsigned dst, const unsigned char *src, unsigned len) argument
657 ringzero(etherpci_private_t *data, unsigned boundary, unsigned next_boundary) argument
689 probe(etherpci_private_t *data) argument
773 init(etherpci_private_t *data) argument
839 ringcopy(etherpci_private_t *data, unsigned char *ether_buf, int offset, int len) argument
862 setboundary(etherpci_private_t *data, unsigned char nextboundary) argument
876 reset(etherpci_private_t *data) argument
899 finish_reset(etherpci_private_t *data, int resend) argument
915 etherpci_private_t *data = (etherpci_private_t *) _data; local
998 check_errors(etherpci_private_t *data) argument
1024 more_packets(etherpci_private_t *data, int didreset) argument
1062 copy_packet(etherpci_private_t *data, unsigned char *ether_buf, int buflen) argument
1161 my_packet(etherpci_private_t *data, char *addr) argument
1180 enable_addressing(etherpci_private_t *data) argument
1221 domulti(etherpci_private_t *data, char *addr) argument
1438 etherpci_private_t *data = (etherpci_private_t *) _data; local
1476 etherpci_private_t *data; local
1554 etherpci_private_t *data = (etherpci_private_t *)_data; local
1622 etherpci_private_t *data = (etherpci_private_t *)_data; local
1643 etherpci_private_t *data = (etherpci_private_t *) _data; local
1694 etherpci_private_t *data = (etherpci_private_t *) _data; local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DRequestDumper.cpp35 RequestDumper::Visit(RequestMember* member, bool& data) argument
37 PRINT("%sbool: %s\n", _Indentation(), (data ? "true" : "false"));
42 RequestDumper::Visit(RequestMember* member, int8& data) argument
44 PRINT("%sint8: %d\n", _Indentation(), (int)data);
49 RequestDumper::Visit(RequestMember* member, uint8& data) argument
51 PRINT("%suint8: %d\n", _Indentation(), (int)data);
56 RequestDumper::Visit(RequestMember* member, int16& data) argument
58 PRINT("%sint16: %d\n", _Indentation(), (int)data);
63 RequestDumper::Visit(RequestMember* member, uint16& data) argument
65 PRINT("%suint16: %d\n", _Indentation(), (int)data);
70 Visit(RequestMember* member, int32& data) argument
77 Visit(RequestMember* member, uint32& data) argument
84 Visit(RequestMember* member, int64& data) argument
91 Visit(RequestMember* member, uint64& data) argument
98 Visit(RequestMember* member, Data& data) argument
106 Visit(RequestMember* member, StringData& data) argument
[all...]
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Dsb16_multi_audio.c28 get_description(sb16_dev_t* dev, multi_description* data) argument
30 data->interface_version = B_CURRENT_INTERFACE_VERSION;
31 data->interface_minimum = B_CURRENT_INTERFACE_VERSION;
33 strcpy(data->friendly_name,"SoundBlaster 16");
34 strcpy(data->vendor_info,"Haiku");
36 data->output_channel_count = 2;
37 data->input_channel_count = 2;
38 data->output_bus_channel_count = 2;
39 data->input_bus_channel_count = 2;
40 data
66 get_enabled_channels(sb16_dev_t* dev, multi_channel_enable* data) argument
78 get_global_format(sb16_dev_t* dev, multi_format_info* data) argument
94 set_global_format(sb16_dev_t* dev, multi_format_info* data) argument
122 list_mix_controls(sb16_dev_t* dev, multi_mix_control_info * data) argument
135 list_mix_connections(sb16_dev_t* dev, multi_mix_connection_info * data) argument
141 list_mix_channels(sb16_dev_t* dev, multi_mix_channel_info *data) argument
147 get_buffers(sb16_dev_t* dev, multi_buffer_list* data) argument
225 buffer_exchange(sb16_dev_t* dev, multi_buffer_info* data) argument
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/ich/
H A Dac97_multi.c48 static status_t list_mix_controls(multi_mix_control_info *data);
49 static status_t list_mix_connections(multi_mix_connection_info *data);
50 static status_t list_mix_channels(multi_mix_channel_info *data);
51 static status_t get_description(multi_description *data);
52 static status_t get_enabled_channels(multi_channel_enable *data);
53 static status_t get_global_format(multi_format_info *data);
54 static status_t get_buffers(multi_buffer_list *data);
55 static status_t buffer_exchange(multi_buffer_info *data);
58 static status_t list_mix_controls(multi_mix_control_info * data) argument
63 static status_t list_mix_connections(multi_mix_connection_info * data) argument
69 list_mix_channels(multi_mix_channel_info *data) argument
85 get_description(multi_description *data) argument
186 get_enabled_channels(multi_channel_enable *data) argument
202 get_global_format(multi_format_info *data) argument
214 set_global_format(multi_format_info *data) argument
294 get_buffers(multi_buffer_list *data) argument
353 buffer_exchange(multi_buffer_info *data) argument
445 multi_control(void *cookie, uint32 op, void *data, size_t length) argument
[all...]
/haiku/src/kits/interface/
H A DShape.cpp42 shape_data* data = (shape_data*)shape->fPrivateData; local
43 BPoint* points = data->ptList;
45 for (int32 i = 0; i < data->opCount; i++) {
46 int32 op = data->opList[i] & 0xFF000000;
54 int32 count = data->opList[i] & 0x00FFFFFF;
60 int32 count = data->opList[i] & 0x00FFFFFF;
68 int32 count = data->opList[i] & 0x00FFFFFF;
152 shape_data* data = (shape_data*)fPrivateData; local
165 data->opList[data
185 shape_data* data = (shape_data*)fPrivateData; local
285 shape_data* data = (shape_data*)fPrivateData; local
309 shape_data* data = (shape_data*)fPrivateData; local
317 shape_data* data = (shape_data*)fPrivateData; local
329 shape_data* data = (shape_data*)fPrivateData; local
352 shape_data* data = (shape_data*)fPrivateData; local
521 Perform(perform_code code, void* data) argument
543 shape_data* data = (shape_data*)fPrivateData; local
581 shape_data* data = (shape_data*)fPrivateData; local
598 shape_data* data = (shape_data*)fPrivateData; local
617 shape_data* data = (shape_data*)fPrivateData; local
[all...]
/haiku/src/system/libroot/os/arch/x86_64/
H A Dtime.cpp14 __arch_init_time(real_time_data* data, bool setDefaults) argument
20 data->arch_data.system_time_offset = 0;
21 data->arch_data.system_time_conversion_factor = 100000;
27 conversionFactor = data->arch_data.system_time_conversion_factor;
39 __arch_get_system_time_offset(struct real_time_data *data) argument
42 return data->arch_data.system_time_offset;
/haiku/src/apps/haikudepot/textview/
H A DParagraphStyle.cpp60 ParagraphStyleDataRef data = fStyleData->SetAlignment(alignment); local
61 if (data == fStyleData)
62 return data->Alignment() == alignment;
64 fStyleData = data;
79 ParagraphStyleDataRef data = fStyleData->SetJustify(justify); local
80 if (data == fStyleData)
81 return data->Justify() == justify;
83 fStyleData = data;
98 ParagraphStyleDataRef data = fStyleData->SetFirstLineInset(inset); local
99 if (data
117 ParagraphStyleDataRef data = fStyleData->SetLineInset(inset); local
136 ParagraphStyleDataRef data = fStyleData->SetLineSpacing(spacing); local
155 ParagraphStyleDataRef data = fStyleData->SetSpacingTop(spacing); local
174 ParagraphStyleDataRef data = fStyleData->SetSpacingBottom(spacing); local
193 ParagraphStyleDataRef data = fStyleData->SetBullet(bullet); local
[all...]
/haiku/src/add-ons/media/plugins/raw_decoder/
H A DAudioConversion.cpp38 inline operator uint8() const { return data; }
39 inline operator int8() const { return (int32)data - 128; }
40 inline operator int16() const { return ((int32)data - 128) << 8; }
41 inline operator int32() const { return ((int32)data - 128) << 24; }
42 inline operator float() const { return ((int32)data - 128) * (1.0f / 127.0f); }
44 uint8 data; member in class:uint8_sample
50 inline operator uint8() const { return (int32)data + 128; }
51 inline operator int8() const { return data; }
52 inline operator int16() const { return (int16)data << 8; }
53 inline operator int32() const { return (int32)data << 2
56 int8 data; member in class:int8_sample
68 int16 data; member in class:int16_sample
88 uint8 data[3]; member in class:int24_sample
100 int32 data; member in class:int32_sample
112 float32 data; member in class:float32_sample
124 float64 data; member in class:float64_sample
199 swap_int16(void *data, int32 count) argument
205 swap_int24(void *data, int32 count) argument
220 swap_int32(void *data, int32 count) argument
226 swap_float32(void *data, int32 count) argument
232 swap_float64(void *data, int32 count) argument
[all...]
/haiku/src/tests/kits/app/bcursor/
H A DBCursorTester.cpp45 char data[68]; local
48 data[0] = 16;
49 data[1] = 1;
50 data[2] = 0;
51 data[3] = 0;
53 data[i] = 1;
55 BCursor cur(data);
68 char data[68]; local
69 data[0] = 32;
70 BCursor cur2(data);
140 char data[68]; local
162 char data[68]; local
[all...]
/haiku/src/system/kernel/arch/ppc/
H A Darch_real_time_clock.cpp17 arch_rtc_init(kernel_args *args, struct real_time_data *data) argument
20 status_t error = PPCPlatform::Default()->InitRTC(args, data);
25 data->arch_data.data[0].system_time_offset = 0;
29 data->arch_data.system_time_conversion_factor
32 data->arch_data.version = 0;
38 __ppc_setup_system_time(&data->arch_data.system_time_conversion_factor);
59 arch_rtc_set_system_time_offset(struct real_time_data *data, bigtime_t offset) argument
64 int32 version = data->arch_data.version + 1;
65 data
74 arch_rtc_get_system_time_offset(struct real_time_data *data) argument
[all...]
/haiku/src/apps/cortex/addons/common/
H A DIParameterSet.cpp46 // B_NO_MEMORY: too little data
50 const void* data,
55 return store(parameterID, data, size);
60 // B_NO_MEMORY: data buffer too small
64 void* data,
69 return retrieve(parameterID, data, ioSize);
47 setValue( int32 parameterID, bigtime_t performanceTime, const void* data, size_t size) argument
61 getValue( int32 parameterID, bigtime_t* lastChangeTime, void* data, size_t* ioSize) argument
/haiku/src/add-ons/screen_savers/icons/
H A DVectorIcon.h16 uint8* data; member in struct:vector_icon
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_ioctl.h34 extern int ath_ioctl(struct ieee80211com *ic, u_long cmd, void *data);
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DTransportStreamDemux.cpp103 pkt->data[0], pkt->data[1], pkt->data[2], pkt->data[3],
104 pkt->data[4], pkt->data[5], pkt->data[6], pkt->data[7],
105 pkt->data[8], pkt->data[
221 const uint8 *data = pkt->data + skip; local
332 const uint8 *data = pkt->data + skip; local
393 ProcessData(const void *data, int size, bigtime_t start_time, bigtime_t delta) argument
[all...]
/haiku/headers/os/net/
H A DNetBuffer.h36 status_t AppendInt8(int8 data);
37 status_t AppendUint8(uint8 data);
38 status_t AppendInt16(int16 data);
39 status_t AppendUint16(uint16 data);
40 status_t AppendInt32(int32 data);
41 status_t AppendUint32(uint32 data);
42 status_t AppendFloat(float data);
43 status_t AppendDouble(double data);
44 status_t AppendString(const char* data);
45 status_t AppendData(const void* data, size_
[all...]
/haiku/headers/private/app/
H A DMessageUtils.h24 byte_swap(T &/*data*/)
26 // Specialize for data types which actually swap
31 write_helper(BDataIO *stream, const void *data, size_t size) argument
33 status_t error = stream->Write(data, size);
56 inline void operator()(T &data) argument
58 fError = fStream->Read((void *)&data, sizeof(T));
61 byte_swap(data);
71 inline void operator()(T data, size_t len) argument
73 fError = fStream->Read((void *)data, len);
101 inline void Cache(const T &data) argument
117 byte_swap(double &data) argument
125 byte_swap(float &data) argument
133 byte_swap(int64 &data) argument
141 byte_swap(uint64 &data) argument
149 byte_swap(int32 &data) argument
157 byte_swap(uint32 &data) argument
165 byte_swap(int16 &data) argument
173 byte_swap(uint16 &data) argument
181 byte_swap(entry_ref &data) argument
[all...]
/haiku/src/kits/midi2/
H A DMidiLocalProducer.cpp61 BMidiLocalProducer::SprayData(void* data, size_t length, argument
64 SprayEvent(data, length, atomic, time);
73 uchar data[3]; local
74 data[0] = B_NOTE_OFF + channel;
75 data[1] = note;
76 data[2] = velocity;
78 SprayEvent(&data, 3, true, time);
90 uchar data[3]; local
91 data[0] = B_NOTE_ON + channel;
92 data[
107 uchar data[3]; local
124 uchar data[3]; local
141 uchar data[2]; local
157 uchar data[2]; local
173 uchar data[3]; local
186 SpraySystemExclusive(void* data, size_t length, bigtime_t time) const argument
198 uchar data[3]; local
245 uchar data[6]; local
270 SprayEvent(const void* data, size_t length, bool atomic, bigtime_t time, bool sysex) const argument
[all...]
/haiku/src/system/kernel/util/
H A DRandom.cpp30 hash(uint32* data) argument
40 STEP(F, a, b, c, d, data[0], 3);
41 STEP(F, d, a, b, c, data[1], 7);
42 STEP(F, c, d, a, b, data[2], 11);
43 STEP(F, b, c, d, a, data[3], 19);
44 STEP(F, a, b, c, d, data[4], 3);
45 STEP(F, d, a, b, c, data[5], 7);
46 STEP(F, c, d, a, b, data[6], 11);
47 STEP(F, b, c, d, a, data[7], 19);
49 STEP(G, a, b, c, d, data[
114 uint32 data[8]; local
[all...]
/haiku/src/system/libroot/os/arch/x86/
H A Dtime.cpp13 __arch_init_time(struct real_time_data *data, bool setDefaults) argument
19 data->arch_data.system_time_offset = 0;
20 data->arch_data.system_time_conversion_factor = 100000;
26 conversionFactor = data->arch_data.system_time_conversion_factor;
41 __arch_get_system_time_offset(struct real_time_data *data) argument
44 return data->arch_data.system_time_offset;
/haiku/src/apps/serialconnect/libvterm/src/
H A Dencoding.c23 struct UTF8DecoderData *data = data_; local
25 data->bytes_remaining = 0;
26 data->bytes_total = 0;
33 struct UTF8DecoderData *data = data_; local
43 printf(" pos=%zd c=%02x rem=%d\n", *pos, c, data->bytes_remaining);
50 if(data->bytes_remaining)
57 data->bytes_remaining = 0;
61 if(!data->bytes_remaining) {
66 data->this_cp <<= 6;
67 data
160 decode_usascii(VTermEncoding *enc, void *data, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument
185 decode_table(VTermEncoding *enc, void *data, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument
[all...]
/haiku/src/system/kernel/device_manager/
H A DIOCallback.cpp24 IOCallback::WrapperFunction(void* data, io_operation* operation) argument
26 return ((IOCallback*)data)->DoIO(operation);
/haiku/src/tests/kits/app/bhandler/
H A DLockLooperTestCommon.cpp21 int32 LockLooperThreadFunc(void* data) argument
23 TLockLooperInfo* info = (TLockLooperInfo*)data;
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DCRCTable.h9 uint32 calculate_crc(uint32 crc, uint8* data, uint16 length);

Completed in 192 milliseconds

1234567891011>>