Searched refs:bstr (Results 1 - 25 of 25) 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/pdfium/core/fpdfapi/parser/
H A Dfpdf_parser_utility.cpp90 CFX_ByteString PDF_NameDecode(const CFX_ByteStringC& bstr) { argument
91 if (bstr.Find('#') == -1)
92 return CFX_ByteString(bstr);
94 int size = bstr.GetLength();
99 if (bstr[i] == '#' && i < size - 2) {
101 FXSYS_toHexDigit(bstr[i + 1]) * 16 + FXSYS_toHexDigit(bstr[i + 2]);
104 *pDest++ = bstr[i];
H A Dfpdf_parser_decode.h25 CFX_WideString PDF_DecodeText(const CFX_ByteString& bstr);
H A Dfpdf_parser_decode.cpp464 CFX_WideString PDF_DecodeText(const CFX_ByteString& bstr) { argument
465 return PDF_DecodeText((const uint8_t*)bstr.c_str(), bstr.GetLength());
/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/spirv-llvm/lib/SPIRV/Mangler/
H A DMangler.cpp43 std::string bstr; local
46 bstr.reserve(7);
48 bstr += charset.substr(SeqID % 36, 1);
49 std::reverse(bstr.begin(), bstr.end());
50 m_stream << bstr; local
/external/pdfium/core/fxcrt/
H A Dfx_basic_gcc.cpp238 const FX_CHAR* bstr,
245 buf[wlen] = bstr[i];
236 FXSYS_MultiByteToWideChar(uint32_t codepage, uint32_t dwFlags, const FX_CHAR* bstr, int blen, FX_WCHAR* buf, int buflen) argument
H A Dfx_basic_wstring.cpp997 CFX_ByteString bstr; local
999 FX_CHAR* dest_buf = bstr.GetBuffer(dest_len);
1002 bstr.ReleaseBuffer(dest_len);
1004 return bstr;
1009 const CFX_ByteStringC& bstr) {
1011 int src_len = bstr.GetLength();
1013 FXSYS_MultiByteToWideChar(codepage, 0, bstr.c_str(), src_len, nullptr, 0);
1017 FXSYS_MultiByteToWideChar(codepage, 0, bstr.c_str(), src_len, dest_buf,
1008 GetWideString(uint16_t codepage, const CFX_ByteStringC& bstr) argument
H A Dfx_system.h235 const char* bstr,
H A Dfx_basic.h140 const CFX_ByteStringC& bstr);
/external/protobuf/csharp/src/Google.Protobuf.Test/
H A DCodedOutputStreamTest.cs366 ByteString bstr = cin.ReadBytes();
367 Assert.AreEqual(110, bstr.Length);
368 Assert.AreEqual((byte) 109, bstr[109]);
/external/pdfium/fpdfsdk/
H A Dfpdfview.cpp1161 FPDF_LPCSTR bstr,
1165 if (!bstr || !length)
1168 length = FXSYS_strlen(bstr);
1185 FXSYS_memcpy(str->str, bstr, length);
1160 FPDF_BStr_Set(FPDF_BSTR* str, FPDF_LPCSTR bstr, int length) argument
/external/pdfium/public/
H A Dfpdfview.h1027 FPDF_LPCSTR bstr,
/external/pdfium/fpdfsdk/javascript/
H A DJS_Value.cpp130 CFX_ByteString bstr = ToCFXByteString(pRuntime); local
131 if (bstr.GetLength() == 0)
133 if (bstr == "NaN")

Completed in 427 milliseconds