Searched refs:bstr (Results 1 - 23 of 23) sorted by relevance

/external/iproute2/tc/
H A Dm_ematch.h14 struct bstr struct
19 struct bstr *next;
22 extern struct bstr * bstr_alloc(const char *text);
24 static inline struct bstr * bstr_new(char *data, unsigned int len)
26 struct bstr *b = calloc(1, sizeof(*b));
37 static inline int bstrcmp(struct bstr *b, const char *text)
48 static inline struct bstr *bstr_next(struct bstr *b)
53 extern unsigned long bstrtoul(const struct bstr *b);
54 extern void bstr_print(FILE *fd, const struct bstr *
[all...]
H A Dem_meta.c125 static struct meta_entry * lookup_meta_entry(struct bstr *kind)
161 struct bstr *a = (struct bstr *) val;
248 static inline struct bstr *
249 parse_object(struct bstr *args, struct bstr *arg, struct tcf_meta_val *obj,
254 struct bstr *a;
359 struct bstr *args)
362 struct bstr *a;
H A Dem_nbyte.c41 struct bstr *args)
43 struct bstr *a;
44 struct bstr *needle = args;
H A Demp_ematch.y16 struct bstr *b;
H A Dm_ematch.c257 int em_parse_error(int err, struct bstr *args, struct bstr *carg,
495 struct bstr * bstr_alloc(const char *text)
497 struct bstr *b = calloc(1, sizeof(*b));
513 unsigned long bstrtoul(const struct bstr *b)
529 void bstr_print(FILE *fd, const struct bstr *b, int ascii)
560 struct bstr *b;
H A Dem_canid.c58 static int canid_parse_rule(struct rules *rules, struct bstr *a, int iseff)
93 struct bstr *args)
H A Dem_cmp.c41 struct bstr *args)
43 struct bstr *a;
H A Dem_u32.c37 struct bstr *args)
39 struct bstr *a;
H A Dem_ipset.c199 struct bstr *args)
/external/lzma/CPP/Common/
H A DMyWindows.cpp49 BSTR bstr = (BSTR)((CBstrSizeType *)p + 1); local
51 memcpy(bstr, s, len);
53 ((Byte *)bstr)[len] = 0;
54 return bstr;
67 BSTR bstr = (BSTR)((CBstrSizeType *)p + 1); local
69 memcpy(bstr, s, size);
70 bstr[len] = 0;
71 return bstr;
84 void SysFreeString(BSTR bstr) argument
86 if (bstr)
90 SysStringByteLen(BSTR bstr) argument
97 SysStringLen(BSTR bstr) argument
[all...]
H A DMyWindows.h197 MY_EXTERN_C void SysFreeString(BSTR bstr);
198 MY_EXTERN_C UINT SysStringByteLen(BSTR bstr);
199 MY_EXTERN_C UINT SysStringLen(BSTR bstr);
H A DMyCom.h76 inline HRESULT StringToBstr(LPCOLESTR src, BSTR *bstr) argument
78 *bstr = ::SysAllocString(src);
79 return (*bstr != NULL) ? S_OK : E_OUTOFMEMORY;
/external/webrtc/webrtc/base/
H A Dwinfirewall.cc137 _bstr_t bstr = filename; local
138 hr = app->put_ProcessImageFileName(bstr);
139 bstr = friendly_name;
141 hr = app->put_Name(bstr);
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_utility.cpp282 CFX_ByteString PDF_NameDecode(const CFX_ByteStringC& bstr) { argument
283 int size = bstr.GetLength();
284 const FX_CHAR* pSrc = bstr.GetCStr();
286 return bstr;
/external/libweave/third_party/libuweave/src/
H A Dmacaroon.c258 const uint8_t* bstr = NULL; local
261 &bstr, &bstr_len)) {
264 item_len = bstr - in; // The length of the first byte string header
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_buffer.cpp246 CFX_ArchiveSaver& CFX_ArchiveSaver::operator<<(const CFX_ByteStringC& bstr) { argument
247 int len = bstr.GetLength();
250 m_pStream->WriteBlock(bstr.GetPtr(), len);
253 m_SavingBuf.AppendBlock(bstr.GetPtr(), len);
H A Dfx_basic_gcc.cpp244 const FX_CHAR* bstr,
251 buf[wlen] = bstr[i];
242 FXSYS_MultiByteToWideChar(FX_DWORD codepage, FX_DWORD dwFlags, const FX_CHAR* bstr, int blen, FX_WCHAR* buf, int buflen) argument
H A Dfx_basic_bstring.cpp918 CFX_ByteString bstr; local
919 bstr.ConvertFrom(CFX_WideString(str, len));
920 return bstr;
/external/pdfium/core/include/fxcrt/
H A Dfx_basic.h150 CFX_ArchiveSaver& operator<<(const CFX_ByteStringC& bstr);
152 CFX_ArchiveSaver& operator<<(const FX_WCHAR* bstr);
183 CFX_ArchiveLoader& operator>>(CFX_ByteString& bstr);
246 const CFX_ByteString& bstr);
H A Dfx_system.h222 const char* bstr,
/external/pdfium/public/
H A Dfpdfview.h929 FPDF_LPCSTR bstr,
/external/pdfium/fpdfsdk/src/
H A Dfpdfview.cpp1085 FPDF_RESULT FPDF_BStr_Set(FPDF_BSTR* str, FPDF_LPCSTR bstr, int length) { argument
1088 if (!bstr || !length)
1091 length = FXSYS_strlen(bstr);
1111 FXSYS_memcpy(str->str, bstr, length);
/external/pdfium/core/include/fpdfapi/
H A Dfpdf_parser.h787 inline CFX_WideString PDF_DecodeText(const CFX_ByteString& bstr, argument
789 return PDF_DecodeText((const uint8_t*)bstr.c_str(), bstr.GetLength(),

Completed in 366 milliseconds