HomeSort by relevance Sort by last modified time
    Searched refs:guid (Results 1 - 25 of 304) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/google-breakpad/src/common/windows/
guid_string.cc 43 wstring GUIDString::GUIDToWString(GUID *guid) {
48 guid->Data1, guid->Data2, guid->Data3,
49 guid->Data4[0], guid->Data4[1], guid->Data4[2],
50 guid->Data4[3], guid->Data4[4], guid->Data4[5]
    [all...]
guid_string.h 45 // Converts guid to a string in the format recommended by RFC 4122 and
47 static wstring GUIDToWString(GUID *guid);
49 // Converts guid to a string formatted as uppercase hexadecimal, with
53 static wstring GUIDToSymbolServerWString(GUID *guid);
  /external/google-breakpad/src/common/solaris/
guid_creator.cc 44 // This class is used to generate random GUID.
45 // Currently use random number to generate a GUID. This should be OK since
54 bool CreateGUID(GUID *guid) const {
55 guid->data1 = random();
56 guid->data2 = (uint16_t)(random());
57 guid->data3 = (uint16_t)(random());
58 *reinterpret_cast<uint32_t*>(&guid->data4[0]) = random();
59 *reinterpret_cast<uint32_t*>(&guid->data4[4]) = random();
64 // Guid generator
    [all...]
guid_creator.h 37 typedef MDGUID GUID;
39 // Format string for parsing GUID.
41 // Length of GUID string. Don't count the ending '\0'.
44 // Create a guid.
45 bool CreateGUID(GUID *guid);
47 // Get the string from guid.
48 bool GUIDToString(const GUID *guid, char *buf, int buf_len);
  /external/google-breakpad/src/common/linux/
guid_creator.h 35 typedef MDGUID GUID;
37 // Format string for parsing GUID.
39 // Length of GUID string. Don't count the ending '\0'.
42 // Create a guid.
43 bool CreateGUID(GUID *guid);
45 // Get the string from guid.
46 bool GUIDToString(const GUID *guid, char *buf, int buf_len);
guid_creator.cc 42 // This class is used to generate random GUID.
43 // Currently use random number to generate a GUID since Linux has
44 // no native GUID generator. This should be OK since we don't expect
63 static bool CreateGUID(GUID *guid) {
65 guid->data1 = random();
66 guid->data2 = (uint16_t)(random());
67 guid->data3 = (uint16_t)(random());
68 UInt32ToBytes(&guid->data4[0], random());
69 UInt32ToBytes(&guid->data4[4], random())
    [all...]
  /external/libchrome/base/
guid.cc 5 #include "base/guid.h"
13 bool IsValidGUID(const std::string& guid) {
15 if (guid.length() != kGUIDLength)
18 for (size_t i = 0; i < guid.length(); ++i) {
19 char current = guid[i];
guid_unittest.cc 5 #include "base/guid.h"
21 bool IsGUIDv4(const std::string& guid) {
22 // The format of GUID version 4 must be xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx,
24 return IsValidGUID(guid) && guid[14] == '4' &&
25 (guid[19] == '8' || guid[19] == '9' || guid[19] == 'A' ||
26 guid[19] == 'a' || guid[19] == 'B' || guid[19] == 'b')
47 std::string guid = GenerateGUID(); local
    [all...]
guid.h 17 // Generate a 128-bit random GUID of the form: "%08X-%04X-%04X-%04X-%012llX".
18 // If GUID generation fails an empty string is returned.
20 // the GUID. The Windows implementation uses system services.
23 // Returns true if the input string conforms to the GUID format.
24 BASE_EXPORT bool IsValidGUID(const std::string& guid);
  /external/vboot_reference/host/lib21/include/
host_misc2.h 12 #include "2guid.h"
21 * @param guid Destination for binary representation
24 int vb2_str_to_guid(const char *str, struct vb2_guid *guid);
29 * @param guid Binary representation
33 int vb2_guid_to_str(const struct vb2_guid *guid,
  /external/libweave/third_party/chromium/base/
guid_unittest.cc 5 #include "base/guid.h"
29 bool IsValidGUID(const std::string& guid) {
31 if (guid.length() != kGUIDLength)
34 for (size_t i = 0; i < guid.length(); ++i) {
35 char current = guid[i];
48 bool IsGUIDv4(const std::string& guid) {
49 // The format of GUID version 4 must be xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx,
51 return IsValidGUID(guid) && guid[14] == '4' &&
52 (guid[19] == '8' || guid[19] == '9' || guid[19] == 'A' |
74 std::string guid = GenerateGUID(); local
    [all...]
  /external/vboot_reference/host/lib21/
host_misc.c 97 int vb2_str_to_guid(const char *str, struct vb2_guid *guid)
125 guid->uuid.time_low = htole32(time_low);
126 guid->uuid.time_mid = htole16(time_mid);
127 guid->uuid.time_high_and_version = htole16(time_high_and_version);
129 guid->uuid.clock_seq_high_and_reserved = chunk[3] & 0xff;
130 guid->uuid.clock_seq_low = chunk[4] & 0xff;
131 guid->uuid.node[0] = chunk[5] & 0xff;
132 guid->uuid.node[1] = chunk[6] & 0xff;
133 guid->uuid.node[2] = chunk[7] & 0xff;
134 guid->uuid.node[3] = chunk[8] & 0xff
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
device.py 13 guid: A unique id of the device. Subclass of device must specify this
15 guid.
18 def __init__(self, name, guid):
20 self._guid = guid
27 def guid(self): member in class:Device
  /frameworks/wilhelm/tests/examples/
slesTestEffectCapabilities.cpp 46 void guidToString(const SLInterfaceID guid, char *str) {
47 if ((NULL == guid) || (NULL == str)) {
51 guid->time_low,
52 guid->time_mid,
53 guid->time_hi_and_version,
54 guid->clock_seq,
55 guid->node[0],
56 guid->node[1],
57 guid->node[2],
58 guid->node[3]
    [all...]
  /frameworks/av/soundtrigger/
SoundTrigger.cpp 241 status_t SoundTrigger::stringToGuid(const char *str, sound_trigger_uuid_t *guid)
243 if (str == NULL || guid == NULL) {
253 guid->timeLow = (uint32_t)tmp[0];
254 guid->timeMid = (uint16_t)tmp[1];
255 guid->timeHiAndVersion = (uint16_t)tmp[2];
256 guid->clockSeq = (uint16_t)tmp[3];
257 guid->node[0] = (uint8_t)tmp[4];
258 guid->node[1] = (uint8_t)tmp[5];
259 guid->node[2] = (uint8_t)tmp[6];
260 guid->node[3] = (uint8_t)tmp[7]
    [all...]
  /external/chromium-trace/catapult/third_party/coverage/coverage/htmlfiles/
jquery.debounce.min.js 9 (function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this);
  /external/google-breakpad/src/client/linux/handler/
minidump_descriptor.cc 74 GUID guid; local
76 if (!CreateGUID(&guid) || !GUIDToString(&guid, guid_str, sizeof(guid_str))) {
  /external/vboot_reference/host/include/
vboot_host.h 33 /* GUID conversion functions. Accepted format:
41 int StrToGuid(const char *str, Guid *guid);
42 void GuidToStr(const Guid *guid, char *str, unsigned int buflen);
43 int GuidEqual(const Guid *guid1, const Guid *guid2);
44 int GuidIsZero(const Guid *guid);
  /external/clang/test/Preprocessor/
output_paste_avoid.cpp 35 // Make sure we don't introduce spaces in the guid because we try to avoid
37 #define TYPEDEF(guid) typedef [uuid(guid)]
  /external/gptfdisk/
bsd.cc 268 GPTPart guid; // dump data in here, then return it local
272 guid.BlankPartition();
296 guid.SetFirstLBA(sectorOne);
297 guid.SetLastLBA(sectorEnd);
298 // Now set a random unique GUID for the partition....
299 guid.RandomizeUniqueGUID();
301 guid.SetAttributes(UINT64_C(0));
310 guid.SetType(0xa502); break;
312 guid.SetType(0xa503); break;
314 guid.SetType(0x0700); break
    [all...]
  /external/libchrome/base/trace_event/
memory_allocator_dump_guid.cc 23 MemoryAllocatorDumpGuid::MemoryAllocatorDumpGuid(uint64_t guid) : guid_(guid) {}
memory_allocator_dump.h 32 const MemoryAllocatorDumpGuid& guid);
71 // |guid| is an optional global dump identifier, unique across all processes
76 // expected to have the same guid.
77 const MemoryAllocatorDumpGuid& guid() const { return guid_; } function in class:base::trace_event::MemoryAllocatorDump
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
ksguid.h 18 #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) }
20 #define DEFINE_GUIDEX(name) const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) }
23 #define STATICGUIDOF(guid) STATIC_##guid
  /external/chromium-trace/catapult/perf_insights/perf_insights/mre/
failure_unittest.py 12 def _SingleFileFunctionHandle(filename, function_name, guid):
15 function_name=function_name, guid=guid)
53 self.assertEquals(failure.job.guid, '1')
  /frameworks/av/media/libmedia/
AudioEffect.cpp 446 status_t AudioEffect::stringToGuid(const char *str, effect_uuid_t *guid)
448 if (str == NULL || guid == NULL) {
458 guid->timeLow = (uint32_t)tmp[0];
459 guid->timeMid = (uint16_t)tmp[1];
460 guid->timeHiAndVersion = (uint16_t)tmp[2];
461 guid->clockSeq = (uint16_t)tmp[3];
462 guid->node[0] = (uint8_t)tmp[4];
463 guid->node[1] = (uint8_t)tmp[5];
464 guid->node[2] = (uint8_t)tmp[6];
465 guid->node[3] = (uint8_t)tmp[7]
    [all...]

Completed in 788 milliseconds

1 2 3 4 5 6 7 8 91011>>