Lines Matching defs:base
1770 /* static */ size_t unpackLanguageOrRegion(const char in[2], const char base,
1784 out[0] = first + base;
1785 out[1] = second + base;
1786 out[2] = third + base;
1802 /* static */ void packLanguageOrRegion(const char* in, const char base,
1808 uint8_t first = (in[0] - base) & 0x007f;
1809 uint8_t second = (in[1] - base) & 0x007f;
1810 uint8_t third = (in[2] - base) & 0x007f;
6131 const uint8_t* base = (const uint8_t*)pkg;
6188 err = package->typeStrings.setTo(base+dtohl(pkg->typeStrings),
6189 header->dataEnd-(base+dtohl(pkg->typeStrings)));
6196 err = package->keyStrings.setTo(base+dtohl(pkg->keyStrings),
6197 header->dataEnd-(base+dtohl(pkg->keyStrings)));
6268 (void*)(base-(const uint8_t*)chunk),
6332 (void*)(base-(const uint8_t*)chunk),
6681 ALOGW("idmap: no resources in overlay package present in base package");