/device/google/contexthub/firmware/lib/libc/ |
D | bcopy.c | 45 #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()
|
D | memset.c | 40 #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/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | infback.c | 56 state->wsize = 1U << windowBits; 205 left = state->wsize; \ 278 left = state->wsize; 468 if (state->whave < state->wsize) 469 state->whave = state->wsize - left; 470 inflate_fast(strm, state->wsize); 560 if (state->offset > state->wsize - (state->whave < state->wsize ? 571 copy = state->wsize - state->offset; 592 if (left < state->wsize) { 593 if (out(out_desc, state->window, state->wsize - left))
|
D | inflate.c | 118 state->wsize = 0; 341 if (state->wsize == 0) { 342 state->wsize = 1U << state->wbits; 349 if (copy >= state->wsize) { 350 zmemcpy(state->window, strm->next_out - state->wsize, state->wsize); 352 state->whave = state->wsize; 355 dist = state->wsize - state->write; 362 state->whave = state->wsize; 366 if (state->write == state->wsize) state->write = 0; 367 if (state->whave < state->wsize) state->whave += dist; [all …]
|
D | inffast.c | 80 unsigned wsize; /* window size or zero if not using window */ local 107 wsize = state->wsize; 196 from += wsize - op; 206 from += wsize + write - op;
|
D | deflate.c | 1272 uInt wsize = s->w_size; local 1280 more = wsize; 1293 if (s->strstart >= wsize+MAX_DIST(s)) { 1295 zmemcpy(s->window, s->window+wsize, (unsigned)wsize); 1296 s->match_start -= wsize; 1297 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */ 1298 s->block_start -= (long) wsize; 1311 *p = (Pos)(m >= wsize ? m-wsize : NIL); 1314 n = wsize; 1319 *p = (Pos)(m >= wsize ? m-wsize : NIL); [all …]
|
D | inflate.h | 89 unsigned wsize; /* window size or zero if not using window */ member
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | infback.c | 65 state->wsize = 1U << windowBits; 214 left = state->wsize; \ 287 left = state->wsize; 485 if (state->whave < state->wsize) 486 state->whave = state->wsize - left; 487 inflate_fast(strm, state->wsize); 577 if (state->offset > state->wsize - (state->whave < state->wsize ? 588 copy = state->wsize - state->offset; 609 if (left < state->wsize) { 610 if (out(out_desc, state->window, state->wsize - left))
|
D | inffast.c | 80 unsigned wsize; /* window size or zero if not using window */ local 107 wsize = state->wsize; 218 from += wsize - op; 228 from += wsize + wnext - op;
|
D | inflate.c | 136 state->wsize = 0; 398 if (state->wsize == 0) { 399 state->wsize = 1U << state->wbits; 405 if (copy >= state->wsize) { 406 zmemcpy(state->window, end - state->wsize, state->wsize); 408 state->whave = state->wsize; 411 dist = state->wsize - state->wnext; 418 state->whave = state->wsize; 422 if (state->wnext == state->wsize) state->wnext = 0; 423 if (state->whave < state->wsize) state->whave += dist; [all …]
|
D | inflate.h | 93 unsigned wsize; /* window size or zero if not using window */ member
|
D | deflate.c | 1396 uInt wsize = s->w_size; local 1406 more = wsize; 1419 if (s->strstart >= wsize+MAX_DIST(s)) { 1421 zmemcpy(s->window, s->window+wsize, (unsigned)wsize); 1422 s->match_start -= wsize; 1423 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */ 1424 s->block_start -= (long) wsize; 1436 *p = (Pos)(m >= wsize ? m-wsize : NIL); 1439 n = wsize; 1444 *p = (Pos)(m >= wsize ? m-wsize : NIL); [all …]
|
/device/google/crosshatch/json-c/ |
D | json_util.c | 105 unsigned int wpos, wsize; in json_object_to_file_ext() local 123 …wsize = (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/ |
D | json_util.c | 105 unsigned int wpos, wsize; in json_object_to_file_ext() local 123 …wsize = (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/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/ |
D | inffast.c | 63 unsigned wsize; /* window size or zero if not using window */ local 90 wsize = state->wsize; 201 from += wsize - op; 211 from += wsize + wnext - op;
|
D | inflate.c | 151 state->wsize = 0; 415 if (state->wsize == 0) { 416 state->wsize = 1U << state->wbits; 422 if (copy >= state->wsize) { 423 zmemcpy(state->window, end - state->wsize, state->wsize); 425 state->whave = state->wsize; 428 dist = state->wsize - state->wnext; 435 state->whave = state->wsize; 439 if (state->wnext == state->wsize) state->wnext = 0; 440 if (state->whave < state->wsize) state->whave += dist; [all …]
|
D | inflate.h | 96 unsigned wsize; /* window size or zero if not using window */ member
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | zlibmodule.c | 214 int wsize=DEF_WBITS; in PyZlib_decompress() local 219 &input, &length, &wsize, &r_strlen)) in PyZlib_decompress() 235 err = inflateInit2(&zst, wsize); in PyZlib_decompress()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | zlibmodule.c | 220 int wsize=DEF_WBITS; in PyZlib_decompress() local 225 &input, &length, &wsize, &r_strlen)) in PyZlib_decompress() 241 err = inflateInit2(&zst, wsize); in PyZlib_decompress()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/ |
D | multibytecodec.c | 1030 Py_ssize_t wsize, finalsize = 0, size, origpending; in mbidecoder_decode() local 1043 wsize = size; in mbidecoder_decode() 1051 wsize = size + self->pendingsize; in mbidecoder_decode() 1052 wdata = PyMem_Malloc(wsize); in mbidecoder_decode() 1060 if (decoder_prepare_buffer(&buf, wdata, wsize) != 0) in mbidecoder_decode()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/ |
D | multibytecodec.c | 1033 Py_ssize_t wsize, finalsize = 0, size, origpending; in mbidecoder_decode() local 1046 wsize = size; in mbidecoder_decode() 1054 wsize = size + self->pendingsize; in mbidecoder_decode() 1055 wdata = PyMem_Malloc(wsize); in mbidecoder_decode() 1063 if (decoder_prepare_buffer(&buf, wdata, wsize) != 0) in mbidecoder_decode()
|