Lines Matching refs:byte_count

104                          DWORD byte_count) {
108 const_cast<uint8*>(value), byte_count);
114 DWORD byte_count) {
118 const_cast<uint8*>(value), byte_count);
145 DWORD byte_count = 0;
148 REG_BINARY, buffer.accept(), &byte_count);
150 ASSERT(byte_count == sizeof(*value));
151 if (byte_count == sizeof(*value)) {
164 DWORD byte_count = 0;
167 REG_BINARY, buffer.accept(), &byte_count);
169 ASSERT(byte_count == sizeof(*value));
170 if (byte_count == sizeof(*value)) {
212 DWORD* byte_count) {
215 ASSERT(byte_count != NULL);
218 REG_BINARY, value, byte_count);
387 DWORD byte_count) {
411 byte_count);
415 byte_count, type);
437 DWORD* byte_count) {
465 byte_count);
486 DWORD* byte_count) const {
487 ASSERT(byte_count != NULL);
495 LONG res = ::SHQueryValueEx(h_key_, value_name, NULL, type, NULL, byte_count);
500 if (*byte_count != 0) {
502 *value = new byte[*byte_count];
507 type, *value, byte_count);
520 DWORD byte_count = sizeof(DWORD);
522 value, &byte_count);
525 ASSERT((hr != S_OK) || (byte_count == sizeof(DWORD)));
534 DWORD byte_count = sizeof(DWORD64);
536 value, &byte_count);
539 ASSERT((hr != S_OK) || (byte_count == sizeof(DWORD64)));
547 DWORD byte_count = 0;
552 &type, NULL, &byte_count);
557 *value = new wchar_t[(byte_count / sizeof(wchar_t)) + 1];
560 if (byte_count != 0) {
563 *value, &byte_count);
583 DWORD byte_count = 0;
588 &type, NULL, &byte_count);
592 if (byte_count != 0) {
594 value->resize(byte_count / sizeof(wchar_t) + 1);
596 &value->at(0), &byte_count);
612 DWORD byte_count,
618 DWORD data_len = byte_count / sizeof(wchar_t);
641 DWORD byte_count = 0;
646 HRESULT hr = GetValueHelper(value_name, &type, &buffer, &byte_count);
650 hr = MultiSZBytesToStringArray(buffer, byte_count, value);
659 DWORD* byte_count) const {
660 ASSERT(byte_count != NULL);
664 HRESULT hr = GetValueHelper(value_name, &type, value, byte_count);
672 DWORD* byte_count,
675 ASSERT(byte_count != NULL);
678 return GetValueHelper(value_name, type, value, byte_count);
716 DWORD byte_count) const {
719 // special case - if 'value' is NULL make sure byte_count is zero
721 byte_count = 0;
725 REG_BINARY, value, byte_count);
732 DWORD byte_count,
737 LONG res = ::RegSetValueEx(h_key_, value_name, NULL, type, value, byte_count);