/external/zxing/core/ |
H A D | core.jar | ... .zxing.BinaryBitmap crop (int, int, int, int) int left
int top
int width
int height
com.google. ... |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
H A D | PlanarYUVLuminanceSource.java | 38 private final int left; field in class:PlanarYUVLuminanceSource 41 public PlanarYUVLuminanceSource(byte[] yuvData, int dataWidth, int dataHeight, int left, int top, argument 45 if (left + width > dataWidth || top + height > dataHeight) { 52 this.left = left; 68 int offset = (y + top) * dataWidth + left; 86 int inputOffset = top * dataWidth + left; 114 int inputOffset = top * dataWidth + left; 132 for (int y = 0, rowStart = top * dataWidth + left; y < height; y++, rowStart += dataWidth) {
|
/external/zlib/src/contrib/blast/ |
H A D | blast.c | 42 unsigned left; /* available input at in */ member in struct:state 66 * bit buffer, using shift left. 75 if (s->left == 0) { 76 s->left = s->infun(s->inhow, &(s->in)); 77 if (s->left == 0) longjmp(s->env, 1); /* out of input */ 80 s->left--; 84 /* drop need bits and update buffer, always zero to seven bits left */ 133 int left; /* bits left in next or left t local 191 int left; /* number of possible codes left of current length */ local [all...] |
/external/zlib/src/contrib/infback9/ |
H A D | infback9.c | 179 if (left == 0) { \ 181 left = WSIZE; \ 183 if (out(out_desc, put, (unsigned)left)) { \ 228 unsigned long left; /* available output */ local 268 left = WSIZE; 332 if (copy > left) copy = left; 336 left -= copy; 494 left--; 553 if (offset > WSIZE - (wrap ? 0: left)) { [all...] |
H A D | inftree9.c | 46 int left; /* number of prefix codes available */ local 125 left = 1; 127 left <<= 1; 128 left -= count[len]; 129 if (left < 0) return -1; /* over-subscribed */ 131 if (left > 0 && (type == CODES || max != 1)) 263 left = (int)(1 << curr); 265 left -= count[curr + drop]; 266 if (left <= 0) break; 268 left << [all...] |
/external/zlib/src/contrib/puff/ |
H A D | puff.c | 124 * bit buffer, using shift left. 139 /* drop need bits and update buffer, always zero to seven bits left */ 271 int left; /* bits left in next or left to process */ local 275 left = s->bitcnt; 280 while (left--) { 295 left = (MAXBITS+1) - len; 296 if (left == 0) 301 if (left > 344 int left; /* number of possible codes left of current length */ local [all...] |
/external/zlib/src/examples/ |
H A D | enough.c | 120 left: number of available bit patterns at length len 126 left: 2..syms - 1, but only the evens (so syms == 8 -> 2, 4, 6) 129 syms == 2 is not saved since that immediately leads to a single code. left 132 left ends at syms-1 since left == syms immediately results in a single code. 133 (left > sym is not allowed since that would result in an incomplete code.) 151 to the num[] array as described above for the (syms, left, len) triplet. 199 len through max inclusive, coding syms symbols, with left bit patterns of 203 local big_t count(int syms, int len, int left) argument 213 if (syms == left) 258 beenhere(int syms, int len, int left, int mem, int rem) argument 322 examine(int syms, int len, int left, int mem, int rem) argument 406 int left; /* number of unused bit patterns at this length */ local [all...] |
H A D | gun.c | 168 /* throw out what's left in the current bits byte buffer (this is a vestigial 173 left = 0; \ 204 unsigned chunk; /* bytes left in current chunk */ 205 int left; /* bits left in rem */ local 259 left = 7; 260 chunk = bits - 2; /* 7 bytes left in this chunk */ 287 code += (unsigned)last << left; /* middle (or high) bits of code */ 288 left += 8; 290 if (bits > left) { /* nee [all...] |
H A D | gzappend.c | 122 /* rotate list[0..len-1] left by rot positions, in place */ 137 /* do simple left shift by one */ 163 *to = *from; /* shift left */ 173 unsigned left; /* bytes available at next */ member in struct:__anon34352 186 in->left = (unsigned)len; 198 #define read1(in) (in->left == 0 ? readmore(in) : 0, \ 199 in->left--, *(in->next)++) 206 if (n > in->left) { 207 n -= in->left; 215 if (n > in->left) 261 int ret, lastbit, left, full; local 391 unsigned left; local [all...] |
H A D | gzjoin.c | 81 unsigned left; /* bytes remaining at next */ member in struct:__anon34353 113 in->left = 0; 127 if (in->left != 0) 131 len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left); 134 in->left += (unsigned)len; 135 } while (len != 0 && in->left < CHUNK); 140 #define bget(in) (in->left ? 0 : bload(in), \ 141 in->left ? (in->left 176 unsigned left; local [all...] |
H A D | zran.c | 15 in the uncompressed output. The compressed file is left open, and can then 93 off_t in, off_t out, unsigned left, unsigned char *window) 126 if (left) 127 memcpy(next->window, window + WINSIZE - left, left); 128 if (left < WINSIZE) 129 memcpy(next->window + left, window, WINSIZE - left); 92 addpoint(struct access *index, int bits, off_t in, off_t out, unsigned left, unsigned char *window) argument
|
/external/zlib/src/ |
H A D | gzread.c | 79 left unchanged if there is no more input data available, will be set to COPY 488 unsigned left, n; local 514 left = (unsigned)len - 1; 515 if (left) do { 525 n = state->x.have > left ? left : state->x.have; 535 left -= n; 537 } while (left && eol == NULL);
|
H A D | infback.c | 131 left = strm->avail_out; \ 142 strm->avail_out = left; \ 212 if (left == 0) { \ 214 left = state->wsize; \ 215 state->whave = left; \ 216 if (out(out_desc, put, left)) { \ 260 unsigned have, left; /* available input and output */ local 287 left = state->wsize; 346 if (copy > left) copy = left; [all...] |
H A D | inflate.c | 462 left = strm->avail_out; \ 473 strm->avail_out = left; \ 551 input left to load n bits into the accumulator, or it continues. BITS(n) 564 state information is maintained to continue the loop where it left off 612 unsigned have, left; /* available input and output */ local 636 out = left; 884 if (copy > left) copy = left; 889 left -= copy; 1022 if (have >= 6 && left > [all...] |
H A D | inftrees.c | 46 int left; /* number of prefix codes available */ local 131 left = 1; 133 left <<= 1; 134 left -= count[len]; 135 if (left < 0) return -1; /* over-subscribed */ 137 if (left > 0 && (type == CODES || max != 1)) 270 left = (int)(1 << curr); 272 left -= count[curr + drop]; 273 if (left <= 0) break; 275 left << [all...] |
/external/zopfli/src/zopflipng/lodepng/ |
H A D | lodepng.cpp | 1302 size_t left = 1; local 1304 while(left <= right) 1306 size_t mid = (left + right) / 2; 1307 if(array[mid] <= value) left = mid + 1; /*the value to find is more to the right*/ 1308 else if(array[mid - 1] > value) right = mid - 1; /*the value to find is more to the left*/
|
/external/webrtc/src/common_audio/resampler/ |
H A D | resampler.cc | 446 WebRtc_Word16* left = (WebRtc_Word16*)malloc(lengthIn * sizeof(WebRtc_Word16) / 2); local 454 left[i >> 1] = samplesIn[i]; 464 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left); 468 free(left); 483 free(left);
|
/external/webrtc/src/modules/audio_processing/ |
H A D | audio_buffer.cc | 24 void StereoToMono(const int16_t* left, const int16_t* right, argument 26 assert(left != NULL && right != NULL && out != NULL); 28 int32_t data32 = (static_cast<int32_t>(left[i]) +
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | ieee802_11.c | 1281 int left, i; local 1320 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); 1329 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); 1370 resp = check_assoc_ies(hapd, sta, pos, left, reassoc); 1452 send_assoc_resp(hapd, sta, resp, reassoc, pos, left);
|
H A D | vlan_init.c | 663 int left; local 670 left = recvfrom(sock, buf, sizeof(buf), MSG_DONTWAIT, 672 if (left < 0) { 680 while (left >= (int) sizeof(*h)) { 685 if (len > left || plen < 0) { 687 "message: len=%d left=%d plen=%d", 688 len, left, plen); 702 left -= len; 706 if (left > 0) { 708 "netlink message", __func__, left); [all...] |
H A D | wmm.c | 260 int left = len - IEEE80211_HDRLEN - 4; local 278 if (ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed) {
|
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | ieee802_11_common.c | 164 size_t left = len; local 170 while (left >= 2) { 175 left -= 2; 177 if (elen > left) { 181 "left=%lu)", 182 id, elen, (unsigned long) left); 303 left -= elen; 307 if (left)
|
H A D | wpa_common.c | 438 int left; local 477 left = rsn_ie_len - sizeof(*hdr); 479 if (left >= RSN_SELECTOR_LEN) { 487 left -= RSN_SELECTOR_LEN; 488 } else if (left > 0) { 490 __func__, left); 494 if (left >= 2) { 498 left -= 2; 499 if (count == 0 || left < count * RSN_SELECTOR_LEN) { 501 "count %u left 624 int left; local [all...] |
H A D | wpa_ctrl.c | 127 * been left by unclean termination of an earlier run. 230 * may be left over from clients that were previously connected to 719 DWORD left; local 721 if (!PeekNamedPipe(ctrl->pipe, NULL, 0, NULL, &left, NULL)) 723 return left ? 1 : 0;
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | aes-ctr.c | 28 size_t j, len, left = data_len; local 38 while (left > 0) { 41 len = (left < AES_BLOCK_SIZE) ? left : AES_BLOCK_SIZE; 45 left -= len;
|