/dports/www/firefox-esr/firefox-91.8.0/modules/libjar/zipwriter/ |
H A D | nsZipHeader.cpp | 155 mLocalExtraField = MakeUnique<uint8_t[]>(mFieldLength); in Init() 156 if (mLocalExtraField) { in Init() 158 memcpy(mLocalExtraField.get(), mExtraField.get(), mLocalFieldLength); in Init() 201 rv = ZW_WriteData(aStream, (const char*)mLocalExtraField.get(), in WriteFileHeader() 309 const uint8_t* buf = aLocal ? mLocalExtraField.get() : mExtraField.get(); in GetExtraField() 363 UniquePtr<uint8_t[]> field = std::move(mLocalExtraField); in PadExtraField() 366 mLocalExtraField = MakeUnique<uint8_t[]>(mLocalFieldLength + pad_size); in PadExtraField() 367 memcpy(mLocalExtraField.get(), field.get(), mLocalFieldLength); in PadExtraField() 371 WRITE16(mLocalExtraField.get(), &pos, 0xFFFF); in PadExtraField() 372 WRITE16(mLocalExtraField.get(), &pos, pad_size - 4); in PadExtraField() [all …]
|
H A D | nsZipHeader.h | 29 mLocalExtraField = nullptr; in ~nsZipHeader() 56 mLocalExtraField(nullptr) {} in nsZipHeader() 78 mozilla::UniquePtr<uint8_t[]> mLocalExtraField; variable
|
/dports/www/firefox/firefox-99.0/modules/libjar/zipwriter/ |
H A D | nsZipHeader.cpp | 155 mLocalExtraField = MakeUnique<uint8_t[]>(mFieldLength); in Init() 156 if (mLocalExtraField) { in Init() 158 memcpy(mLocalExtraField.get(), mExtraField.get(), mLocalFieldLength); in Init() 201 rv = ZW_WriteData(aStream, (const char*)mLocalExtraField.get(), in WriteFileHeader() 309 const uint8_t* buf = aLocal ? mLocalExtraField.get() : mExtraField.get(); in GetExtraField() 363 UniquePtr<uint8_t[]> field = std::move(mLocalExtraField); in PadExtraField() 366 mLocalExtraField = MakeUnique<uint8_t[]>(mLocalFieldLength + pad_size); in PadExtraField() 367 memcpy(mLocalExtraField.get(), field.get(), mLocalFieldLength); in PadExtraField() 371 WRITE16(mLocalExtraField.get(), &pos, 0xFFFF); in PadExtraField() 372 WRITE16(mLocalExtraField.get(), &pos, pad_size - 4); in PadExtraField() [all …]
|
H A D | nsZipHeader.h | 29 mLocalExtraField = nullptr; in ~nsZipHeader() 56 mLocalExtraField(nullptr) {} in nsZipHeader() 78 mozilla::UniquePtr<uint8_t[]> mLocalExtraField; variable
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/libjar/zipwriter/ |
H A D | nsZipHeader.cpp | 152 mLocalExtraField = MakeUnique<uint8_t[]>(mFieldLength); in Init() 153 if (mLocalExtraField) { in Init() 155 memcpy(mLocalExtraField.get(), mExtraField.get(), mLocalFieldLength); in Init() 196 rv = ZW_WriteData(aStream, (const char *)mLocalExtraField.get(), in WriteFileHeader() 304 const uint8_t *buf = aLocal ? mLocalExtraField.get() : mExtraField.get(); in GetExtraField() 358 UniquePtr<uint8_t[]> field = Move(mLocalExtraField); in PadExtraField() 361 mLocalExtraField = MakeUnique<uint8_t[]>(mLocalFieldLength + pad_size); in PadExtraField() 362 memcpy(mLocalExtraField.get(), field.get(), mLocalFieldLength); in PadExtraField() 366 WRITE16(mLocalExtraField.get(), &pos, 0xFFFF); in PadExtraField() 367 WRITE16(mLocalExtraField.get(), &pos, pad_size - 4); in PadExtraField() [all …]
|
H A D | nsZipHeader.h | 29 mLocalExtraField = nullptr; in ~nsZipHeader() 56 mLocalExtraField(nullptr) {} in nsZipHeader() 78 mozilla::UniquePtr<uint8_t[]> mLocalExtraField; variable
|
/dports/www/firefox-legacy/firefox-52.8.0esr/modules/libjar/zipwriter/ |
H A D | nsZipHeader.cpp | 160 mLocalExtraField = MakeUnique<uint8_t[]>(mFieldLength); in Init() 161 if (mLocalExtraField) { in Init() 163 memcpy(mLocalExtraField.get(), mExtraField.get(), mLocalFieldLength); in Init() 207 rv = ZW_WriteData(aStream, (const char *)mLocalExtraField.get(), mLocalFieldLength); in WriteFileHeader() 320 const uint8_t *buf = aLocal ? mLocalExtraField.get() : mExtraField.get(); in GetExtraField() 375 UniquePtr<uint8_t[]> field = Move(mLocalExtraField); in PadExtraField() 378 mLocalExtraField = MakeUnique<uint8_t[]>(mLocalFieldLength + pad_size); in PadExtraField() 379 memcpy(mLocalExtraField.get(), field.get(), mLocalFieldLength); in PadExtraField() 383 WRITE16(mLocalExtraField.get(), &pos, 0xFFFF); in PadExtraField() 384 WRITE16(mLocalExtraField.get(), &pos, pad_size - 4); in PadExtraField() [all …]
|
H A D | nsZipHeader.h | 31 mLocalExtraField = nullptr; in ~nsZipHeader() 57 mLocalExtraField(nullptr) in nsZipHeader() 81 mozilla::UniquePtr<uint8_t[]> mLocalExtraField; variable
|
/dports/mail/thunderbird/thunderbird-91.8.0/modules/libjar/zipwriter/ |
H A D | nsZipHeader.cpp | 155 mLocalExtraField = MakeUnique<uint8_t[]>(mFieldLength); in Init() 156 if (mLocalExtraField) { in Init() 158 memcpy(mLocalExtraField.get(), mExtraField.get(), mLocalFieldLength); in Init() 201 rv = ZW_WriteData(aStream, (const char*)mLocalExtraField.get(), in WriteFileHeader() 309 const uint8_t* buf = aLocal ? mLocalExtraField.get() : mExtraField.get(); in GetExtraField() 363 UniquePtr<uint8_t[]> field = std::move(mLocalExtraField); in PadExtraField() 366 mLocalExtraField = MakeUnique<uint8_t[]>(mLocalFieldLength + pad_size); in PadExtraField() 367 memcpy(mLocalExtraField.get(), field.get(), mLocalFieldLength); in PadExtraField() 371 WRITE16(mLocalExtraField.get(), &pos, 0xFFFF); in PadExtraField() 372 WRITE16(mLocalExtraField.get(), &pos, pad_size - 4); in PadExtraField() [all …]
|
H A D | nsZipHeader.h | 29 mLocalExtraField = nullptr; in ~nsZipHeader() 56 mLocalExtraField(nullptr) {} in nsZipHeader() 78 mozilla::UniquePtr<uint8_t[]> mLocalExtraField; variable
|
/dports/lang/spidermonkey78/firefox-78.9.0/modules/libjar/zipwriter/ |
H A D | nsZipHeader.cpp | 155 mLocalExtraField = MakeUnique<uint8_t[]>(mFieldLength); in Init() 156 if (mLocalExtraField) { in Init() 158 memcpy(mLocalExtraField.get(), mExtraField.get(), mLocalFieldLength); in Init() 201 rv = ZW_WriteData(aStream, (const char*)mLocalExtraField.get(), in WriteFileHeader() 309 const uint8_t* buf = aLocal ? mLocalExtraField.get() : mExtraField.get(); in GetExtraField() 363 UniquePtr<uint8_t[]> field = std::move(mLocalExtraField); in PadExtraField() 366 mLocalExtraField = MakeUnique<uint8_t[]>(mLocalFieldLength + pad_size); in PadExtraField() 367 memcpy(mLocalExtraField.get(), field.get(), mLocalFieldLength); in PadExtraField() 371 WRITE16(mLocalExtraField.get(), &pos, 0xFFFF); in PadExtraField() 372 WRITE16(mLocalExtraField.get(), &pos, pad_size - 4); in PadExtraField() [all …]
|
H A D | nsZipHeader.h | 29 mLocalExtraField = nullptr; in ~nsZipHeader() 56 mLocalExtraField(nullptr) {} in nsZipHeader() 78 mozilla::UniquePtr<uint8_t[]> mLocalExtraField; variable
|