/haiku-fatelf/src/servers/app/drawing/ |
H A D | drawing_support.h | 19 gfxcpy(uint8* dst, const uint8* src, int32 numBytes) argument 23 int32 numBytesBegin = numBytes; 24 while (numBytes >= 32) { 29 numBytes -= 32; 31 while (numBytes >= 16) { 34 numBytes -= 16; 36 while (numBytes >= 8) { 38 numBytes -= 8; 40 if (numBytes > 0) { 42 dst += numBytesBegin - numBytes; 66 gfxcpy32(uint8* dst, const uint8* src, int32 numBytes) argument 97 gfxset32(uint8* dst, uint32 color, int32 numBytes) argument [all...] |
/haiku-fatelf/headers/posix/ |
H A D | malloc.h | 16 extern void *malloc(size_t numBytes); 20 extern void *memalign(size_t alignment, size_t numBytes); 21 extern void *valloc(size_t numBytes);
|
/haiku-fatelf/src/add-ons/kernel/drivers/misc/ |
H A D | mem.c | 106 mem_read(void* cookie, off_t position, void* buffer, size_t* numBytes) argument 113 *numBytes = 0; 117 area = mem_map_target(position, *numBytes, B_READ_AREA, &virtualAddress); 119 *numBytes = 0; 123 memcpy(buffer, virtualAddress, *numBytes); 130 mem_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument 137 *numBytes = 0; 141 area = mem_map_target(position, *numBytes, B_WRITE_AREA, &virtualAddress); 143 *numBytes = 0; 147 memcpy(virtualAddress, buffer, *numBytes); [all...] |
/haiku-fatelf/src/kits/network/ |
H A D | r5_compatibility.cpp | 28 const char* name, char* value, unsigned numBytes); 74 const char* name, char* value, unsigned numBytes) 80 strlcpy(value, "hostname", numBytes); 82 strlcpy(value, "baron", numBytes); 84 strlcpy(value, "password", numBytes); 86 strlcpy(value, "1", numBytes); 88 strlcpy(value, "1", numBytes); 73 find_net_setting(net_settings* settings, const char* heading, const char* name, char* value, unsigned numBytes) argument
|
/haiku-fatelf/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | KLSI.cpp | 136 KLSIDevice::OnRead(char **buffer, size_t *numBytes) argument 138 if (*numBytes <= 2) { 139 *numBytes = 0; 144 *numBytes = MIN(bytes, *numBytes - 2); 150 KLSIDevice::OnWrite(const char *buffer, size_t *numBytes, size_t *packetBytes) argument 152 if (*numBytes > KLSI_BUFFER_SIZE) 153 *numBytes = *packetBytes = KLSI_BUFFER_SIZE; 155 if (*numBytes > WriteBufferSize() - 2) 156 *numBytes [all...] |
H A D | FTDI.h | 41 virtual void OnRead(char **buffer, size_t *numBytes); 42 virtual void OnWrite(const char *buffer, size_t *numBytes,
|
H A D | KLSI.h | 61 virtual void OnRead(char **buffer, size_t *numBytes); 62 virtual void OnWrite(const char *buffer, size_t *numBytes,
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | device.cpp | 43 geode_read(void* cookie, off_t position, void *buf, size_t* numBytes) argument 45 *numBytes = 0; 52 geode_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument 54 *numBytes = 0;
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/hda/ |
H A D | device.cpp | 43 hda_read(void* cookie, off_t position, void* buffer, size_t* numBytes) argument 45 *numBytes = 0; 51 hda_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument 53 *numBytes = 0;
|
/haiku-fatelf/src/preferences/screen/ |
H A D | RefreshSlider.h | 24 virtual void KeyDown(const char* bytes, int32 numBytes);
|
/haiku-fatelf/src/kits/shared/ |
H A D | Keymap.cpp | 302 uint32 numBytes = fChars[offset]; 303 if (!numBytes) 337 char** chars, int32* numBytes) const 339 *numBytes = 0; 368 *numBytes = fChars[offset]; 369 if (*numBytes <= 0) { 376 *numBytes = fChars[offset]; 377 if (*numBytes <= 0) 404 char* str = *chars = new char[*numBytes + 1]; 405 strncpy(str, &fChars[offset + 1], *numBytes); [all...] |
/haiku-fatelf/headers/private/notification/ |
H A D | AppUsage.h | 32 virtual status_t Flatten(void* buffer, ssize_t numBytes) const; 37 ssize_t numBytes);
|
H A D | NotificationReceived.h | 23 virtual status_t Flatten(void *buffer, ssize_t numBytes) const; 28 ssize_t numBytes);
|
/haiku-fatelf/src/apps/terminal/ |
H A D | Shell.h | 38 ssize_t Read(void* buffer, size_t numBytes) const; 39 ssize_t Write(const void* buffer, size_t numBytes);
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/scsi/ |
H A D | bus_raw.cpp | 101 size_t *numBytes) 103 *numBytes = 0; 110 const void *data, size_t *numBytes) 112 *numBytes = 0; 100 scsi_bus_raw_read(void *cookie, off_t position, void *data, size_t *numBytes) argument 109 scsi_bus_raw_write(void *cookie, off_t position, const void *data, size_t *numBytes) argument
|
/haiku-fatelf/src/servers/notification/ |
H A D | NotificationReceived.cpp | 55 NotificationReceived::Flatten(void* buffer, ssize_t numBytes) const 63 if (numBytes < msg.FlattenedSize()) 66 return msg.Flatten((char*)buffer, numBytes); 99 ssize_t numBytes) 98 Unflatten(type_code code, const void* buffer, ssize_t numBytes) argument
|
/haiku-fatelf/headers/private/graphics/intel_extreme/ |
H A D | AreaKeeper.h | 25 area_id Map(const char *name, void *physicalAddress, size_t numBytes, 60 AreaKeeper::Map(const char *name, void *physicalAddress, size_t numBytes, argument 63 fArea = map_physical_memory(name, (addr_t)physicalAddress, numBytes, spec,
|
/haiku-fatelf/headers/private/graphics/radeon_hd/ |
H A D | AreaKeeper.h | 25 area_id Map(const char *name, void *physicalAddress, size_t numBytes, 60 AreaKeeper::Map(const char *name, void *physicalAddress, size_t numBytes, argument 63 fArea = map_physical_memory(name, (addr_t)physicalAddress, numBytes, spec,
|
/haiku-fatelf/src/tests/kits/net/ |
H A D | tcp_client.c | 60 int numBytes; local 64 if ((numBytes = recv(sockfd, buffer, sizeof(buffer) - 1, 0)) == -1) { 71 buffer[numBytes] = '\0';
|
/haiku-fatelf/src/servers/app/drawing/html5/ |
H A D | CanvasEventStream.cpp | 168 int32 numBytes; local 169 if (message.Read(numBytes) != B_OK) 172 char* bytes = (char*)malloc(numBytes + 1); 176 if (message.ReadList(bytes, numBytes) != B_OK) { 181 for (int32 i = 0; i < numBytes; i++) 184 bytes[numBytes] = 0; 185 event->AddData("bytes", B_STRING_TYPE, bytes, numBytes + 1, false);
|
/haiku-fatelf/src/servers/app/drawing/remote/ |
H A D | RemoteEventStream.cpp | 168 int32 numBytes; local 169 if (message.Read(numBytes) != B_OK) 172 char* bytes = (char*)malloc(numBytes + 1); 176 if (message.ReadList(bytes, numBytes) != B_OK) { 181 for (int32 i = 0; i < numBytes; i++) 184 bytes[numBytes] = 0; 185 event->AddData("bytes", B_STRING_TYPE, bytes, numBytes + 1, false);
|
/haiku-fatelf/src/add-ons/kernel/drivers/disk/virtual/remote_disk/ |
H A D | remote_disk.cpp | 166 remote_disk_read(void* cookie, off_t position, void* buffer, size_t* numBytes) argument 169 *numBytes)); 174 ssize_t bytesRead = device->remoteDisk->ReadAt(position, buffer, *numBytes); 176 *numBytes = 0; 181 *numBytes = bytesRead; 189 size_t* numBytes) 192 *numBytes)); 198 *numBytes); 200 *numBytes = 0; 205 *numBytes 188 remote_disk_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument [all...] |
/haiku-fatelf/src/servers/app/ |
H A D | ServerFont.h | 120 int32 numBytes, bool hasArray[]) const; 122 status_t GetEdges(const char charArray[], int32 numBytes, 126 int32 numBytes, int32 numChars, 132 int32 numBytes, int32 numChars, 137 int32 numBytes, BRect rectArray[], 149 int32 numBytes,
|
/haiku-fatelf/src/tests/kits/app/bmessage/ |
H A D | MessageFlattenableItemTest.h | 36 virtual status_t Flatten(void* buffer, ssize_t numBytes) const; 38 ssize_t numBytes); 53 status_t MyFlattenableType::Flatten(void* buffer, ssize_t numBytes) const 59 if (numBytes != FlattenedSize()) 69 ssize_t numBytes) 79 fData.assign((const char*)buffer, numBytes - 1); 68 Unflatten(type_code code, const void* buffer, ssize_t numBytes) argument
|
/haiku-fatelf/src/apps/remotedesktop/ |
H A D | RemoteView.h | 39 virtual void KeyDown(const char *bytes, int32 numBytes); 40 virtual void KeyUp(const char *bytes, int32 numBytes); 48 const char *bytes, int32 numBytes);
|