Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: third_party/lzma_sdk/7zBuf.c

Issue 1700453002: Update lzma_sdk sources to 15.14. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium modifications Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/lzma_sdk/7zBuf.h ('k') | third_party/lzma_sdk/7zCrc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 7zBuf.c -- Byte Buffer 1 /* 7zBuf.c -- Byte Buffer
2 2008-03-28 2 2013-01-21 : Igor Pavlov : Public domain */
3 Igor Pavlov 3
4 Public domain */ 4 #include "Precomp.h"
5 5
6 #include "7zBuf.h" 6 #include "7zBuf.h"
7 7
8 void Buf_Init(CBuf *p) 8 void Buf_Init(CBuf *p)
9 { 9 {
10 p->data = 0; 10 p->data = 0;
11 p->size = 0; 11 p->size = 0;
12 } 12 }
13 13
14 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc) 14 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc)
(...skipping 12 matching lines...) Expand all
27 } 27 }
28 return 0; 28 return 0;
29 } 29 }
30 30
31 void Buf_Free(CBuf *p, ISzAlloc *alloc) 31 void Buf_Free(CBuf *p, ISzAlloc *alloc)
32 { 32 {
33 alloc->Free(alloc, p->data); 33 alloc->Free(alloc, p->data);
34 p->data = 0; 34 p->data = 0;
35 p->size = 0; 35 p->size = 0;
36 } 36 }
OLDNEW
« no previous file with comments | « third_party/lzma_sdk/7zBuf.h ('k') | third_party/lzma_sdk/7zCrc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698