/third_party/lzma/CPP/Common/ |
D | MyWindows.cpp | 53 BSTR bstr = (BSTR)((CBstrSizeType *)p + 1); in SysAllocStringByteLen() local 55 memcpy(bstr, s, len); in SysAllocStringByteLen() 57 ((Byte *)bstr)[len] = 0; in SysAllocStringByteLen() 58 return bstr; in SysAllocStringByteLen() 71 BSTR bstr = (BSTR)((CBstrSizeType *)p + 1); in SysAllocStringLen() local 73 memcpy(bstr, s, size); in SysAllocStringLen() 74 bstr[len] = 0; in SysAllocStringLen() 75 return bstr; in SysAllocStringLen() 88 void SysFreeString(BSTR bstr) in SysFreeString() argument 90 if (bstr) in SysFreeString() [all …]
|
D | MyWindows.h | 213 MY_EXTERN_C void SysFreeString(BSTR bstr); 214 MY_EXTERN_C UINT SysStringByteLen(BSTR bstr); 215 MY_EXTERN_C UINT SysStringLen(BSTR bstr);
|
D | MyCom.h | 77 inline HRESULT StringToBstr(LPCOLESTR src, BSTR *bstr) in StringToBstr() argument 79 *bstr = ::SysAllocString(src); in StringToBstr() 80 return (*bstr) ? S_OK : E_OUTOFMEMORY; in StringToBstr()
|
/third_party/musl/src/misc/ |
D | fmtmsg.c | 16 static int _strcolcmp(const char *lstr, const char *bstr) in _strcolcmp() argument 19 while (lstr[i] && bstr[i] && (bstr[i] == lstr[i])) i++; in _strcolcmp() 20 if ( lstr[i] || (bstr[i] && bstr[i] != ':')) return 1; in _strcolcmp()
|
/third_party/rust/crates/memchr/bench/src/memmem/ |
D | imp.rs | 216 pub(crate) mod bstr { module 223 bstr::ByteSlice::find(haystack.as_bytes(), needle.as_bytes()) in oneshot() 230 let finder = bstr::Finder::new(needle).into_owned(); in prebuilt() 238 bstr::ByteSlice::find_iter(haystack.as_bytes(), needle.as_bytes()) in oneshotiter() 242 PrebuiltIter(bstr::Finder::new(needle).into_owned()) in prebuiltiter() 246 pub(crate) struct PrebuiltIter(bstr::Finder<'static>); 264 bstr::ByteSlice::rfind(haystack.as_bytes(), needle.as_bytes()) in oneshot() 271 let finder = bstr::FinderReverse::new(needle).into_owned(); in prebuilt() 279 bstr::ByteSlice::rfind_iter(haystack.as_bytes(), needle.as_bytes()) in oneshotiter() 283 PrebuiltIter(bstr::FinderReverse::new(needle).into_owned()) in prebuiltiter() [all …]
|
D | mod.rs | 160 def_impl!($inp, $q, $freq, bstr); in oneshot() 228 def_impl!($inp, $q, $freq, bstr); in prebuilt() 296 def_impl!($inp, $q, $freq, bstr); in oneshot_iter() 364 def_impl!($inp, $q, $freq, bstr); in prebuilt_iter()
|
/third_party/python/Lib/test/test_email/ |
D | test_inversion.py | 16 def dedent(bstr): argument 17 lines = bstr.splitlines()
|
/third_party/cups-filters/filter/pdftopdf/ |
D | pptypes.cc | 68 static const char *bstr[6]={"None",NULL,"one thin","one thick","two thin","two thick"}; in BorderType_dump() local 69 fputs(bstr[border],stderr); in BorderType_dump()
|
D | pdftopdf_processor.cc | 9 static const char *bstr[3]={"Off","On","Shuffle-Only"}; in BookletMode_dump() local 13 fputs(bstr[bkm],stderr); in BookletMode_dump()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | CodedOutputStreamTest.cs | 366 ByteString bstr = cin.ReadBytes(); in TestCodedInputOutputPosition() 367 Assert.AreEqual(110, bstr.Length); in TestCodedInputOutputPosition() 368 Assert.AreEqual((byte) 109, bstr[109]); in TestCodedInputOutputPosition()
|
/third_party/node/deps/npm/node_modules/npm-pick-manifest/lib/ |
D | index.js | 197 const bstr = before ? new Date(before).toLocaleString() : '' constant 200 (before ? ` with a date before ${bstr}` : '')
|
/third_party/rust/crates/memchr/bench/ |
D | Cargo.toml | 21 bstr = "0.2.15"
|
D | Cargo.lock | 27 name = "bstr" 176 "bstr",
|
/third_party/python/Lib/test/ |
D | test_base64.py | 252 for bstr, res in tests: 254 with self.subTest(bstr=bstr, func=func): 255 self.assertEqual(func(bstr), res) 256 self.assertEqual(func(bstr.decode('ascii')), res) 258 base64.b64decode(bstr, validate=True) 260 base64.b64decode(bstr.decode('ascii'), validate=True)
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | CodedOutputStreamTest.cs | 460 ByteString bstr = cin.ReadBytes(); in TestCodedInputOutputPosition() 461 Assert.AreEqual(110, bstr.Length); in TestCodedInputOutputPosition() 462 Assert.AreEqual((byte) 109, bstr[109]); in TestCodedInputOutputPosition()
|
/third_party/rust/crates/memchr/bench/data/pathological/ |
D | README.md | 11 input defeats a heuristic in the old bstr and regex substring implementations 15 `O(mn)` time complexity. (In the case of `bstr`, it does a little better by
|
/third_party/gn/src/gn/ |
D | parse_tree.cc | 988 std::string_view bstr = GetStringRepresentation(b); in SortAsStringsList() local 989 return astr < bstr; in SortAsStringsList() 998 std::string_view bstr = GetStringRepresentation(b); in SortAsTargetsList() local 1000 std::make_pair(GetDepsCategory(bstr), SplitAtFirst(bstr, ':')); in SortAsTargetsList()
|
/third_party/python/Modules/_ctypes/ |
D | cfield.c | 1378 BSTR bstr; in BSTR_set() local 1402 bstr = SysAllocStringLen(wvalue, (unsigned)wsize); in BSTR_set() 1405 bstr = NULL; in BSTR_set() 1412 *(BSTR *)ptr = bstr; in BSTR_set()
|
/third_party/libuv/src/win/ |
D | process.c | 663 wchar_t* bstr = *(wchar_t* const*)b; in qsort_wcscmp() local 664 return env_strncmp(astr, -1, bstr); in qsort_wcscmp()
|
/third_party/libinput/test/ |
D | litest.h | 107 const char *bstr); 116 const char *bstr);
|
D | litest.c | 203 const char *bstr) in litest_fail_comparison_int() argument 205 litest_log("FAILED COMPARISON: %s %s %s\n", astr, operator, bstr); in litest_fail_comparison_int() 221 const char *bstr) in litest_fail_comparison_double() argument 223 litest_log("FAILED COMPARISON: %s %s %s\n", astr, operator, bstr); in litest_fail_comparison_double()
|
/third_party/node/deps/uv/src/win/ |
D | process.c | 663 wchar_t* bstr = *(wchar_t* const*)b; in qsort_wcscmp() local 664 return env_strncmp(astr, -1, bstr); in qsort_wcscmp()
|
/third_party/rust/crates/memchr/bench/runs/2021-05-01_regex-and-bstr/ |
D | README.md | 9 These benchmarks were run after updating the `regex` and `bstr` crates to use
|
/third_party/rust/crates/regex/ |
D | CHANGELOG.md | 386 Moving forward, the plan is to join up with the `bstr` and `regex-automata`
|
/third_party/astc-encoder/Test/Images/HDRIHaven/HDR-RGB/ |
D | hdr-rgb-arboretum.hdr | 1165 …���������������������������������ikn�_�c^���l`]LKh�����kv�{l��qnkwzr_��^`bstr��svmaqqutjbU~�bi]g…
|