Home
last modified time | relevance | path

Searched refs:interp (Results 1 – 25 of 33) sorted by relevance

12

/titanic_44/usr/src/lib/libsqlite/src/
H A Dtest3.c61 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ in btree_open() argument
69 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in btree_open()
75 Tcl_AppendResult(interp, errorName(rc), 0); in btree_open()
82 Tcl_AppendResult(interp, zBuf, 0); in btree_open()
93 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ in btree_close() argument
100 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in btree_close()
104 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR; in btree_close()
107 Tcl_AppendResult(interp, errorName(rc), 0); in btree_close()
120 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ in btree_begin_transaction() argument
127 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in btree_begin_transaction()
[all …]
H A Dtest2.c68 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ in pager_open() argument
77 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in pager_open()
81 if( Tcl_GetInt(interp, argv[2], &nPage) ) return TCL_ERROR; in pager_open()
84 Tcl_AppendResult(interp, errorName(rc), 0); in pager_open()
88 Tcl_AppendResult(interp, zBuf, 0); in pager_open()
99 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ in pager_close() argument
106 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in pager_close()
110 if( Tcl_GetInt(interp, argv[1], (int*)&pPager) ) return TCL_ERROR; in pager_close()
113 Tcl_AppendResult(interp, errorName(rc), 0); in pager_close()
126 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ in pager_rollback() argument
[all …]
H A Dtest1.c36 static int getDbPointer(Tcl_Interp *interp, const char *zA, sqlite **ppDb){ in getDbPointer() argument
40 Tcl_AppendResult(interp, "\"", zA, "\" is not a valid pointer value", 0); in getDbPointer()
49 static int getVmPointer(Tcl_Interp *interp, const char *zArg, sqlite_vm **ppVm){ in getVmPointer() argument
51 Tcl_AppendResult(interp, "\"", zArg, "\" is not a valid pointer value", 0); in getVmPointer()
70 static int makePointerStr(Tcl_Interp *interp, char *zPtr, void *p){ in makePointerStr() argument
76 Tcl_AppendResult(interp, "unable to convert a pointer to a string " in makePointerStr()
94 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ in sqlite_test_open() argument
102 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in sqlite_test_open()
108 Tcl_AppendResult(interp, zErr, 0); in sqlite_test_open()
112 if( makePointerStr(interp, zBuf, db) ) return TCL_ERROR; in sqlite_test_open()
[all …]
H A Dtclsqlite.c43 Tcl_Interp *interp; /* The TCL interpret to execute the function */ member
55 Tcl_Interp *interp; /* The interpreter used for this database */ member
71 Tcl_Interp *interp; /* The TCL interpreter */ member
102 Tcl_SetVar2(cbData->interp, cbData->zArray, "*", "", 0); in DbEvalCallback()
116 Tcl_SetVar2(cbData->interp, cbData->zArray, "*", in DbEvalCallback()
125 Tcl_SetVar2(cbData->interp, cbData->zArray, in DbEvalCallback()
142 Tcl_SetVar2(cbData->interp, cbData->zArray, cbData->azColName[i], in DbEvalCallback()
152 Tcl_SetVar(cbData->interp, cbData->azColName[i], in DbEvalCallback()
158 rc = Tcl_EvalObj(cbData->interp, cbData->pCode); in DbEvalCallback()
186 Tcl_SetVar2(cbData->interp, cbData->zArray, "*", "", 0); in DbEvalCallback()
[all …]
H A Dtest4.c105 static int parse_thread_id(Tcl_Interp *interp, const char *zArg){ in parse_thread_id() argument
107 Tcl_AppendResult(interp, "thread ID must be an upper case letter", 0); in parse_thread_id()
121 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ in tcl_thread_create() argument
130 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in tcl_thread_create()
134 i = parse_thread_id(interp, argv[1]); in tcl_thread_create()
137 Tcl_AppendResult(interp, "thread ", argv[1], " is already running", 0); in tcl_thread_create()
147 Tcl_AppendResult(interp, "failed to create the thread", 0); in tcl_thread_create()
170 Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ in tcl_thread_wait() argument
177 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in tcl_thread_wait()
181 i = parse_thread_id(interp, argv[1]); in tcl_thread_wait()
[all …]
H A Dmd5.c299 static int md5_cmd(void*cd, Tcl_Interp *interp, int argc, const char **argv){ in md5_cmd() argument
304 Tcl_AppendResult(interp,"wrong # args: should be \"", argv[0], in md5_cmd()
311 DigestToBase16(digest, interp->result); in md5_cmd()
319 static int md5file_cmd(void*cd, Tcl_Interp*interp, int argc, const char **argv){ in md5file_cmd() argument
326 Tcl_AppendResult(interp,"wrong # args: should be \"", argv[0], in md5file_cmd()
332 Tcl_AppendResult(interp,"unable to open file \"", argv[1], in md5file_cmd()
345 DigestToBase16(digest, interp->result); in md5file_cmd()
352 int Md5_Init(Tcl_Interp *interp){ in Md5_Init() argument
353 Tcl_CreateCommand(interp, "md5", (Tcl_CmdProc*)md5_cmd, 0, 0); in Md5_Init()
354 Tcl_CreateCommand(interp, "md5file", (Tcl_CmdProc*)md5file_cmd, 0, 0); in Md5_Init()
/titanic_44/usr/src/lib/libast/common/sfio/
H A Dsfpopen.c50 reg char *s, *cmd, **argv, **p, *interp; local
54 if(!(interp = getenv("SHELL")) || !interp[0])
55 interp = "/bin/sh";
57 if(strcmp(interp,"/bin/sh") != 0 && strcmp(interp,"/bin/ksh") != 0 )
58 { if(access(interp,X_OK) == 0)
60 else interp = "/bin/sh";
124 for(s = interp+strlen(interp)-1; s >= interp; --s)
127 execl(interp, s+1, "-c", argcmd, NIL(char*));
/titanic_44/usr/src/cmd/sgs/elfedit/modules/common/
H A Dphdr.c270 locate_interp(elfedit_obj_state_t *obj_state, INTERP_STATE *interp) in locate_interp() argument
279 if (interp == NULL) in locate_interp()
280 interp = &local_interp; in locate_interp()
288 interp->phndx = phndx; in locate_interp()
289 interp->phdr = phdr + phndx; in locate_interp()
311 (interp->phdr->p_offset >= strsec->sec_shdr->sh_offset) && in locate_interp()
312 ((interp->phdr->p_offset + interp->phdr->p_filesz) <= in locate_interp()
315 interp->sec = strsec; in locate_interp()
317 interp->stroff = interp->phdr->p_offset - in locate_interp()
319 interp->str = ((char *)strsec->sec_data->d_buf) + in locate_interp()
[all …]
H A Dphdr.msg43 @ MSG_DEBUG_NEWISTR "[%d: %s][%d]: Write new value in .interp \
46 .interp section (%d bytes): %s\n"
294 The phdr:interp command is used to display or alter the\n\
297 If phdr:interp is called without arguments, the existing\n\
303 ABI says that this section must be named \".interp\". .interp\n\
307 in this .interp section, phdr:interp simply replaces the old\n\
310 In the case where the new path is too long to fit in the .interp\n\
311 section, phdr:interp will attempt to use the dynamic string table\n\
360 @ MSG_SEC_INTERP ".interp"
379 @ MSG_CMD_INTERP "interp"
/titanic_44/usr/src/cmd/sgs/rtld/common/
H A Dsetup.c451 interp = &_interp; in setup()
452 interp->i_name = (char *)rtldname; in setup()
453 interp->i_faddr = (caddr_t)ADDR(rlmp); in setup()
634 interp->i_faddr = in setup()
646 interp->i_name = (char *) in setup()
706 size_t len = strlen(interp->i_name); in setup()
708 if (expand(&interp->i_name, &len, 0, 0, in setup()
712 fdr.fd_pname = interp->i_name; in setup()
H A Dglobals.c116 Interp *interp = NULL; /* ELF interpreter info */ variable
H A D_rtld.h202 typedef struct interp { struct
560 extern Interp *interp; /* ELF executable interpreter info */
/titanic_44/usr/src/cmd/sgs/elfdump/common/
H A D_elfdump.h184 #define interp interp64 macro
208 #define interp interp32 macro
H A Delfdump.msg46 @ MSG_USAGE_DETAIL9 "\t[-i]\t\tdump the contents of the .interp section\n"
168 @ MSG_WARN_INVINTERP2 "%s: interp section: %s: and PT_INTERP program \
329 @ MSG_ELF_INTERP ".interp"
649 @ MSG_PHDRNAM_INTERP ".interp(phdr)"
H A Dfake_shdr.c1102 SINFO interp; in fake_shdr_cache() member
1175 sec.interp.type = SINFO_T_INTERP; in fake_shdr_cache()
1176 sinfo = &sec.interp; in fake_shdr_cache()
/titanic_44/usr/src/cmd/sgs/ldd/common/
H A Dldd.c400 int dynamic = 0, interp = 0, cnt, class; in elf_check() local
491 if (dynamic && interp) in elf_check()
508 interp = 1; in elf_check()
573 if ((ehdr.e_type == ET_EXEC) && interp) in elf_check()
/titanic_44/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_ops.c506 int interp = 1; in ndo_hexfmt() local
535 interp = 0; in ndo_hexfmt()
539 if (interp) in ndo_hexfmt()
/titanic_44/usr/src/lib/efcode/engine/
H A DMakefile.com28 OBJECTS = init.o interface.o signal.o forth.o fcode.o interp.o debug.o \
/titanic_44/usr/src/uts/common/os/
H A Dbrand.c612 int interp; in brand_solaris_elfexec() local
727 &voffset, exec_file, &interp, &env.ex_bssbase, in brand_solaris_elfexec()
735 &voffset, exec_file, &interp, &env.ex_bssbase, in brand_solaris_elfexec()
764 if (interp) { in brand_solaris_elfexec()
788 &uphdr_vaddr, &voffset, exec_file, &interp, in brand_solaris_elfexec()
796 &uphdr_vaddr32, &voffset, exec_file, &interp, in brand_solaris_elfexec()
/titanic_44/usr/src/cmd/tip/
H A Dvalue.c21 extern char *interp(char *);
209 cp = interp(p->v_value); in vprint()
/titanic_44/usr/src/psm/stand/boot/common/
H A Dreadfile.c339 int interp = 0; /* interpreter required */ in read_elf32() local
588 interp = 1; in read_elf32()
611 if (interp) { in read_elf32()
738 int interp = 0; /* interpreter required */ in read_elf64() local
978 interp = 1; in read_elf64()
1001 if (interp) { in read_elf64()
/titanic_44/usr/src/cmd/dtrace/demo/
H A DMakefile49 interp.d \
/titanic_44/usr/src/cmd/sgs/libconv/common/
H A Dphdr.msg43 @ MSG_PT_INTERP_NF "interp"
/titanic_44/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c982 if (interp && ((ulong_t)interp->i_faddr != in elf_copy_gen()
984 !(strcmp(interp->i_name, MSG_ORIG(MSG_PTH_LIBC)))) { in elf_copy_gen()
/titanic_44/usr/src/lib/libproc/common/
H A DPcore.c2213 char *interp; in Pfgrab_core() local
2617 interp = dp->d_buf; in Pfgrab_core()
2621 interp = "/usr/lib/64/ld.so.1"; in Pfgrab_core()
2623 interp = "/usr/lib/ld.so.1"; in Pfgrab_core()
2626 "defaulting to %s\n", interp); in Pfgrab_core()
2638 P->map_ldso = core_name_mapping(P, base_addr, interp); in Pfgrab_core()
2640 if (core_elf_open(&intf, interp, ET_DYN, NULL) == 0) { in Pfgrab_core()
2649 (void *)rl.rl_data_base, interp); in Pfgrab_core()
2651 interp, PRMAPSZ); in Pfgrab_core()

12