Home
last modified time | relevance | path

Searched refs:strref (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/dports/multimedia/obs-studio/obs-studio-27.1.3/libobs/util/
H A Dlexer.h30 struct strref { struct
35 static inline void strref_clear(struct strref *dst) in strref_clear() argument
47 static inline void strref_copy(struct strref *dst, const struct strref *src) in strref_copy()
53 static inline void strref_add(struct strref *dst, const struct strref *t) in strref_add()
61 static inline bool strref_is_empty(const struct strref *str) in strref_is_empty()
68 EXPORT int strref_cmp_strref(const struct strref *str1,
69 const struct strref *str2);
70 EXPORT int strref_cmpi_strref(const struct strref *str1,
71 const struct strref *str2);
78 static inline bool valid_int_strref(const struct strref *str) in valid_int_strref()
[all …]
/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/TLKImporter/
H A DTlkOverride.cpp153 strref = GetNewStrRef(strref); in UpdateString()
154 offset = LocateString(strref); in UpdateString()
155 assert(strref!=0xffffffff); in UpdateString()
199 return strref; in UpdateString()
276 if (strref >= BIO_START && strref <= BIO_END) { in GetNewStrRef()
277 entry.strref = strref; in GetNewStrRef()
279 entry.strref = GetNextStrRef(); in GetNewStrRef()
284 toh_str->WriteDword(&entry.strref); in GetNewStrRef()
290 return entry.strref; in GetNewStrRef()
304 if (strref2==strref) { in LocateString()
[all …]
H A DTLKImporter.cpp244 int strref = ClassStrRef(-1); in BuiltinToken() local
245 if (strref<=0) return -1; in BuiltinToken()
246 Decoded = GetCString( strref, 0); in BuiltinToken()
380 return OverrideTLK->UpdateString(strref, newvalue); in UpdateString()
385 char* cstr = GetCString(strref, flags); in GetString()
394 bool empty = !(flags & IE_STR_ALLOW_ZERO) && !strref; in GetCString()
399 if (empty || strref >= STRREF_START || (strref >= BIO_START && strref <= BIO_END)) { in GetCString()
401 string = OverrideTLK->ResolveAuxString(strref, Length); in GetCString()
476 bool empty = !(flags & IE_STR_ALLOW_ZERO) && !strref; in GetStringBlock()
477 if (empty || strref >= StrRefCount) { in GetStringBlock()
[all …]
H A DTlkOverride.h49 ieDword strref; member
69 ieStrRef GetNewStrRef(ieStrRef strref);
70 ieDword LocateString(ieStrRef strref);
81 char *ResolveAuxString(ieStrRef strref, int &Length);
82 ieStrRef UpdateString(ieStrRef strref, const char *newvalue);
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/include/mlir/IR/
H A DIdentifier.h37 StringRef strref() const { return entry->first(); } in strref() function
40 operator StringRef() const { return strref(); } in StringRef()
43 std::string str() const { return strref().str(); } in str()
71 int compare(Identifier rhs) const { return strref().compare(rhs.strref()); } in compare()
87 return lhs.strref() == rhs;
92 return rhs.strref() == lhs;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/include/mlir/IR/
H A DIdentifier.h37 StringRef strref() const { return entry->first(); } in strref() function
40 operator StringRef() const { return strref(); } in StringRef()
43 std::string str() const { return strref().str(); } in str()
71 int compare(Identifier rhs) const { return strref().compare(rhs.strref()); } in compare()
87 return lhs.strref() == rhs;
92 return rhs.strref() == lhs;
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/include/mlir/IR/
H A DIdentifier.h37 StringRef strref() const { return entry->first(); } in strref() function
40 operator StringRef() const { return strref(); } in StringRef()
43 std::string str() const { return strref().str(); } in str()
71 int compare(Identifier rhs) const { return strref().compare(rhs.strref()); } in compare()
87 return lhs.strref() == rhs;
92 return rhs.strref() == lhs;
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/include/mlir/IR/
H A DIdentifier.h48 StringRef strref() const { return entry->first(); } in strref() function
51 operator StringRef() const { return strref(); } in StringRef()
54 std::string str() const { return strref().str(); } in str()
91 int compare(Identifier rhs) const { return strref().compare(rhs.strref()); } in compare()
107 return lhs.strref() == rhs;
112 return rhs.strref() == lhs;
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/include/mlir/IR/
H A DIdentifier.h48 StringRef strref() const { return entry->first(); } in strref() function
51 operator StringRef() const { return strref(); } in StringRef()
54 std::string str() const { return strref().str(); } in str()
91 int compare(Identifier rhs) const { return strref().compare(rhs.strref()); } in compare()
107 return lhs.strref() == rhs;
112 return rhs.strref() == lhs;
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/include/mlir/IR/
H A DIdentifier.h48 StringRef strref() const { return entry->first(); } in strref() function
51 operator StringRef() const { return strref(); } in StringRef()
54 std::string str() const { return strref().str(); } in str()
91 int compare(Identifier rhs) const { return strref().compare(rhs.strref()); } in compare()
107 return lhs.strref() == rhs;
112 return rhs.strref() == lhs;
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/include/mlir/IR/
H A DIdentifier.h48 StringRef strref() const { return entry->first(); }
51 operator StringRef() const { return strref(); }
54 std::string str() const { return strref().str(); }
91 int compare(Identifier rhs) const { return strref().compare(rhs.strref()); }
107 return lhs.strref() == rhs;
112 return rhs.strref() == lhs;
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/libutil/
H A Dustring.cpp345 length = strref.length(); in TableRep()
346 memcpy((char*)c_str(), strref.data(), length); in TableRep()
409 str = strref; in TableRep()
427 ustring::make_unique(string_view strref) in make_unique() argument
431 if (!strref.data()) in make_unique()
432 strref = string_view("", 0); in make_unique()
434 size_t hash = Strutil::strhash(strref); in make_unique()
442 const char* result = table.lookup(strref, hash); in make_unique()
446 return table.insert(strref, hash); in make_unique()
481 result = table.insert(strref, hash); in make_unique()
[all …]
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/libutil/
H A Dustring.cpp345 length = strref.length(); in TableRep()
346 memcpy((char*)c_str(), strref.data(), length); in TableRep()
409 str = strref; in TableRep()
427 ustring::make_unique(string_view strref) in make_unique() argument
431 if (!strref.data()) in make_unique()
432 strref = string_view("", 0); in make_unique()
434 size_t hash = Strutil::strhash(strref); in make_unique()
442 const char* result = table.lookup(strref, hash); in make_unique()
446 return table.insert(strref, hash); in make_unique()
481 result = table.insert(strref, hash); in make_unique()
[all …]
/dports/sysutils/p5-MogileFS-Server/MogileFS-Server-2.73/lib/MogileFS/
H A DReplicationPolicy.pm24 my $strref = ref $str_a ? $str_a : \$str_a;
26 $$strref =~ s/^\s*([\w:]+)// or die "Failed to parse policy string: $$strref";
35 return $polclass->new_from_policy_args($strref);
/dports/games/gemrb/gemrb-0.9.0/gemrb/GUIScripts/iwd2/
H A DCharOverview.py41 def AddText(strref, newlines=0): argument
42 TextAreaControl.Append (strref)
147 strref = 1049 + GemRB.GetVar('Gender')
148 AddText(strref, 1)
168 strref = Tables[3].GetValue(i, 2)
169 AddText(strref)
206 strref = Tables[5].GetValue(i, 1)
207 AddText(strref)
217 strref = Tables[7].GetValue(i, 1)
218 AddText(strref)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/utils/
H A DClangDataFormat.py35 def StringRef_summary(strref, internal_dict): argument
36 return StringRef(strref).summary()
83 def __init__(self, strref): argument
84 self.strref = strref
85 self.Data_value = strref.GetChildAtIndex(0)
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()

12345678910>>...16