Lines Matching defs:chunk
383 byte chunk = value & 0x7F;
385 if (value != 0) chunk |= 0x80;
386 WriteByte(chunk);
394 byte chunk = value & 0x7F;
396 done = ((value == 0) && ((chunk & kSignBitMask) == 0)) ||
397 ((value == -1) && ((chunk & kSignBitMask) != 0));
398 if (!done) chunk |= 0x80;
399 WriteByte(chunk);
445 byte chunk;
448 chunk = *current++;
450 result |= (chunk & 0x7F) << shift;
452 } while (chunk >= 128);
454 // Sign extend the result if the last chunk has the sign bit set.
455 if (chunk & kSignBitMask) result |= (~0ull) << shift;