Home
last modified time | relevance | path

Searched refs:hasPrefix (Results 1 – 25 of 2013) sorted by relevance

12345678910>>...81

/dports/math/R-cran-haven/haven/src/
H A Dhaven_types.cpp30 bool hasPrefix(std::string x, std::string prefix) { in hasPrefix() function
59 else if (hasPrefix(format,"IS8601DA")) return HAVEN_DATE; in numType()
60 else if (hasPrefix(format,"E8601DA")) return HAVEN_DATE; in numType()
61 else if (hasPrefix(format,"B8601DA")) return HAVEN_DATE; in numType()
62 else if (hasPrefix(format,"WEEKDATE")) return HAVEN_DATE; in numType()
63 else if (hasPrefix(format,"MMDDYY")) return HAVEN_DATE; in numType()
64 else if (hasPrefix(format,"DDMMYY")) return HAVEN_DATE; in numType()
65 else if (hasPrefix(format,"YYMMDD")) return HAVEN_DATE; in numType()
66 else if (hasPrefix(format,"DATE")) return HAVEN_DATE; in numType()
67 else if (hasPrefix(format,"TIME")) return HAVEN_TIME; in numType()
[all …]
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/cmd/vendor/golang.org/x/arch/arm/armasm/
H A Dobjdump_test.go41 if hasPrefix(text, "error:") {
46 if hasPrefix(dec.text, "nop") && strings.Contains(dec.text, "{") {
56 if hasPrefix(dec.text, "nop") && hasPrefix(text, "nop") && dec.text == text+" {0}" {
61 if hasPrefix(text, "dsb") && hasPrefix(dec.text, "dsb") {
65 if hasPrefix(text, "isb") && hasPrefix(dec.text, "isb") {
69 if hasPrefix(text, "dmb") && hasPrefix(dec.text, "dmb") {
75 …if hasPrefix(text, "stmdb") && hasPrefix(dec.text, "push") && strings.Contains(text, "{}") && stri…
81 …if hasPrefix(text, "ldm") && hasPrefix(dec.text, "pop") && strings.Contains(text, "{}") && strings…
144 if hasPrefix(dec.text, "ldr", "str") && raw&0x01200000 == 0x00200000 {
155 if hasPrefix(dec.text, "pld") && raw&0xfd000010 != 0xf5000000 {
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mutationofjb/commands/
H A Dchangecommand.cpp71 if (valueString.hasPrefix("NM")) { in parseValueString()
75 } else if (valueString.hasPrefix("LT")) { in parseValueString()
78 } else if (valueString.hasPrefix("SX")) { in parseValueString()
81 } else if (valueString.hasPrefix("SY")) { in parseValueString()
84 } else if (valueString.hasPrefix("XX")) { in parseValueString()
87 } else if (valueString.hasPrefix("YY")) { in parseValueString()
90 } else if (valueString.hasPrefix("XL")) { in parseValueString()
151 if (!line.hasPrefix("CHANGED ")) { in parse()
168 if (!line.hasPrefix("CHANGEO ")) { in parse()
185 if (!line.hasPrefix("CHANGES ")) { in parse()
[all …]
H A Dendblockcommand.cpp73 if (line.size() >= 4 && (line.hasPrefix("#L ") || line.hasPrefix("-L "))) { in parse()
77 } else if (line.size() >= 4 && (line.hasPrefix("#W ") || line.hasPrefix("-W "))) { in parse()
81 } else if (line.size() >= 4 && (line.hasPrefix("#T ") || line.hasPrefix("-T "))) { in parse()
85 } else if (line.size() >= 4 && (line.hasPrefix("#P ") || line.hasPrefix("-P "))) { in parse()
89 } else if (line.size() >= 4 && (line.hasPrefix("#U ") || line.hasPrefix("-U "))) { in parse()
116 } else if ((line.hasPrefix("#ELSE") || line.hasPrefix("=ELSE"))) { in parse()
122 } else if (line.size() >= 8 && line.hasPrefix("#MACRO")) { in parse()
125 } else if (line.size() >= 10 && line.hasPrefix("#STARTUP")) { in parse()
129 } else if (line.size() >= 7 && line.hasPrefix("#EXTRA")) { in parse()
/dports/games/scummvm/scummvm-2.5.1/engines/mutationofjb/commands/
H A Dchangecommand.cpp71 if (valueString.hasPrefix("NM")) { in parseValueString()
75 } else if (valueString.hasPrefix("LT")) { in parseValueString()
78 } else if (valueString.hasPrefix("SX")) { in parseValueString()
81 } else if (valueString.hasPrefix("SY")) { in parseValueString()
84 } else if (valueString.hasPrefix("XX")) { in parseValueString()
87 } else if (valueString.hasPrefix("YY")) { in parseValueString()
90 } else if (valueString.hasPrefix("XL")) { in parseValueString()
151 if (!line.hasPrefix("CHANGED ")) { in parse()
168 if (!line.hasPrefix("CHANGEO ")) { in parse()
185 if (!line.hasPrefix("CHANGES ")) { in parse()
[all …]
H A Dendblockcommand.cpp73 if (line.size() >= 4 && (line.hasPrefix("#L ") || line.hasPrefix("-L "))) { in parse()
77 } else if (line.size() >= 4 && (line.hasPrefix("#W ") || line.hasPrefix("-W "))) { in parse()
81 } else if (line.size() >= 4 && (line.hasPrefix("#T ") || line.hasPrefix("-T "))) { in parse()
85 } else if (line.size() >= 4 && (line.hasPrefix("#P ") || line.hasPrefix("-P "))) { in parse()
89 } else if (line.size() >= 4 && (line.hasPrefix("#U ") || line.hasPrefix("-U "))) { in parse()
116 } else if ((line.hasPrefix("#ELSE") || line.hasPrefix("=ELSE"))) { in parse()
122 } else if (line.size() >= 8 && line.hasPrefix("#MACRO")) { in parse()
125 } else if (line.size() >= 10 && line.hasPrefix("#STARTUP")) { in parse()
129 } else if (line.size() >= 7 && line.hasPrefix("#EXTRA")) { in parse()
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/scripts/
H A Dbindings-cs.lua38 local function hasPrefix(str, prefix) function
48 if hasPrefix(arg.ctype, "uint64_t") then
50 elseif hasPrefix(arg.ctype, "int64_t") then
52 elseif hasPrefix(arg.ctype, "uint32_t") then
54 elseif hasPrefix(arg.ctype, "int32_t") then
56 elseif hasPrefix(arg.ctype, "uint16_t") then
58 elseif hasPrefix(arg.ctype, "bgfx_view_id_t") then
60 elseif hasPrefix(arg.ctype, "uint8_t") then
62 elseif hasPrefix(arg.ctype, "uintptr_t") then
68 elseif hasPrefix(arg.ctype, "char") then
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/scripts/
H A Dbindings-cs.lua38 local function hasPrefix(str, prefix) function
48 if hasPrefix(arg.ctype, "uint64_t") then
50 elseif hasPrefix(arg.ctype, "int64_t") then
52 elseif hasPrefix(arg.ctype, "uint32_t") then
54 elseif hasPrefix(arg.ctype, "int32_t") then
56 elseif hasPrefix(arg.ctype, "uint16_t") then
58 elseif hasPrefix(arg.ctype, "bgfx_view_id_t") then
60 elseif hasPrefix(arg.ctype, "uint8_t") then
62 elseif hasPrefix(arg.ctype, "uintptr_t") then
68 elseif hasPrefix(arg.ctype, "char") then
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/devtools/
H A Dconvbdf.cpp145 if (hasPrefix(line, "PIXEL_SIZE ")) { in main()
148 } else if (hasPrefix(line, "FONT ")) { in main()
150 } else if (hasPrefix(line, "COPYRIGHT ")) { in main()
152 } else if (hasPrefix(line, "COMMENT ")) { in main()
159 } else if (hasPrefix(line, "CHARS ")) { in main()
177 } else if (hasPrefix(line, "SLANT \"")) { in main()
186 } else if (hasPrefix(line, "FONT_ASCENT ")) { in main()
195 } else if (hasPrefix(line, "STARTCHAR ")) { in main()
213 if (hasPrefix(line, "ENCODING ")) { in main()
216 } else if (hasPrefix(line, "DWIDTH ")) { in main()
[all …]
/dports/games/scummvm/scummvm-2.5.1/devtools/
H A Dconvbdf.cpp174 if (hasPrefix(line, "PIXEL_SIZE ")) { in main()
177 } else if (hasPrefix(line, "FONT ")) { in main()
179 } else if (hasPrefix(line, "COPYRIGHT ")) { in main()
181 } else if (hasPrefix(line, "COMMENT ")) { in main()
188 } else if (hasPrefix(line, "CHARS ")) { in main()
206 } else if (hasPrefix(line, "SLANT \"")) { in main()
215 } else if (hasPrefix(line, "FONT_ASCENT ")) { in main()
224 } else if (hasPrefix(line, "STARTCHAR ")) { in main()
242 if (hasPrefix(line, "ENCODING ")) { in main()
245 } else if (hasPrefix(line, "DWIDTH ")) { in main()
[all …]
/dports/www/gohugo/hugo-0.91.2/helpers/
H A Durl.go121 hasPrefix := false
128 hasPrefix = true
130 hasPrefix = strings.HasPrefix(in2, prefix+"/")
133 if !hasPrefix {
164 hasPrefix := false
171 hasPrefix = true
173 hasPrefix = strings.HasPrefix(in2, prefix+"/")
176 if !hasPrefix {
/dports/misc/sword/sword-1.8.1/bindings/objc/src/
H A DSwordUtil.m37 if([entry hasPrefix:@"type="]) {
39 } else if([entry hasPrefix:@"module="]) {
41 } else if([entry hasPrefix:@"passage="]) {
43 } else if([entry hasPrefix:@"action="]) {
45 } else if([entry hasPrefix:@"value="]) {
75 if([unpaddedNumber hasPrefix:@"H"]) {
78 if([unpaddedNumber hasPrefix:@"G"]) {
/dports/sysutils/sensu-go/sensu-go-5.11.1/graphql/generator/
H A Ddescription.go27 if hasPrefix := strings.HasPrefix(desc, name); !hasPrefix {
38 if hasPrefix := strings.HasPrefix(desc, fName); !hasPrefix {
/dports/math/py-cryptominisat/cryptominisat-5.8.0/src/
H A Dmain_simple.cpp81 const char* hasPrefix(const char* str, const char* prefix)
96 if ((value = hasPrefix(argv[i], "--drat="))){
99 }else if ((value = hasPrefix(argv[i], "--verb="))){
106 }else if ((value = hasPrefix(argv[i], "--simdrat="))){
109 }else if ((value = hasPrefix(argv[i], "--threads="))){
118 }else if ((value = hasPrefix(argv[i], "--bva="))){
120 }else if ((value = hasPrefix(argv[i], "--sls="))){
126 }else if ((value = hasPrefix(argv[i], "--reconf="))){
/dports/math/cryptominisat/cryptominisat-5.8.0/src/
H A Dmain_simple.cpp81 const char* hasPrefix(const char* str, const char* prefix) in hasPrefix() function in Main
96 if ((value = hasPrefix(argv[i], "--drat="))){ in main()
99 }else if ((value = hasPrefix(argv[i], "--verb="))){ in main()
106 }else if ((value = hasPrefix(argv[i], "--simdrat="))){ in main()
109 }else if ((value = hasPrefix(argv[i], "--threads="))){ in main()
118 }else if ((value = hasPrefix(argv[i], "--bva="))){ in main()
120 }else if ((value = hasPrefix(argv[i], "--sls="))){ in main()
126 }else if ((value = hasPrefix(argv[i], "--reconf="))){ in main()
/dports/java/jaxen/jaxen-1.0-FCS/src/java/main/org/jaxen/expr/
H A DDefaultNameStep.java152 boolean hasPrefix = ( myPrefix != null ) && (! ( "".equals( myPrefix ) ) ); in matches()
169 return ( ! hasPrefix ) && matchesAnyName; in matches()
185 if ( hasPrefix ) in matches()
207 if ( ! hasPrefix in matches()
224 if ( ! hasPrefix ) in matches()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/true_talk/
H A Dtt_vocab.cpp524 if (tempStr.hasPrefix("pre")) { in getPrefixedWord()
526 } else if (tempStr.hasPrefix("re") || tempStr.hasPrefix("co")) { in getPrefixedWord()
528 } else if (tempStr.hasPrefix("inter") || tempStr.hasPrefix("multi")) { in getPrefixedWord()
530 } else if (tempStr.hasPrefix("over") || tempStr.hasPrefix("post") || tempStr.hasPrefix("self")) { in getPrefixedWord()
541 } else if (tempStr.hasPrefix("anti") || tempStr.hasPrefix("counter")) { in getPrefixedWord()
553 } else if (tempStr.hasPrefix("hyper") || tempStr.hasPrefix("super") || in getPrefixedWord()
554 tempStr.hasPrefix("ultra")) { in getPrefixedWord()
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/true_talk/
H A Dtt_vocab.cpp524 if (tempStr.hasPrefix("pre")) { in getPrefixedWord()
526 } else if (tempStr.hasPrefix("re") || tempStr.hasPrefix("co")) { in getPrefixedWord()
528 } else if (tempStr.hasPrefix("inter") || tempStr.hasPrefix("multi")) { in getPrefixedWord()
530 } else if (tempStr.hasPrefix("over") || tempStr.hasPrefix("post") || tempStr.hasPrefix("self")) { in getPrefixedWord()
541 } else if (tempStr.hasPrefix("anti") || tempStr.hasPrefix("counter")) { in getPrefixedWord()
553 } else if (tempStr.hasPrefix("hyper") || tempStr.hasPrefix("super") || in getPrefixedWord()
554 tempStr.hasPrefix("ultra")) { in getPrefixedWord()
/dports/cad/opencascade/opencascade-7.6.0/src/StepBasic/
H A DStepBasic_SiUnit.cxx28 hasPrefix = hasAprefix; in Init()
41 hasPrefix = Standard_True; in SetPrefix()
47 hasPrefix = Standard_False; in UnSetPrefix()
59 return hasPrefix; in HasPrefix()
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/runtime/
H A Dos_plan9.go125 if s[i] == t[0] && hasPrefix(s[i:], t) {
133 for hasPrefix(p, " ") || hasPrefix(p, "\t") {
137 if hasPrefix(p, "-") || hasPrefix(p, "+") {
140 for hasPrefix(p, " ") || hasPrefix(p, "\t") {
146 case hasPrefix(p, "0x"), hasPrefix(p, "0X"):
159 case hasPrefix(p, "0"):
/dports/devel/juce/JUCE-f37e9a1/modules/juce_blocks_basics/protocol/
H A Djuce_BlocksProtocolDefinitions.h191 bool isPadBlock() const noexcept { return hasPrefix ("LPB") || hasPrefix ("LPM"); } in isPadBlock()
192 bool isLiveBlock() const noexcept { return hasPrefix ("LIC"); } in isLiveBlock()
193 bool isLoopBlock() const noexcept { return hasPrefix ("LOC"); } in isLoopBlock()
194 bool isDevCtrlBlock() const noexcept { return hasPrefix ("DCB"); } in isDevCtrlBlock()
195 bool isTouchBlock() const noexcept { return hasPrefix ("TCB"); } in isTouchBlock()
196 bool isSeaboardBlock() const noexcept { return hasPrefix ("SBB"); } in isSeaboardBlock()
197 bool isLumiKeysBlock() const noexcept { return hasPrefix ("LKB"); } in isLumiKeysBlock()
201 bool hasPrefix (const char* prefix) const noexcept { return memcmp (data, prefix, 3) == 0; } in hasPrefix() function
/dports/lang/go-devel/go-dragonfly-amd64-bootstrap/src/runtime/
H A Dos_plan9.go115 for hasPrefix(p, " ") || hasPrefix(p, "\t") {
119 if hasPrefix(p, "-") || hasPrefix(p, "+") {
122 for hasPrefix(p, " ") || hasPrefix(p, "\t") {
128 case hasPrefix(p, "0x"), hasPrefix(p, "0X"):
141 case hasPrefix(p, "0"):
/dports/devel/sope/SOPE/sope-gdl1/PostgreSQL/
H A DNSNumber+PGVal.m57 if ([[_type lowercaseString] hasPrefix:@"float"])
64 if ([[_type lowercaseString] hasPrefix:@"smallint"])
71 if ([[_type lowercaseString] hasPrefix:@"int"])
77 if (![[_type lowercaseString] hasPrefix:@"bool"])
148 if (![[_type lowercaseString] hasPrefix:@"bool"])
153 if (![[_type lowercaseString] hasPrefix:@"money"])
164 if (!([_type hasPrefix:@"char"] ||
165 [_type hasPrefix:@"varchar"] ||
166 [_type hasPrefix:@"text"]))
/dports/devel/sope2/SOPE/sope-gdl1/PostgreSQL/
H A DNSNumber+PGVal.m57 if ([[_type lowercaseString] hasPrefix:@"float"])
64 if ([[_type lowercaseString] hasPrefix:@"smallint"])
71 if ([[_type lowercaseString] hasPrefix:@"int"])
77 if (![[_type lowercaseString] hasPrefix:@"bool"])
148 if (![[_type lowercaseString] hasPrefix:@"bool"])
153 if (![[_type lowercaseString] hasPrefix:@"money"])
164 if (!([_type hasPrefix:@"char"] ||
165 [_type hasPrefix:@"varchar"] ||
166 [_type hasPrefix:@"text"]))
/dports/www/gohugo/hugo-0.91.2/docs/content/en/functions/
H A DhasPrefix.md3 linktitle: hasPrefix
13 signature: ["hasPrefix STRING PREFIX"]
21 * `{{ hasPrefix "Hugo" "Hu" }}` → true

12345678910>>...81