Searched refs:len (Results 1 - 25 of 878) sorted by last modified time

1234567891011>>

/haiku/src/kits/tracker/
H A DFSUtils.cpp2505 int32 len = (int32)strlen(name); local
2506 char* p = name + len - 1; // get pointer to end os name
/haiku/src/tests/kits/bluetooth/l2capClient/
H A Dl2capClient.cpp65 size_t len; local
89 len = sendto(sock, string, strlen(string) + 1 /*\0*/, 0,
93 printf("Sent %ld bytes\n", len);
95 // len = send(sock, string + 1 /*\0*/, strlen(string), 0);
96 // recvfrom(sock, buff, 4096-1, 0, (struct sockaddr *) &l2, &len);
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Dsb16_multi_audio.c280 multi_audio_control(void* cookie, uint32 op, void* arg, size_t len) argument
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Dmulti.c1198 static status_t emuxki_control(void* cookie, uint32 op, void* arg, size_t len);
1327 emuxki_control(void* cookie, uint32 op, void* arg, size_t len) argument
1329 return emuxki_multi_control(cookie, op, arg, len);
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Dmulti.cpp898 static status_t echo_control(void* cookie, uint32 op, void* arg, size_t len);
1105 echo_control(void* cookie, uint32 op, void* arg, size_t len) argument
1107 return echo_multi_control(cookie, op, arg, len);
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dpcm.c79 static status_t pcm_control(void *cookie, uint32 op, void *data, size_t len);
80 static status_t pcm_read(void *cookie, off_t pos, void *data, size_t *len);
81 static status_t pcm_write(void *cookie, off_t pos, const void *data, size_t *len);
82 //static status_t pcm_writev(void *cookie, off_t pos, const iovec *vec, size_t count, size_t *len); /* */
718 size_t len)
714 pcm_control( void * cookie, uint32 iop, void * data, size_t len) argument
H A Dmixer.c17 static status_t mixer_control(void *cookie, uint32 op, void *data, size_t len);
18 static status_t mixer_read(void *cookie, off_t pos, void *data, size_t *len);
19 static status_t mixer_write(void *cookie, off_t pos, const void *data, size_t *len);
259 size_t len)
255 mixer_control( void * cookie, uint32 iop, void * data, size_t len) argument
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Dgeode_multi.cpp855 multi_audio_control(geode_controller* controller, uint32 op, void* arg, size_t len) argument
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Dmulti.c773 static status_t es1370_control(void* cookie, uint32 op, void* arg, size_t len);
905 es1370_control(void* cookie, uint32 op, void* arg, size_t len) argument
907 return es1370_multi_control(cookie, op, arg, len);
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Dmulti.c1045 static status_t auvia_control(void* cookie, uint32 op, void* arg, size_t len);
1155 auvia_control(void* cookie, uint32 op, void* arg, size_t len) argument
1157 return auvia_multi_control(cookie, op, arg, len);
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Dmulti.c994 static status_t auich_control(void* cookie, uint32 op, void* arg, size_t len);
1130 auich_control(void* cookie, uint32 op, void* arg, size_t len) argument
1132 return auich_multi_control(cookie, op, arg, len);
H A Dauich.h81 uint32 len; member in struct:_auich_dmalist
/haiku/src/add-ons/kernel/drivers/audio/null/
H A Dnull_multi.c357 multi_audio_control(void* cookie, uint32 op, void* arg, size_t len) argument
/haiku/src/tools/fs_shell/
H A Dvfs.cpp240 fssh_size_t len);
3200 FUNCTION(("file_read: buf %p, pos %lld, len %p = %ld\n", buffer, pos, length, *length));
3210 FUNCTION(("file_write: buf %p, pos %lld, len %p\n", buffer, pos, length));
4135 FUNCTION(("attr_read: buf %p, pos %lld, len %p = %ld\n", buffer, pos, length, *length));
4148 FUNCTION(("attr_write: buf %p, pos %lld, len %p\n", buffer, pos, length));
H A Dfssh.cpp471 int len = strlen(path); local
472 while (len > 0 && path[len - 1] == '/')
473 len--;
476 while (len > 0 && path[len - 1] != '/')
477 len--;
480 while (len > 0 && path[len - 1] == '/')
481 len
892 int len = strlen(target) + 1 + strlen(leaf); local
1484 int len = argVector[i].length(); local
[all...]
H A Dcommand_cp.cpp182 int len = strlen(entry->d_name); local
183 if (len >= size)
552 int len = strlen(entry->d_name); local
553 if (len >= size)
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DInode.h319 Volume* volume, ssize_t& len,
H A DInode.cpp450 ssize_t& len, size_t DirBlockSize, char* block) {
452 char* node = new(std::nothrow) char[len];
469 if (read_pos(volume->Device(), readPos, node, len) != len) {
484 len = DirBlockSize;
485 if (read_pos(volume->Device(), readPos, block, len)
486 != len) {
511 ssize_t len = volume->BlockSize(); local
513 len = DirBlockSize();
514 char* block = new(std::nothrow) char[len];
449 GetNodefromTree(uint16& levelsInTree, Volume* volume, ssize_t& len, size_t DirBlockSize, char* block) argument
702 uint32 len = fVolume->InodeSize(); local
[all...]
/haiku/src/system/kernel/fs/
H A Dvfs.cpp5700 FUNCTION(("file_read: buf %p, pos %" B_PRIdOFF ", len %p = %ld\n", buffer,
5717 FUNCTION(("file_write: buf %p, pos %" B_PRIdOFF ", len %p\n", buffer, pos,
6869 FUNCTION(("attr_read: buf %p, pos %" B_PRIdOFF ", len %p = %ld\n", buffer,
6885 FUNCTION(("attr_write: buf %p, pos %" B_PRIdOFF ", len %p\n", buffer, pos,
8140 ssize_t len = user_strlcpy(to, from, length); local
8141 if (len < 0)
8142 return len;
8143 if (len >= (ssize_t)length)
9029 int len = user_strlcpy(buffer, path, B_PATH_NAME_LENGTH); local
9030 if (len <
9173 int len = user_strlcpy(userName, buffer->d_name, nameLength); local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/wb840/
H A Ddevice.c274 wb840_control (void* cookie, uint32 op, void* arg, size_t len) argument
/haiku/src/system/kernel/arch/arm64/
H A Darch_cpu.cpp63 arch_cpu_sync_icache(void *address, size_t len) argument
/haiku/src/system/kernel/arch/riscv64/
H A Darch_int.cpp185 DumpMemory(uint64* adr, size_t len) argument
187 while (len > 0) {
198 len -= 8;
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c718 size_t len; local
759 len = fw->fw_rawsize - sizeof(*uhdr);
761 while (len >= sizeof(tlv)) {
769 len -= sizeof(tlv);
773 if (len < tlv_len) {
775 DEVNAME(sc), len);
1030 if (roundup(tlv_len, 4) > len)
1033 len -= roundup(tlv_len, 4);
2734 cmd.len[0] = sizeof(struct iwm_phy_db_cmd);
2736 cmd.len[
2935 iwm_nvm_read_chunk(struct iwm_softc *sc, uint16_t section, uint16_t offset, uint16_t length, uint8_t *data, uint16_t *len) argument
3009 iwm_nvm_read_section(struct iwm_softc *sc, uint16_t section, uint8_t *data, uint16_t *len, size_t max_len) argument
4043 uint16_t len; local
4093 uint32_t addr, len; local
4895 uint32_t len; local
5357 uint32_t len, hdrlen, rate_n_flags, device_timestamp; local
5860 uint32_t len = iwm_rx_packet_len(pkt); local
6076 size_t len; local
6460 iwm_send_cmd_pdu(struct iwm_softc *sc, uint32_t id, uint32_t flags, uint16_t len, const void *data) argument
6506 iwm_send_cmd_pdu_status(struct iwm_softc *sc, uint32_t id, uint16_t len, const void *data, uint32_t *status) argument
6561 iwm_update_sched(struct iwm_softc *sc, int qid, int idx, uint8_t sta_id, uint16_t len) argument
10990 uint32_t offset = 0, nextoff = 0, nmpdu = 0, len; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c1203 size_t len; local
1247 len = fw->fw_rawsize - sizeof(*uhdr);
1249 while (len >= sizeof(tlv)) {
1257 len -= sizeof(tlv);
1261 if (len < tlv_len) {
1263 DEVNAME(sc), len);
1605 if (roundup(tlv_len, 4) > len)
1608 len -= roundup(tlv_len, 4);
2854 hcmd.len[0] = sizeof(cmd_v0);
2867 hcmd.len[
4051 iwx_pnvm_handle_section(struct iwx_softc *sc, const uint8_t *data, size_t len) argument
4160 iwx_pnvm_parse(struct iwx_softc *sc, const uint8_t *data, size_t len) argument
5147 uint32_t len, hdrlen, rate_n_flags, device_timestamp; local
5368 uint32_t len = iwx_rx_packet_len(pkt); local
5911 iwx_send_cmd_pdu(struct iwx_softc *sc, uint32_t id, uint32_t flags, uint16_t len, const void *data) argument
5957 iwx_send_cmd_pdu_status(struct iwx_softc *sc, uint32_t id, uint16_t len, const void *data, uint32_t *status) argument
6119 uint16_t len = byte_cnt; local
9741 uint32_t offset = 0, nextoff = 0, nmpdu = 0, len; local
[all...]
/haiku/src/add-ons/kernel/busses/usb/
H A Dohci.cpp1384 size_t len = OHCI_ITD_GET_BUFFER_LENGTH(offset); local
1386 len = packet_descriptor->request_length - len;
1388 packet_descriptor->actual_length = len;
1389 actualLength += len;
1428 TRACE("iso.transfer %p done with status 0x%08" B_PRIx32 " len:%ld\n",

Completed in 208 milliseconds

1234567891011>>