Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 147) sorted by relevance

123456

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/
Dsintstack.c60 sint_freestack(SIntStack *st) in sint_freestack() argument
62 sint_freestack(st) in sint_freestack()
63 SIntStack *st; in sint_freestack()
66 if ( st==NULL ) return;
67 if ( st->data==NULL ) return;
68 free(st->data);
69 free(st);
74 sint_push(SIntStack *st,int i) in sint_push() argument
76 sint_push(st,i) in sint_push()
77 SIntStack *st; in sint_push()
[all …]
Dsstack.c45 sstack_push( SStack **st, void *e ) in sstack_push() argument
47 sstack_push( st, e ) in sstack_push()
48 SStack **st; in sstack_push()
58 p->next = *st;
59 *st = p;
64 sstack_pop( SStack **st ) in sstack_pop() argument
66 sstack_pop( st ) in sstack_pop()
67 SStack **st; in sstack_pop()
70 SStack *p = *st;
73 *st = (*st)->next;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dsymtable.c21 ste_new(struct symtable *st, identifier name, _Py_block_ty block, in ste_new() argument
33 ste->ste_table = st; in ste_new()
65 if (st->st_cur != NULL && in ste_new()
66 (st->st_cur->ste_nested || in ste_new()
67 st->st_cur->ste_type == FunctionBlock)) in ste_new()
73 if (PyDict_SetItem(st->st_symbols, ste->ste_id, (PyObject *)ste) < 0) in ste_new()
162 static int symtable_analyze(struct symtable *st);
163 static int symtable_warn(struct symtable *st, char *msg, int lineno);
164 static int symtable_enter_block(struct symtable *st, identifier name,
166 static int symtable_exit_block(struct symtable *st, void *ast);
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dsymtable.c21 ste_new(struct symtable *st, identifier name, _Py_block_ty block, in ste_new() argument
35 ste->ste_table = st; in ste_new()
67 if (st->st_cur != NULL && in ste_new()
68 (st->st_cur->ste_nested || in ste_new()
69 st->st_cur->ste_type == FunctionBlock)) in ste_new()
75 if (PyDict_SetItem(st->st_symbols, ste->ste_id, (PyObject *)ste) < 0) in ste_new()
164 static int symtable_analyze(struct symtable *st);
165 static int symtable_warn(struct symtable *st, char *msg, int lineno);
166 static int symtable_enter_block(struct symtable *st, identifier name,
168 static int symtable_exit_block(struct symtable *st, void *ast);
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/h/
Dsintstack.h43 extern void sint_freestack(SIntStack *st);
44 extern void sint_push(SIntStack *st, int i);
45 extern int sint_pop(SIntStack *st);
46 extern int sint_stacksize(SIntStack *st);
47 extern void sint_stackreset(SIntStack *st);
48 extern int sint_stackempty(SIntStack *st);
49 extern int sint_top(SIntStack *st);
/device/google/cuttlefish_common/common/libs/utils/
Dfiles.cpp32 struct stat st; in FileExists() local
33 return stat(path.c_str(), &st) == 0; in FileExists()
41 struct stat st; in DirectoryExists() local
42 if (stat(path.c_str(), &st) == -1) { in DirectoryExists()
45 if ((st.st_mode & S_IFMT) != S_IFDIR) { in DirectoryExists()
69 struct stat st; in FileSize() local
70 if (stat(path.c_str(), &st) == -1) { in FileSize()
73 return st.st_size; in FileSize()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dstatement.c60 self->st = NULL; in pysqlite_statement_create()
86 &self->st, in pysqlite_statement_create()
93 (void)sqlite3_finalize(self->st); in pysqlite_statement_create()
94 self->st = NULL; in pysqlite_statement_create()
114 rc = sqlite3_bind_null(self->st, pos); in pysqlite_statement_bind_parameter()
158 rc = sqlite3_bind_int64(self->st, pos, (sqlite_int64)longval); in pysqlite_statement_bind_parameter()
163 rc = sqlite3_bind_int64(self->st, pos, (sqlite_int64)longlongval); in pysqlite_statement_bind_parameter()
166 rc = sqlite3_bind_double(self->st, pos, PyFloat_AsDouble(parameter)); in pysqlite_statement_bind_parameter()
170 rc = sqlite3_bind_text(self->st, pos, string, -1, SQLITE_TRANSIENT); in pysqlite_statement_bind_parameter()
175 rc = sqlite3_bind_text(self->st, pos, string, -1, SQLITE_TRANSIENT); in pysqlite_statement_bind_parameter()
[all …]
Dutil.c48 int _pysqlite_seterror(sqlite3* db, sqlite3_stmt* st) in _pysqlite_seterror() argument
53 if (st != NULL) { in _pysqlite_seterror()
54 (void)sqlite3_reset(st); in _pysqlite_seterror()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/
DBPDG.py32 import StringTable as st namespace
35 PROJECT_NAME = st.LBL_BPDG_LONG_UNI
36 VERSION = (st.LBL_BPDG_VERSION + " Build " + gBUILD_VERSION)
97 usage=st.LBL_BPDG_USAGE
100 help=st.MSG_OPTION_DEBUG_LEVEL)
102 help=st.MSG_OPTION_VERBOSE)
104 help=st.MSG_OPTION_QUIET)
106 help=st.MSG_OPTION_VPD_FILENAME)
108 help=st.MSG_OPTION_MAP_FILENAME)
110 help=st.MSG_OPTION_FORCE)
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dmakebuf.c107 struct stat st; in __swhatbuf() local
116 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) { in __swhatbuf()
123 *couldbetty = S_ISCHR(st.st_mode); in __swhatbuf()
124 if (st.st_blksize == 0) { in __swhatbuf()
134 *bufsize = st.st_blksize; in __swhatbuf()
135 fp->_blksize = st.st_blksize; in __swhatbuf()
136 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ? in __swhatbuf()
Dfopen.c74 struct stat st; in fopen() local
75 if (fstat(f, &st) == -1) { in fopen()
81 if (!S_ISREG(st.st_mode)) { in fopen()
Dfdopen.c85 struct stat st; in __weak_alias() local
86 if (fstat(fd, &st) == -1) { in __weak_alias()
89 if (!S_ISREG(st.st_mode)) { in __weak_alias()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dsymtablemodule.c11 struct symtable *st; in symtable_symtable() local
33 st = Py_SymtableString(str, filename, start); in symtable_symtable()
34 if (st == NULL) in symtable_symtable()
36 t = st->st_symbols; in symtable_symtable()
38 PyMem_Free((void *)st->st_future); in symtable_symtable()
39 PySymtable_Free(st); in symtable_symtable()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dbyteyears.py45 st = statfunc(filename)
49 st = ()
50 if st:
51 anytime = st[itime]
52 size = st[ST_SIZE]
Dwhich.py31 st = os.stat(filename)
34 if not S_ISREG(st[ST_MODE]):
37 mode = S_IMODE(st[ST_MODE])
41 ident = st[:3]
43 if st[:3] == ident:
Dxxci.py36 st = os.stat(file)
37 return st[ST_MTIME]
64 st = os.lstat(file)
68 if not S_ISREG(st[ST_MODE]): return 1
70 if st[ST_SIZE] >= MAXSIZE: return 1
Dmkreal.py18 st = os.stat(name) # Get the mode
19 mode = S_IMODE(st[ST_MODE])
32 st = os.stat(name) # Get the mode
33 mode = S_IMODE(st[ST_MODE])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dsymtablemodule.c11 struct symtable *st; in symtable_symtable() local
33 st = Py_SymtableString(str, filename, start); in symtable_symtable()
34 if (st == NULL) in symtable_symtable()
36 t = (PyObject *)st->st_top; in symtable_symtable()
38 PyMem_Free((void *)st->st_future); in symtable_symtable()
39 PySymtable_Free(st); in symtable_symtable()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Dcvslock.py136 st = os.stat(self.cvslck)
139 self.sleep(st)
166 def sleep(self, st): argument
167 sleep(st, self.repository, self.delay)
173 def sleep(st, repository, delay): argument
175 raise Locked(st)
176 uid = st[stat.ST_UID]
224 st = os.stat(self.join(name))
227 return st
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dpgen.c50 nfastate *st; in addnfastate() local
56 st = &nf->nf_state[nf->nf_nstates++]; in addnfastate()
57 st->st_narcs = 0; in addnfastate()
58 st->st_arc = NULL; in addnfastate()
59 return st - nf->nf_state; in addnfastate()
65 nfastate *st; in addnfaarc() local
68 st = &nf->nf_state[from]; in addnfaarc()
69 st->st_arc = (nfaarc *)PyObject_REALLOC(st->st_arc, in addnfaarc()
70 sizeof(nfaarc) * (st->st_narcs + 1)); in addnfaarc()
71 if (st->st_arc == NULL) in addnfaarc()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_parser.py548 st = parser.expr('2 + 3')
549 code = parser.compilest(st)
553 st = parser.suite('x = 2; y = x + 3')
554 code = parser.compilest(st)
560 st = parser.suite('1 = 3 + 4')
561 self.assertRaises(SyntaxError, parser.compilest, st)
564 st = parser.suite('a = u"\U12345678"')
565 self.assertRaises(SyntaxError, parser.compilest, st)
566 st = parser.suite('a = u"\u1"')
567 self.assertRaises(SyntaxError, parser.compilest, st)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dgenericpath.py29 st = os.stat(path)
32 return stat.S_ISREG(st.st_mode)
41 st = os.stat(s)
44 return stat.S_ISDIR(st.st_mode)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dgenericpath.py37 st = os.stat(path)
40 return stat.S_ISREG(st.st_mode)
49 st = os.stat(s)
52 return stat.S_ISDIR(st.st_mode)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/parser/
Dtest_parser.py14 st = parser.suite(t)
15 tup = parser.st2tuple(st)
18 st = None
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/secure/
Dsecure.c54 uintptr_t st, uintptr_t ed) in sgrf_ddr_rgn_config() argument
59 assert(st < ed); in sgrf_ddr_rgn_config()
62 assert(st % SIZE_M(1) == 0); in sgrf_ddr_rgn_config()
65 st_mb = st / SIZE_M(1); in sgrf_ddr_rgn_config()

123456