Searched defs:self (Results 1 - 25 of 144) sorted by relevance

123456

/external/e2fsprogs/contrib/python-uuid/
H A Duuid.c5 static PyObject * _uuid_generate(PyObject *self, PyObject *args) argument
/external/embunit/src/
H A DRepeatedTest.c38 char* RepeatedTest_name(RepeatedTest* self) argument
40 return Test_name(self->test);
43 void RepeatedTest_run(RepeatedTest* self,TestResult* result) argument
46 Test* test = self->test;
47 for (i=0; i<self->timesRepeat; i++) {
52 int RepeatedTest_countTestCases(RepeatedTest* self) argument
54 return Test_countTestCases(self->test) * self->timesRepeat;
H A DTestCaller.c39 char* TestCaller_name(TestCaller* self) argument
41 return self->name;
44 void TestCaller_run(TestCaller* self,TestResult* result) argument
48 cs.setUp= self->setUp;
49 cs.tearDown = self->tearDown;
50 for (i=0; i<self->numberOfFixtuers; i++) {
51 cs.name = self->fixtuers[i].name;
52 cs.runTest = self->fixtuers[i].test;
58 int TestCaller_countTestCases(TestCaller* self) argument
60 return self
[all...]
H A DTestResult.c39 void TestResult_init(TestResult* self,TestListner* listner) argument
41 self->runCount = 0;
42 self->failureCount = 0;
43 self->listener = listner;
46 void TestResult_startTest(TestResult* self,Test* test) argument
48 self->runCount++;
49 if (self->listener) {
50 TestListner_startTest(self->listener, test);
54 void TestResult_endTest(TestResult* self,Test* test) argument
56 if (self
61 TestResult_addFailure(TestResult* self,Test* test,const char* msg,int line,const char* file) argument
[all...]
H A DTestSuite.c38 char* TestSuite_name(TestSuite* self) argument
40 return self->name;
43 void TestSuite_run(TestSuite* self,TestResult* result) argument
47 if (self->tests) {
48 for (i=0; i<self->numberOfTests; i++) {
49 test = self->tests[i];
55 int TestSuite_countTestCases(TestSuite* self) argument
60 if (self->tests) {
61 for (i=0; i<self->numberOfTests; i++) {
62 test = self
[all...]
H A DTestCase.c42 char* TestCase_name(TestCase* self) argument
44 return self->name;
47 void TestCase_run(TestCase* self,TestResult* result) argument
49 TestResult_startTest(result, (Test*)self);
50 if (self->setUp) {
51 self->setUp();
53 if (self->runTest) {
57 self_ = self;
58 self->runTest();
62 if (self
68 TestCase_countTestCases(TestCase* self) argument
[all...]
H A DTestRunner.c45 static void TestRunner_startTest(TestListner* self,Test* test) argument
50 static void TestRunner_endTest(TestListner* self,Test* test) argument
54 static void TestRunner_addFailure(TestListner* self,Test* test,char* msg,int line,char* file) argument
/external/google-breakpad/src/tools/linux/dump_syms/
H A Ddump_syms.cc41 int usage(const char* self) { argument
43 "[directories-for-debug-file]\n\n", self);
/external/javassist/sample/duplicate/
H A DDuplicatedObject.java11 public DuplicatedObject(Object self, Object[] args) { argument
12 super(self, args);
15 backup = null; // self is a backup object.
18 args2[0] = self;
/external/javassist/src/main/javassist/util/proxy/
H A DMethodHandler.java31 * @param self the proxy instance.
46 Object invoke(Object self, Method thisMethod, Method proceed, argument
/external/linux-tools-perf/src/tools/perf/scripts/python/Perf-Trace-Util/
H A DContext.c28 static PyObject *perf_trace_context_common_pc(PyObject *self, PyObject *args) argument
43 static PyObject *perf_trace_context_common_flags(PyObject *self, argument
59 static PyObject *perf_trace_context_common_lock_depth(PyObject *self, argument
/external/droiddriver/src/io/appium/droiddriver/util/
H A DLogs.java28 public static void call(Object self, String method, Object... args) { argument
29 call(Log.DEBUG, self, method, args);
32 public static void call(int priority, Object self, String method, Object... args) { argument
36 String.format("Invoking %s.%s(%s)", self.getClass().getSimpleName(), method,
H A DStrings.java27 public static ToStringHelper toStringHelper(Object self) { argument
28 return new ToStringHelper(self.getClass().getSimpleName());
/external/javassist/sample/reflect/
H A DVerboseMetaobj.java6 public VerboseMetaobj(Object self, Object[] args) { argument
7 super(self, args);
8 System.out.println("** constructed: " + self.getClass().getName());
/external/libunwind/tests/
H A Dtest-ptrace-misc.c36 pid_t self; variable
102 kill (self, SIGUSR1); /* tell test-ptrace to start single-stepping */
104 kill (self, SIGUSR2); /* tell test-ptrace to stop single-stepping */
116 self = getpid ();
/external/selinux/checkpolicy/
H A Dcheckpolicy.h10 int self; member in struct:te_assert
/external/bison/src/
H A DInadequacyList.c45 InadequacyList__delete (InadequacyList *self) argument
47 while (self)
49 InadequacyList *node = self;
50 self = self->next;
57 InadequacyList__getShiftContributionIndex (InadequacyList const *self) argument
59 if (!bitset_test (self->inadequacy.conflict.actions,
60 self->manifestingState->reductions->num))
62 return self->contributionCount - 1;
66 InadequacyList__getContributionToken (InadequacyList const *self, argument
74 InadequacyList__prependTo(InadequacyList *self, InadequacyList **list) argument
[all...]
H A DSbitset.c47 Sbitset__delete (Sbitset self) argument
49 free (self);
53 Sbitset__isEmpty (Sbitset self, Sbitset__Index nbits) argument
55 Sbitset last = self + Sbitset__nbytes (nbits) - 1;
56 for (; self < last; ++self)
57 if (*self != 0)
63 Sbitset__fprint(Sbitset self, Sbitset__Index nbits, FILE *file) argument
71 SBITSET__FOR_EACH (self, nbits, itr, i)
/external/linux-tools-perf/src/tools/perf/util/
H A Dthread.c12 struct thread *self = zalloc(sizeof(*self)); local
14 if (self != NULL) {
15 map_groups__init(&self->mg);
16 self->pid_ = pid;
17 self->tid = tid;
18 self->ppid = -1;
19 self->comm = malloc(32);
20 if (self->comm)
21 snprintf(self
27 thread__delete(struct thread *self) argument
34 thread__set_comm(struct thread *self, const char *comm) argument
48 thread__comm_len(struct thread *self) argument
65 thread__insert_map(struct thread *self, struct map *map) argument
71 thread__fork(struct thread *self, struct thread *parent) argument
[all...]
H A Dbuild-id.c92 char *dso__build_id_filename(struct dso *self, char *bf, size_t size) argument
96 if (!self->has_build_id)
99 build_id__sprintf(self->build_id, sizeof(self->build_id), build_id_hex);
H A Dstrfilter.c13 static void strfilter_node__delete(struct strfilter_node *self) argument
15 if (self) {
16 if (self->p && !is_operator(*self->p))
17 free((char *)self->p);
18 strfilter_node__delete(self->l);
19 strfilter_node__delete(self->r);
20 free(self);
24 void strfilter__delete(struct strfilter *self) argument
26 if (self) {
173 strfilter_node__compare(struct strfilter_node *self, const char *str) argument
194 strfilter__compare(struct strfilter *self, const char *str) argument
[all...]
/external/aac/libAACdec/src/
H A Daacdec_drc.cpp117 \self Handle of DRC info
122 HANDLE_AAC_DRC self )
126 if (self == NULL) {
131 self->enable = 0;
132 self->numThreads = 0;
135 pParams = &self->params;
147 self->progRefLevel = pParams->targetRefLevel;
148 self->progRefLevelPresent = 0;
149 self->presMode = -1;
156 \self Handl
183 aacDecoder_drcSetParam( HANDLE_AAC_DRC self, AACDEC_DRC_PARAM param, INT value ) argument
[all...]
/external/javassist/src/main/javassist/tools/reflect/
H A DMetaobject.java55 * @param self the object that this metaobject is associated with.
57 * <code>self</code>.
59 public Metaobject(Object self, Object[] args) { argument
60 baseobject = (Metalevel)self;
107 * @param self the object
109 public final void setObject(Object self) { argument
110 baseobject = (Metalevel)self;
/external/javassist/src/test/test/javassist/proxy/
H A DProxySerializationTest.java108 public Object invoke(Object self, Method thisMethod, Method proceed, Object[] args) throws Throwable argument
110 return proceed.invoke(self, args);
/external/linux-tools-perf/src/tools/perf/ui/browsers/
H A Dmap.c21 static void map_browser__write(struct ui_browser *self, void *nd, int row) argument
24 struct map_browser *mb = container_of(self, struct map_browser, b);
25 bool current_entry = ui_browser__is_current_entry(self, row);
28 ui_browser__set_percent_color(self, 0, current_entry);
33 width = self->width - ((mb->addrlen * 2) + 4);
39 static u32 *symbol__browser_index(struct symbol *self) argument
41 return ((void *)self) - sizeof(struct rb_node) - sizeof(u32);
44 static int map_browser__search(struct map_browser *self) argument
56 sym = map__find_symbol(self->map, addr, NULL);
58 sym = map__find_symbol_by_name(self
71 map_browser__run(struct map_browser *self) argument
101 map__browse(struct map *self) argument
[all...]

Completed in 588 milliseconds

123456