bugged
stringlengths
4
228k
fixed
stringlengths
0
96.3M
__index_level_0__
int64
0
481k
def search_package_directories(self, qualified_name, suffixes, pos): print "Pyrex.Compiler.Main.search_package_directories:" ### print "...qualified_name =", qualified_name ### print "...suffixes =", suffixes ### print "...pos =", pos ### dotted_filenames = [qualified_name + suffix for suffix in suffixes] if pos: here ...
def search_package_directories(self, qualified_name, suffixes, pos): print "Pyrex.Compiler.Main.search_package_directories:" ### print "...qualified_name =", qualified_name ### print "...suffixes =", suffixes ### print "...pos =", pos ### dotted_filenames = [qualified_name + suffix for suffix in suffixes] if pos: here ...
445,900
def search_package_directories(self, qualified_name, suffixes, pos): print "Pyrex.Compiler.Main.search_package_directories:" ### print "...qualified_name =", qualified_name ### print "...suffixes =", suffixes ### print "...pos =", pos ### dotted_filenames = [qualified_name + suffix for suffix in suffixes] if pos: here ...
def search_package_directories(self, qualified_name, suffixes, pos): print "Pyrex.Compiler.Main.search_package_directories:" ### print "...qualified_name =", qualified_name ### print "...suffixes =", suffixes ### print "...pos =", pos ### dotted_filenames = [qualified_name + suffix for suffix in suffixes] if pos: here ...
445,901
def generate_dynamic_cast_code(self): global objects_by_name source = ""
def generate_dynamic_cast_code(self, is_first = True): global objects_by_name source = ""
445,902
def generate_dynamic_cast_code(self): global objects_by_name source = ""
def generate_dynamic_cast_code(self): global objects_by_name source = ""
445,903
def generate_source(self): source = "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n" source += " * VI Type: %s\n" % self.name
def generate_source(self): source = "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n" source += " * VI Type: %s\n" % self.name
445,904
def generate_source(self): source = "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n" source += " * VI Type: %s\n" % self.name
def generate_source(self): source = "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n" source += " * VI Type: %s\n" % self.name
445,905
def dispatchDomainEventIOErrorCallback(self, dom, srcPath, devAlias, action, cbData): """Dispatches events to python user domain IO error event callbacks """ try: cb = cbData["cb"] opaque = cbData["opaque"]
def dispatchDomainEventIOErrorCallback(self, dom, srcPath, devAlias, action, cbData): """Dispatches events to python user domain IO error event callbacks """ try: cb = cbData["cb"] opaque = cbData["opaque"]
445,906
def enum(type, name, value): if not enums.has_key(type): enums[type] = {} enums[type][name] = value
def enum(type, name, value): if not enums.has_key(type): enums[type] = {} enums[type][name] = value
445,907
def buildStubs(): global py_types global py_return_types global unknown_types try: f = open(os.path.join(srcPref,"libvirt-api.xml")) data = f.read() (parser, target) = getparser() parser.feed(data) parser.close() except IOError, msg: try: f = open(os.path.join(srcPref,"..","docs","libvirt-api.xml")) data = f.read() (...
def buildStubs(): global py_types global py_return_types global unknown_types try: f = open(os.path.join(srcPref,"libvirt-api.xml")) data = f.read() (parser, target) = getparser() parser.feed(data) parser.close() except IOError, msg: try: f = open(os.path.join(srcPref,"..","docs","libvirt-api.xml")) data = f.read() (...
445,908
def buildWrappers(): global ctypes global py_types global py_return_types global unknown_types global functions global function_classes global classes_type global classes_list global converter_type global primary_classes global converter_type global classes_ancestor global converter_type global primary_classes global c...
def buildWrappers(): global ctypes global py_types global py_return_types global unknown_types global functions global function_classes global classes_type global classes_list global converter_type global primary_classes global converter_type global classes_ancestor global converter_type global primary_classes global c...
445,909
def generate_source(self): source = "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n" source += " * VI Type: %s\n" % self.name
def generate_source(self): source = "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n" source += " * VI Type: %s\n" % self.name
445,910
def generate_source(self): source = "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n" source += " * VI Type: %s\n" % self.name
def generate_source(self): source = "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n" source += " * VI Type: %s\n" % self.name
445,911
def open_and_print(filename): if filename.startswith("./"): print " GEN " + filename[2:] else: print " GEN " + filename return open(filename, "wb")
def open_and_print(filename): if filename.startswith("./"): print " GEN " + filename[2:] else: print " GEN " + filename return open(filename, "wb")
445,912
def open_and_print(filename): if filename.startswith("./"): print " GEN " + filename[2:] else: print " GEN " + filename return open(filename, "wb")
def open_and_print(filename): if filename.startswith("./"): print " GEN " + filename[2:] else: print " GEN " + filename return open(filename, "wb")
445,913
def generate_return(self, offset = 0, end_of_line = ";"): if self.occurrence == OCCURRENCE__IGNORED: raise ValueError("invalid function parameteroccurrence value '%s'" % self.occurrence) else: string = " " string += " " * offset string += "%s*%s)%s" % (self.get_type_string(), self.name, end_of_line)
def generate_return(self, offset = 0, end_of_line = ";"): if self.occurrence == OCCURRENCE__IGNORED: raise ValueError("invalid function parameter occurrence value '%s'" % self.occurrence) else: string = " " string += " " * offset string += "%s*%s)%s" % (self.get_type_string(), self.name, end_of_line)
445,914
def generate_return(self, offset = 0, end_of_line = ";"): if self.occurrence == OCCURRENCE__IGNORED: raise ValueError("invalid function parameteroccurrence value '%s'" % self.occurrence) else: string = " " string += " " * offset string += "%s*%s)%s" % (self.get_type_string(), self.name, end_of_line)
def generate_return(self, offset = 0, end_of_line = ";"): if self.occurrence == OCCURRENCE__IGNORED: raise ValueError("invalid function parameteroccurrence value '%s'" % self.occurrence) else: string = " " string += " " * offset string += "%s*%s)%s" % (self.get_type_string(), self.name, end_of_line)
445,915
def get_type_string(self): if self.type == "String" and \ self.occurrence not in [OCCURRENCE__REQUIRED_LIST, OCCURRENCE__OPTIONAL_LIST]: return "const char *" elif self.is_enum(): return "esxVI_%s " % self.type else: return "esxVI_%s *" % self.type
def get_type_string(self, as_return_value = False): string = "" if self.type == "String" and \ self.occurrence not in [OCCURRENCE__REQUIRED_LIST, OCCURRENCE__OPTIONAL_LIST]: return "const char *" elif self.is_enum(): return "esxVI_%s " % self.type else: return "esxVI_%s *" % self.type
445,916
def get_type_string(self): if self.type == "String" and \ self.occurrence not in [OCCURRENCE__REQUIRED_LIST, OCCURRENCE__OPTIONAL_LIST]: return "const char *" elif self.is_enum(): return "esxVI_%s " % self.type else: return "esxVI_%s *" % self.type
def get_type_string(self): if self.type == "String" and \ self.occurrence not in [OCCURRENCE__REQUIRED_LIST, OCCURRENCE__OPTIONAL_LIST]: if as_return_value: string += "char *" else: string += "const char *" elif self.is_enum(): return "esxVI_%s " % self.type else: return "esxVI_%s *" % self.type
445,917
def get_type_string(self): if self.type == "String" and \ self.occurrence not in [OCCURRENCE__REQUIRED_LIST, OCCURRENCE__OPTIONAL_LIST]: return "const char *" elif self.is_enum(): return "esxVI_%s " % self.type else: return "esxVI_%s *" % self.type
def get_type_string(self): if self.type == "String" and \ self.occurrence not in [OCCURRENCE__REQUIRED_LIST, OCCURRENCE__OPTIONAL_LIST]: return "const char *" elif self.is_enum(): return "esxVI_%s " % self.type else: return "esxVI_%s *" % self.type
445,918
def generate_source(self): source = "/* esxVI_%s */\n" % self.name source += "ESX_VI__METHOD(%s," % self.name
def generate_source(self): source = "/* esxVI_%s */\n" % self.name source += "ESX_VI__METHOD(%s," % self.name
445,919
def dispatchDomainEventLifecycleCallback(self, dom, event, detail, cbData): """Dispatches events to python user domain event callbacks """ cb = cbData["cb"] opaque = cbData["opaque"]
def dispatchDomainEventLifecycleCallback(self, dom, event, detail, cbData): """Dispatches events to python user domain lifecycle event callbacks """ cb = cbData["cb"] opaque = cbData["opaque"]
445,920
def dispatchDomainEventGenericCallback(self, dom, cbData): """Dispatches events to python user domain event callbacks """ try: cb = cbData["cb"] opaque = cbData["opaque"]
def dispatchDomainEventGenericCallback(self, dom, cbData): """Dispatches events to python user domain generic event callbacks """ try: cb = cbData["cb"] opaque = cbData["opaque"]
445,921
def open_and_print(filename): if filename.startswith("./"): print " GEN " + filename[2:] else: print " GEN " + filename return open(filename, "wb")
def open_and_print(filename): if filename.startswith("./"): print " GEN " + filename[2:] else: print " GEN " + filename return open(filename, "wb")
445,922
typedef = open_and_print(os.path.join(output_dirname, "esx_vi_types.generated.typedef"))
typedef = open_and_print(os.path.join(output_dirname, "esx_vi_types.generated.typedef"))
445,923
def eventToString(event): eventStrings = ( "Added", "Removed", "Started", "Suspended", "Resumed", "Stopped", "Saved", "Restored" ); return eventStrings[event];
def eventToString(event): eventStrings = ( "Defined", "Undefined", "Started", "Suspended", "Resumed", "Stopped", "Saved", "Restored" ); return eventStrings[event];
445,924
def eventToString(event): eventStrings = ( "Added", "Removed", "Started", "Suspended", "Resumed", "Stopped", "Saved", "Restored" ); return eventStrings[event];
def eventToString(event): eventStrings = ( "Added", "Removed", "Started", "Suspended", "Resumed", "Stopped" ); return eventStrings[event];
445,925
def myDomainEventCallback1 (conn, dom, event, detail, opaque): print "myDomainEventCallback1 EVENT: Domain %s(%s) %s %d" % (dom.name(), dom.ID(), eventToString(event), detail)
def myDomainEventCallback1 (conn, dom, event, detail, opaque): print "myDomainEventCallback1 EVENT: Domain %s(%s) %s %s" % (dom.name(), dom.ID(), eventToString(event), detailToString(event, detail))
445,926
def myDomainEventCallback2 (conn, dom, event, detail, opaque): print "myDomainEventCallback2 EVENT: Domain %s(%s) %s %d" % (dom.name(), dom.ID(), eventToString(event), detail)
def myDomainEventCallback2 (conn, dom, event, detail, opaque): print "myDomainEventCallback2 EVENT: Domain %s(%s) %s %s" % (dom.name(), dom.ID(), eventToString(event), detailToString(event, detail))
445,927
def buildStubs(): global py_types global py_return_types global unknown_types try: f = open(os.path.join(srcPref,"libvirt-api.xml")) data = f.read() (parser, target) = getparser() parser.feed(data) parser.close() except IOError, msg: try: f = open(os.path.join(srcPref,"..","docs","libvirt-api.xml")) data = f.read() (...
def buildStubs(): global py_types global py_return_types global unknown_types try: f = open(os.path.join(srcPref,"libvirt-api.xml")) data = f.read() (parser, target) = getparser() parser.feed(data) parser.close() except IOError, msg: try: f = open(os.path.join(srcPref,"..","docs","libvirt-api.xml")) data = f.read() (...
445,928
def application(req): if req.method == 'OPTIONS': resp = Response('', content_type='text/plain') resp.allow = 'GET,POST,OPTIONS' resp.headers['Access-Control-Allow-Origin'] = '*' resp.headers['Access-Control-Allow-Methods'] = 'GET,POST,OPTIONS' return resp script_path = None if req.path_info == '/graphs.html': # Must r...
def application(req): if req.method == 'OPTIONS': resp = Response('', content_type='text/plain') resp.allow = 'GET,POST,OPTIONS' add_access_headers(resp) return resp script_path = None if req.path_info == '/graphs.html': # Must redirect raise exc.HTTPFound(location='/') py_name = None ## Rewrite rules: if re.match('/ap...
445,929
def application(req): if req.method == 'OPTIONS': resp = Response('', content_type='text/plain') resp.allow = 'GET,POST,OPTIONS' resp.headers['Access-Control-Allow-Origin'] = '*' resp.headers['Access-Control-Allow-Methods'] = 'GET,POST,OPTIONS' return resp script_path = None if req.path_info == '/graphs.html': # Must r...
def application(req): if req.method == 'OPTIONS': resp = Response('', content_type='text/plain') resp.allow = 'GET,POST,OPTIONS' resp.headers['Access-Control-Allow-Origin'] = '*' resp.headers['Access-Control-Allow-Methods'] = 'GET,OPTIONS' resp.headers['Access-Control-Allow-Headers'] = 'X-Requested-With' resp.headers['...
445,930
def getTestRun(id, attribute, form): if(attribute == 'values'): return getTestRunValues(id) elif(attribute == 'latest'): return getLatestTestRunValues(id, form) else: sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id as ref_build_id, builds.ref_changeset as changeset FROM test_runs INNER JOIN buil...
def getTestRun(id, attribute, form): if attribute == 'values': return getTestRunValues(id) elif(attribute == 'latest'): return getLatestTestRunValues(id, form) else: sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id as ref_build_id, builds.ref_changeset as changeset FROM test_runs INNER JOIN build...
445,931
def getTestRun(id, attribute, form): if(attribute == 'values'): return getTestRunValues(id) elif(attribute == 'latest'): return getLatestTestRunValues(id, form) else: sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id as ref_build_id, builds.ref_changeset as changeset FROM test_runs INNER JOIN buil...
def getTestRun(id, attribute, form): if(attribute == 'values'): return getTestRunValues(id) elif attribute == 'latest': return getLatestTestRunValues(id, form) else: sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id as ref_build_id, builds.ref_changeset as changeset FROM test_runs INNER JOIN build...
445,932
def getTests(id, attribute, form): sql = """SELECT DISTINCT tests.id, tests.pretty_name AS test_name, machines.name as machine_name, machines.id as machine_id, branches.name AS branch_name, branches.id AS branch_id, os_list.id AS os_id , os_list.name AS os_name FROM tests INNER JOIN test_runs ON (tests.id = test_runs.t...
def getTests(id, attribute, form): sql = """SELECT DISTINCT tests.id, tests.pretty_name AS test_name, machines.name as machine_name, machines.id as machine_id, branches.name AS branch_name, branches.id AS branch_id, os_list.id AS os_id , os_list.name AS os_name FROM tests INNER JOIN test_runs ON (tests.id = test_runs.t...
445,933
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
445,934
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
445,935
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
445,936
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
445,937
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
445,938
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
445,939
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
445,940
def getTestRun(id, attribute, form): if attribute == 'values': return getTestRunValues(id) elif attribute == 'latest': return getLatestTestRunValues(id, form) elif attribute == 'revisions': return getRevisionValues(form) else: sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id as ref_build_id, buil...
def getTestRun(id, attribute, form): if attribute == 'values': return getTestRunValues(id) elif attribute == 'latest': return getLatestTestRunValues(id, form) elif attribute == 'revisions': return getRevisionValues(form) else: sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id as ref_build_id, buil...
445,941
def getTestRun(id, attribute, form): if attribute == 'values': return getTestRunValues(id) elif attribute == 'latest': return getLatestTestRunValues(id, form) elif attribute == 'revisions': return getRevisionValues(form) else: sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id as ref_build_id, buil...
def getTestRun(id, attribute, form): if attribute == 'values': return getTestRunValues(id) elif attribute == 'latest': return getLatestTestRunValues(id, form) elif attribute == 'revisions': return getRevisionValues(form) else: sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id as ref_build_id, buil...
445,942
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
445,943
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
445,944
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
445,945
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
445,946
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
445,947
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
445,948
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
445,949
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
445,950
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
445,951
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
445,952
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
445,953
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
def getTestRunValues(id): sql = """SELECT test_run_values.*, pages.name as page FROM test_run_values LEFT JOIN pages ON(test_run_values.page_id = pages.id) WHERE test_run_values.test_run_id = %s""" cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) cursor.execute(sql, (id)) testRunValues = [] if cursor.rowco...
445,954
def getAnnotations(test_run_id, returnType='dictionary'): cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) sql = "SELECT * FROM annotations WHERE test_run_id = %s" annotations = [] cursor.execute(sql, (test_run_id)) if cursor.rowcount > 0: annRows = cursor.fetchall() for annotation in annRows: if(returnType ...
def getAnnotations(test_run_id, returnType='dictionary'): cursor = db.cursor(cursorclass=MySQLdb.cursors.DictCursor) sql = "SELECT * FROM annotations WHERE test_run_id = %s" annotations = [] cursor.execute(sql, (test_run_id)) if cursor.rowcount > 0: annRows = cursor.fetchall() for annotation in annRows: if(returnType ...
445,955
def getTest(id, attribute, form): if(attribute == 'runs'): return getTestRuns(id) else: sql = """SELECT tests.id, tests.pretty_name AS test_name, machines.name as machine_name, branches.name AS branch_name, os_list.name AS os_name, test_runs.date_run FROM tests INNER JOIN test_runs ON (tests.id = test_runs.test_id) INN...
def getTest(id, attribute, form): if(attribute == 'runs'): return getTestRuns(id) else: sql = """SELECT tests.id, tests.pretty_name AS test_name, machines.name as machine_name, branches.name AS branch_name, os_list.name AS os_name, test_runs.date_run FROM tests INNER JOIN test_runs ON (tests.id = test_runs.test_id) INN...
445,956
def getTest(id, attribute, form): if(attribute == 'runs'): return getTestRuns(id) else: sql = """SELECT tests.id, tests.pretty_name AS test_name, machines.name as machine_name, branches.name AS branch_name, os_list.name AS os_name, test_runs.date_run FROM tests INNER JOIN test_runs ON (tests.id = test_runs.test_id) INN...
def getTest(id, attribute, form): if(attribute == 'runs'): return getTestRuns(id) else: sql = """SELECT tests.id, tests.pretty_name AS test_name, machines.name as machine_name, branches.name AS branch_name, os_list.name AS os_name, test_runs.date_run FROM tests INNER JOIN test_runs ON (tests.id = test_runs.test_id) INN...
445,957
def getTest(id, attribute, form): if(attribute == 'runs'): return getTestRuns(id) else: sql = """SELECT tests.id, tests.pretty_name AS test_name, machines.name as machine_name, branches.name AS branch_name, os_list.name AS os_name, test_runs.date_run FROM tests INNER JOIN test_runs ON (tests.id = test_runs.test_id) INN...
def getTest(id, attribute, form): if(attribute == 'runs'): return getTestRuns(id) else: sql = """SELECT tests.id, tests.pretty_name AS test_name, machines.name as machine_name, branches.name AS branch_name, os_list.name AS os_name, test_runs.date_run FROM tests INNER JOIN test_runs ON (tests.id = test_runs.test_id) INN...
445,958
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
def getTestRuns(id, attribute, form): machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds....
445,959
def save(self, errors=False): try: self.saveWarningHistory() except: log.exception("Error saving warning history")
def save(self, errors=False): try: self.saveWarningHistory() except: log.exception("Error saving warning history")
445,960
def save(self, errors=False): try: self.saveWarningHistory() except: log.exception("Error saving warning history")
def save(self, errors=False): try: self.saveWarningHistory() except: log.exception("Error saving warning history")
445,961
def formatMessage(self, state, series, good, bad, html=False): if state == "machine": good = bad.last_other
def formatMessage(self, state, series, good, bad, html=False): if state == "machine": good = bad.last_other
445,962
def formatMessage(self, state, series, good, bad, html=False): if state == "machine": good = bad.last_other
def formatMessage(self, state, series, good, bad, html=False): if state == "machine": good = bad.last_other
445,963
def formatMessage(self, state, series, good, bad, html=False): if state == "machine": good = bad.last_other
def formatMessage(self, state, series, good, bad, html=False): if state == "machine": good = bad.last_other
445,964
def formatMessage(self, state, series, good, bad, html=False): if state == "machine": good = bad.last_other
def formatMessage(self, state, series, good, bad, html=False): if state == "machine": good = bad.last_other
445,965
def formatSubject(self, state, series, good, bad): if state == "machine": good = bad.last_other
def formatSubject(self, state, series, good, bad): if state == "machine": good = bad.last_other
445,966
def formatSubject(self, state, series, good, bad): if state == "machine": good = bad.last_other
def formatSubject(self, state, series, good, bad): if state == "machine": good = bad.last_other
445,967
def formatSubject(self, state, series, good, bad): if state == "machine": good = bad.last_other
def formatSubject(self, state, series, good, bad): if state == "machine": good = bad.last_other
445,968
def formatSubject(self, state, series, good, bad): if state == "machine": good = bad.last_other
def formatSubject(self, state, series, good, bad): if state == "machine": good = bad.last_other
445,969
def getTestData(series, start_time): q = sa.select( [db.test_runs.machine_id, db.builds.ref_build_id, db.test_runs.date_run, db.test_runs.average, db.builds.ref_changeset, db.test_runs.run_number, db.builds.branch_id], sa.and_( db.test_runs.test_id == series.test_id, db.builds.branch_id == series.branch_id, db.machines...
def getTestData(series, start_time): q = sa.select( [db.test_runs.machine_id, db.builds.ref_build_id, db.test_runs.date_run, db.test_runs.average, db.builds.ref_changeset, db.test_runs.run_number, db.builds.branch_id], sa.and_( db.test_runs.test_id == series.test_id, db.builds.branch_id == series.branch_id, db.machines...
445,970
def getTestSeries(branches, start_date, test_names): # Find all the Branch/OS/Test combinations if len(test_names) > 0: test_clause = db.tests.pretty_name.in_(test_names) else: test_clause = True q = sa.select( [db.branches.id, db.branches.name, db.os_list.id, db.os_list.name, db.tests.id, db.tests.pretty_name], sa.and...
def getTestSeries(branches, start_date, test_names): # Find all the Branch/OS/Test combinations if len(test_names) > 0: test_clause = db.tests.pretty_name.in_(test_names) else: test_clause = True q = sa.select( [db.branches.id, db.branches.name, db.os_list.id, db.os_list.name, db.tests.id, db.tests.pretty_name], sa.and...
445,971
def getMachinesForTest(series): key = (series.os_id, series.branch_id, series.test_id) if key in _machines_cache: return _machines_cache[key] q = sa.select([db.machines.id], sa.and_( db.test_runs.machine_id == db.machines.id, db.builds.id == db.test_runs.build_id, db.builds.branch_id == series.branch_id, db.tests.id =...
def getMachinesForTest(series): key = (series.os_id, series.branch_id, series.test_id) if key in _machines_cache: return _machines_cache[key] q = sa.select([db.machines.id], sa.and_( db.test_runs.machine_id == db.machines.id, db.builds.id == db.test_runs.build_id, db.builds.branch_id == series.branch_id, db.tests.id =...
445,972
def line2def(self, lines): results = [] for l in lines: if not l: continue ####################### # ctags bug?! it seem that it could not handle two continous # doulbe quota charaecters ("")rightly in Exuberant Ctags 5.6, at least. # so here we resume "\xd3" to "", workaround :( ###### l = l.replace("\xd3", '""') fiel...
def line2def(self, lines): results = [] for l in lines: if not l: continue ####################### # ctags bug?! it seem that it could not handle two continous # doulbe quota charaecters ("")rightly in Exuberant Ctags 5.6, at least. # so here we resume "\xd3" to "", workaround :( ###### l = l.replace("\xd3", '""') fiel...
445,973
def runCommand(self, args): # such names means private methods import subprocess as sp import shlex if self.cwd: cwd = os.getcwd() os.chdir(self.cwd) p = sp.Popen(args, stdout=sp.PIPE, stderr=sp.PIPE, cwd=self.cwd) os.chdir(cwd) else: p = sp.Popen(args, stdout=sp.PIPE, stderr=sp.PIPE) stdout, stderr = p.communicate() i...
def runCommand(self, args): # such names means private methods import subprocess as sp if self.cwd: cwd = os.getcwd() os.chdir(self.cwd) p = sp.Popen(args, stdout=sp.PIPE, stderr=sp.PIPE, cwd=self.cwd) os.chdir(cwd) else: p = sp.Popen(args, stdout=sp.PIPE, stderr=sp.PIPE) stdout, stderr = p.communicate() if stderr: if ...
445,974
def runCommand(self, args): # such names means private methods import subprocess as sp import shlex if self.cwd: cwd = os.getcwd() os.chdir(self.cwd) p = sp.Popen(args, stdout=sp.PIPE, stderr=sp.PIPE, cwd=self.cwd) os.chdir(cwd) else: p = sp.Popen(args, stdout=sp.PIPE, stderr=sp.PIPE) stdout, stderr = p.communicate() i...
def runCommand(self, args): # such names means private methods import subprocess as sp import shlex if self.cwd: cwd = os.getcwd() os.chdir(self.cwd) p = sp.Popen(args, stdout=sp.PIPE, stderr=sp.PIPE, cwd=self.cwd) os.chdir(cwd) else: p = sp.Popen(args, stdout=sp.PIPE, stderr=sp.PIPE) stdout, stderr = p.communicate() i...
445,975
def line2def(self, lines): results = [] for l in lines: if not l: continue ####################### # ctags bug?! it seem that it could not handle two continous # doulbe quota charaecters ("")rightly in Exuberant Ctags 5.6, at least. # so here we resume "\xd3" to "", workaround :( ###### l = l.replace("\xd3", '""') fiel...
def line2def(self, lines): results = [] for l in lines: if not l: continue ####################### # ctags bug?! it seem that it could not handle two continous # doulbe quota charaecters ("")rightly in Exuberant Ctags 5.6, at least. # so here we resume "\xd3" to "", workaround :( ###### l = l.replace("\xd3", '""') fiel...
445,976
def __init__(self, file): core.Music.__init__(self) self.valid = 0 returnval = 0 tags = M4ATags(file) if tags['FileType'] == 'M4A ': try: self.title = tags['Title'] self.artist = tags['Artist'] self.album = tags['Album'] self.trackno = tags['Track'] self.year = tags['Year'] self.encoder = tags['Tool'] self.length = tag...
def __init__(self, file): core.Music.__init__(self) tags = M4ATags(file) if tags['FileType'] == 'M4A ': try: self.title = tags['Title'] self.artist = tags['Artist'] self.album = tags['Album'] self.trackno = tags['Track'] self.year = tags['Year'] self.encoder = tags['Tool'] self.length = tags['Length'] self.samplerate =...
445,977
def __init__(self, file): core.Music.__init__(self) self.valid = 0 returnval = 0 tags = M4ATags(file) if tags['FileType'] == 'M4A ': try: self.title = tags['Title'] self.artist = tags['Artist'] self.album = tags['Album'] self.trackno = tags['Track'] self.year = tags['Year'] self.encoder = tags['Tool'] self.length = tag...
def __init__(self, file): core.Music.__init__(self) self.valid = 0 returnval = 0 tags = M4ATags(file) if tags.get('FileType') != 'M4A ': raise core.ParseError()
445,978
def create_from_file(self, file, force=True): """ create based on the file stream 'file """ # Check extension as a hint e = os.path.splitext(file.name)[1].lower() parser = None if e and e.startswith('.') and e[1:] in self.extmap: log.debug("trying ext %s" % e[1:]) parsers = self.extmap[e[1:]] for info in parsers: file....
def create_from_file(self, file, force=True): """ create based on the file stream 'file """ # Check extension as a hint e = os.path.splitext(file.name)[1].lower() parser = None if e and e.startswith('.') and e[1:] in self.extmap: log.debug("trying ext %s on file %s", e[1:], file.name) parsers = self.extmap[e[1:]] for i...
445,979
def _parseSTRL(self,t): retval = {} size = len(t) i = 0 key = t[i:i+4] sz = struct.unpack('<I',t[i+4:i+8])[0] i+=8 value = t[i:]
def _parseSTRL(self,t): retval = {} size = len(t) i = 0 key = t[i:i+4] sz = struct.unpack('<I',t[i+4:i+8])[0] i+=8 value = t[i:]
445,980
def _parseSTRL(self,t): retval = {} size = len(t) i = 0 key = t[i:i+4] sz = struct.unpack('<I',t[i+4:i+8])[0] i+=8 value = t[i:]
def _parseSTRL(self,t): retval = {} size = len(t) i = 0 key = t[i:i+4] sz = struct.unpack('<I',t[i+4:i+8])[0] i+=8 value = t[i:]
445,981
def _parseLIST(self,t): retval = {} i = 0 size = len(t)
def _parseLIST(self,t): retval = {} i = 0 size = len(t)
445,982
def _parseLIST(self,t): retval = {} i = 0 size = len(t)
def _parseLIST(self,t): retval = {} i = 0 size = len(t)
445,983
def _parseRIFFChunk(self,file): h = file.read(8) if len(h) < 4: return False name = h[:4] size = struct.unpack('<I',h[4:8])[0]
def _parseRIFFChunk(self,file): h = file.read(8) if len(h) < 8: return False name = h[:4] size = struct.unpack('<I',h[4:8])[0]
445,984
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
445,985
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
445,986
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
445,987
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
445,988
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
445,989
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri...
445,990
def trace_function_impl(self, function): pvalue = self.function_pointer_value(function) print function.prototype() + ' {' if function.type is stdapi.Void: result = '' else: print ' %s __result;' % function.type result = '__result = ' self._get_true_pointer(function) print ' Log::BeginCall("%s");' % (function.name...
def trace_function_impl(self, function): pvalue = self.function_pointer_value(function) print function.prototype() + ' {' if function.type is stdapi.Void: result = '' else: print ' %s __result;' % function.type result = '__result = ' self._get_true_pointer(function) print ' unsigned __call = Log::BeginEnter("%s")...
445,991
def trace_function_impl(self, function): pvalue = self.function_pointer_value(function) print function.prototype() + ' {' if function.type is stdapi.Void: result = '' else: print ' %s __result;' % function.type result = '__result = ' self._get_true_pointer(function) print ' Log::BeginCall("%s");' % (function.name...
def trace_function_impl(self, function): pvalue = self.function_pointer_value(function) print function.prototype() + ' {' if function.type is stdapi.Void: result = '' else: print ' %s __result;' % function.type result = '__result = ' self._get_true_pointer(function) print ' Log::BeginCall("%s");' % (function.name...
445,992
def __init__(self, type, name, args **kwargs): DllFunction.__init__(self, type, name, args **kwargs) self.functions = []
def __init__(self, type, name, args, **kwargs): DllFunction.__init__(self, type, name, args, **kwargs) self.functions = []
445,993
def F(*args, **kwargs): kwargs.setdefault('call', 'GLAPIENTRY') return Function(*args, **kwargs)
def F(*args, **kwargs): kwargs.setdefault('call', 'GLAPIENTRY') return Function(*args, **kwargs)
445,994
def get_true_pointer(self): ptype = self.pointer_type() pvalue = self.pointer_value() print ' if(!%s)' % (pvalue,) self.fail_impl()
def get_true_pointer(self): ptype = self.pointer_type() pvalue = self.pointer_value() print ' if(!%s)' % (pvalue,) self.fail_impl()
445,995
def get_true_pointer(self): ptype = self.pointer_type() pvalue = self.pointer_value() print ' if(!%s)' % (pvalue,) self.fail_impl()
def get_true_pointer(self): ptype = self.pointer_type() pvalue = self.pointer_value() print ' if(!%s)' % (pvalue,) self.fail_impl()
445,996
def get_true_pointer(self): ptype = self.pointer_type() pvalue = self.pointer_value() print ' if(!%s)' % (pvalue,) self.fail_impl()
def get_true_pointer(self): ptype = self.pointer_type() pvalue = self.pointer_value() print ' if(!%s)' % (pvalue,) self.fail_impl()
445,997
def get_true_pointer(self): ptype = self.pointer_type() pvalue = self.pointer_value() print ' if(!%s)' % (pvalue,) self.fail_impl()
def get_true_pointer(self): ptype = self.pointer_type() pvalue = self.pointer_value() print ' if(!%s)' % (pvalue,) self.fail_impl()
445,998
typedef HRESULT
typedef HRESULT
445,999