Lines Matching refs:strings

87 	if !strings.HasPrefix(rest[0], commentStart) {
95 i := strings.Index(commentParagraph, commentEnd)
109 if !strings.HasPrefix(line, " *") {
116 if strings.HasPrefix(line, " ") {
195 i := strings.Index(s, "\n")
203 for strings.HasPrefix(decl, "#if") || strings.HasPrefix(decl, "#elif") {
207 if strings.HasPrefix(decl, "typedef ") {
212 if !strings.HasPrefix(decl, prefix) {
216 decl = strings.TrimPrefix(decl, prefix)
224 if prefix[0] != '#' && strings.Index(decl, "{") == -1 {
228 i := strings.IndexAny(decl, "( ")
234 decl = strings.TrimPrefix(decl, "OPENSSL_EXPORT ")
235 decl = strings.TrimPrefix(decl, "STACK_OF(")
236 decl = strings.TrimPrefix(decl, "LHASH_OF(")
237 i := strings.Index(decl, "(")
241 j := strings.LastIndex(decl[:i], " ")
252 return strings.Replace(name, " ", "-", -1)
256 …return strings.HasPrefix(name, "Private functions") || strings.HasPrefix(name, "Private structures…
312 if len(lines) > 0 && strings.HasPrefix(lines[0], commentStart) {
348 if strings.HasPrefix(line, commentStart) {
383 if strings.HasPrefix(line, commentStart) {
411 !strings.HasPrefix(comment[0], name) &&
412 !strings.HasPrefix(comment[0], "A "+name) &&
413 !strings.HasPrefix(comment[0], "An "+name) &&
414 !strings.HasPrefix(decl, "#define ") &&
415 !strings.HasPrefix(comment[0], "The ") &&
416 !strings.HasPrefix(comment[0], "These ") {
452 i := strings.Index(s, ". ")
466 i := strings.Index(s, "|")
474 i = strings.Index(s, "|")
475 j := strings.Index(s, " ")
499 end := strings.Index(string(s[start:]), " ")
502 w := strings.ToLower(string(s[start:end]))
505 if strings.ContainsRune(w, '<') {
519 if !strings.Contains(s, "\n") {
522 s = strings.Replace(s, "\n", "<br>", -1)
523 s = strings.Replace(s, " ", "&nbsp;", -1)