Home
last modified time | relevance | path

Searched refs:wsize (Results 1 – 6 of 6) sorted by relevance

/device/google/contexthub/firmware/lib/libc/
Dbcopy.c45 #define wsize sizeof(word) macro
46 #define wmask (wsize - 1)
93 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) in memcpy()
96 t = wsize - (t & wmask); in memcpy()
103 t = length / wsize; in memcpy()
104 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize); in memcpy()
117 if ((t ^ (uintptr_t)dst) & wmask || length <= wsize) in memcpy()
124 t = length / wsize; in memcpy()
125 TLOOP(src -= wsize; dst -= wsize; *(word *)dst = *(word *)src); in memcpy()
Dmemset.c40 #define wsize sizeof(u_int) macro
41 #define wmask (wsize - 1)
83 if (length < 3 * wsize) { in bzero()
104 t = wsize - t; in bzero()
112 t = length / wsize; in bzero()
115 dst += wsize; in bzero()
/device/linaro/dragonboard/qcom/tqftpserv/
Dtqftpserv.c68 size_t wsize; member
121 size_t *wsize, unsigned int *timeoutms, size_t *rsize) in tftp_send_oack() argument
157 if (wsize) { in tftp_send_oack()
161 n = sprintf(p, "%zd", *wsize); in tftp_send_oack()
212 size_t wsize = 0; in handle_rrq() local
255 wsize = atoi(value); in handle_rrq()
294 client->wsize = wsize; in handle_rrq()
304 wsize ? &wsize : NULL, in handle_rrq()
413 for (block = last; block < last + client->wsize; block++) { in handle_reader()
/device/google/coral/json-c/
Djson_util.c105 unsigned int wpos, wsize; in json_object_to_file_ext() local
123wsize = (unsigned int)(strlen(json_str) & UINT_MAX); /* CAW: probably unnecessary, but the most 64… in json_object_to_file_ext()
125 while(wpos < wsize) { in json_object_to_file_ext()
126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) { in json_object_to_file_ext()
/device/google/crosshatch/json-c/
Djson_util.c105 unsigned int wpos, wsize; in json_object_to_file_ext() local
123wsize = (unsigned int)(strlen(json_str) & UINT_MAX); /* CAW: probably unnecessary, but the most 64… in json_object_to_file_ext()
125 while(wpos < wsize) { in json_object_to_file_ext()
126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) { in json_object_to_file_ext()
/device/google/bonito/json-c/
Djson_util.c105 unsigned int wpos, wsize; in json_object_to_file_ext() local
123wsize = (unsigned int)(strlen(json_str) & UINT_MAX); /* CAW: probably unnecessary, but the most 64… in json_object_to_file_ext()
125 while(wpos < wsize) { in json_object_to_file_ext()
126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) { in json_object_to_file_ext()