Lines Matching refs:symbol

201 def updateWord(name, symbol, relevance):  argument
210 if symbol == None:
217 (name, symbol, relevance))
222 (relevance, name, symbol))
224 print "Update word (%s, %s, %s) failed command" % (name, symbol, relevance)
225 …t "UPDATE words SET relevance = %d where name = '%s' and symbol = '%s'" % (relevance, name, symbol)
527 def addWord(word, module, symbol, relevance): argument
532 if module == None or symbol == None:
547 relevance = relevance + d[(module, symbol)]
552 wordsDict[word][(module, symbol)] = relevance
555 def addString(str, module, symbol, relevance): argument
563 ret = ret + addWord(word, module, symbol, 5)
679 def foundExport(file, symbol): argument
682 if symbol == None:
684 addFunction(symbol, file)
685 l = splitIdentifier(symbol)
687 addWord(word, file, symbol, 10)
724 symbol = top.prop("name")
725 if symbol == None:
728 addEnum(symbol, file)
729 l = splitIdentifier(symbol)
731 addWord(word, file, symbol, 10)
739 symbol = top.prop("name")
740 if symbol == None:
743 addConst(symbol, file)
744 l = splitIdentifier(symbol)
746 addWord(word, file, symbol, 10)
754 symbol = top.prop("name")
755 if symbol == None:
758 addType(symbol, file)
759 l = splitIdentifier(symbol)
761 addWord(word, file, symbol, 10)
768 symbol = top.prop("name")
769 if symbol == None:
772 addFunctype(symbol, file)
773 l = splitIdentifier(symbol)
775 addWord(word, file, symbol, 10)
782 symbol = top.prop("name")
783 if symbol == None:
786 addStruct(symbol, file)
787 l = splitIdentifier(symbol)
789 addWord(word, file, symbol, 10)
798 addWord(word, file, symbol, 5)
805 symbol = top.prop("name")
806 if symbol == None:
808 symbol = string.replace(symbol, "'", " ")
809 symbol = string.strip(symbol)
822 l = splitIdentifier(symbol)
824 addWord(word, file, symbol, 10)
827 addMacro(symbol, file)
828 print "Macro %s description has no <info>" % (symbol)
833 addMacro(symbol, file, info)
837 addWord(word, file, symbol, 5)
844 symbol = top.prop("name")
845 if symbol == None:
848 symbol = string.replace(symbol, "'", " ")
849 symbol = string.strip(symbol)
863 addString(rinfo, file, symbol, 7)
869 addString(ainfo, file, symbol, 5)
874 addWord(name, file, symbol, 7)
877 print "Function %s description has no <info>" % (symbol)
878 addFunction(symbol, file, "")
882 addFunction(symbol, file, info)
883 addString(info, file, symbol, 5)
885 l = splitIdentifier(symbol)
887 addWord(word, file, symbol, 10)
1195 for (module, symbol) in refs.keys():
1196 updateWord(word, symbol, refs[(module, symbol)])