/external/python/cpython2/Modules/ |
D | imageop.c | 148 ncp = (char *)PyString_AsString(rv); in imageop_crop() 201 ncp = (char *)PyString_AsString(rv); in imageop_scale() 244 ncp = (unsigned char *)PyString_AsString(rv); in imageop_tovideo() 292 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey2mono() 331 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey2grey4() 368 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey2grey2() 404 ncp = (unsigned char *)PyString_AsString(rv); in imageop_dither2mono() 448 ncp = (unsigned char *)PyString_AsString(rv); in imageop_dither2grey2() 490 ncp = (unsigned char *)PyString_AsString(rv); in imageop_mono2grey() 530 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey22grey() [all …]
|
D | zipimport.c | 195 archive = PyString_AsString(self->archive); in zipimporter_repr() 197 prefix = PyString_AsString(self->prefix); in zipimporter_repr() 266 len = make_filename(PyString_AsString(self->prefix), subname, path); in get_module_info() 339 char *prefix = PyString_AsString(self->prefix); in zipimporter_load_module() 344 PyString_AsString(self->archive), in zipimporter_load_module() 446 strncmp(path, PyString_AsString(self->archive), len) == 0 && in zipimporter_get_data() 456 return get_data(PyString_AsString(self->archive), toc_entry); in zipimporter_get_data() 493 len = make_filename(PyString_AsString(self->prefix), subname, path); in zipimporter_get_source() 506 return get_data(PyString_AsString(self->archive), toc_entry); in zipimporter_get_source() 979 buf = PyString_AsString(raw_data); in get_data() [all …]
|
D | audioop.c | 799 ncp = (signed char *)PyString_AsString(rv); in audioop_mul() 840 ncp = (signed char *)PyString_AsString(rv); in audioop_tomono() 886 ncp = (signed char *)PyString_AsString(rv); in audioop_tostereo() 935 ncp = (signed char *)PyString_AsString(rv); in audioop_add() 987 ncp = (signed char *)PyString_AsString(rv); in audioop_bias() 1026 ncp = (unsigned char *)PyString_AsString(rv); in audioop_reverse() 1068 ncp = (unsigned char *)PyString_AsString(rv); in audioop_lin2lin() 1216 ncp = PyString_AsString(str); in audioop_ratecv() 1233 len = (int)(ncp - PyString_AsString(str)); in audioop_ratecv() 1307 ncp = (unsigned char *)PyString_AsString(rv); in audioop_lin2ulaw() [all …]
|
D | stropmodule.c | 203 p = PyString_AsString(res); in strop_joinfields() 230 p = PyString_AsString(res) + reslen; in strop_joinfields() 277 p = PyString_AsString(res) + reslen; in strop_joinfields() 473 s_new = PyString_AsString(newstr); in strop_lower() 512 s_new = PyString_AsString(newstr); in strop_upper() 552 s_new = PyString_AsString(newstr); in strop_capitalize() 731 s_new = PyString_AsString(newstr); in strop_swapcase() 973 output_start = output = PyString_AsString(result); in strop_translate() 974 input = PyString_AsString(input_obj); in strop_translate()
|
D | syslogmodule.c | 97 atslash = strrchr(PyString_AsString(scriptobj), SEP); in syslog_get_argv() 136 openlog(S_ident_o ? PyString_AsString(S_ident_o) : NULL, logopt, facility); in syslog_openlog()
|
D | dlmodule.c | 98 dlsym(xp->dl_handle, PyString_AsString(name)); in dl_call() 116 alist[i-1] = (long)PyString_AsString(v); in dl_call()
|
D | svmodule.c | 56 if (!(outstr = PyString_AsString(output))) { in svc_conversion() 542 char* str = PyString_AsString(videodata); in sv_CaptureBurst() 620 str = PyString_AsString(videodata); in sv_CaptureOneFrame() 855 str = PyString_AsString(output); in sv_conversion()
|
D | mmapmodule.c | 855 buf = PyString_AsString(v); in mmap_ass_slice() 882 buf = PyString_AsString(v); in mmap_ass_item() 917 buf = PyString_AsString(value); in mmap_ass_subscript() 949 const char *buf = PyString_AsString(value); in mmap_ass_subscript() 958 const char *buf = PyString_AsString(value); in mmap_ass_subscript()
|
D | cdmodule.c | 247 (CDFRAME *) PyString_AsString(result), numframes); in CD_readda() 488 p = PyString_AsString(v); in CD_callback() 495 p = PyString_AsString(v); in CD_callback()
|
D | imgfile.c | 138 cdatap = PyString_AsString(rv); in imgfile_read() 331 cdatap = PyString_AsString(rv); in imgfile_readscaled()
|
/external/python/cpython2/Objects/ |
D | moduleobject.c | 76 return PyString_AsString(nameobj); in PyModule_GetName() 96 return PyString_AsString(fileobj); in PyModule_GetFilename() 121 char *s = PyString_AsString(key); in _PyModule_Clear() 135 char *s = PyString_AsString(key); in _PyModule_Clear()
|
D | classobject.c | 237 sname = PyString_AsString(name); in class_getattr() 349 sname = PyString_AsString(name); in class_setattr() 396 name = PyString_AsString(op->cl_name); in class_repr() 401 PyString_AsString(mod), in class_repr() 718 sname = PyString_AsString(name); in instance_getattr1() 836 sname = PyString_AsString(name); in instance_setattr() 919 cname = PyString_AsString(classname); in instance_repr() 927 PyString_AsString(mod), in instance_repr() 2137 PyString_AsString(inst->in_class->cl_name)); in instance_call()
|
/external/python/cpython2/Python/ |
D | traceback.c | 156 strcpy(namebuf, PyString_AsString(v)); in _Py_DisplaySourceLine() 244 PyString_AsString( in tb_printinternal() 247 PyString_AsString(tb->tb_frame->f_code->co_name)); in tb_printinternal()
|
D | mactoolboxglue.c | 55 char *input = PyString_AsString(rv); in PyMac_StrError() 128 input = PyString_AsString(rv); in PyMac_GetFullPathname() 169 memcpy((char *)&tmp, PyString_AsString(v), 4); in PyMac_GetOSType() 201 memcpy((char *)(pbuf+1), PyString_AsString(v), len); in PyMac_GetStr255()
|
D | _warnings.c | 160 return PyString_AsString(action); in get_filter() 165 return PyString_AsString(action); in get_filter() 209 mod_str = PyString_AsString(filename); in normalize_module() 502 const char *file_str = PyString_AsString(*filename); in setup_context() 522 const char *module_str = PyString_AsString(*module); in setup_context()
|
D | pythonrun.c | 830 ps1 = PyString_AsString(v); in PyRun_InteractiveOneFlags() 838 ps2 = PyString_AsString(w); in PyRun_InteractiveOneFlags() 1021 *filename = PyString_AsString(v); in parse_syntax_error() 1058 *text = PyString_AsString(v); in parse_syntax_error() 1289 char* modstr = PyString_AsString(moduleName); in PyErr_Display() 1647 msg = PyString_AsString(u); in err_input()
|
D | future.c | 25 const char *feature = PyString_AsString(name->name); in future_check_features()
|
D | ceval.c | 1052 filename = PyString_AsString(co->co_filename); in PyEval_EvalFrameEx() 3411 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 3448 PyString_AsString(co->co_name)); in PyEval_EvalCodeEx() 3475 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 3476 PyString_AsString(kwd_str)); in PyEval_EvalCodeEx() 3491 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 3492 PyString_AsString(kwd_str)); in PyEval_EvalCodeEx() 3511 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 3535 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 4252 return PyString_AsString(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName() [all …]
|
/external/python/cpython2/Include/ |
D | bytesobject.h | 16 #define PyBytes_AsString PyString_AsString
|
D | stringobject.h | 69 PyAPI_FUNC(char *) PyString_AsString(PyObject *);
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 109 key = PyString_AsString(idx); in pysqlite_row_subscript() 114 … compare_key = PyString_AsString(PyTuple_GET_ITEM(PyTuple_GET_ITEM(self->description, i), 0)); in pysqlite_row_subscript()
|
D | connection.c | 109 rc = sqlite3_open(PyString_AsString(database_utf8), &self->db); in pysqlite_connection_init() 124 if (strcmp(PyString_AsString(class_attr_str), "<type 'apsw.Connection'>") == 0) { in pysqlite_connection_init() 573 sqlite3_result_text(context, PyString_AsString(py_val), -1, SQLITE_TRANSIENT); in _pysqlite_set_result() 578 sqlite3_result_text(context, PyString_AsString(stringval), -1, SQLITE_TRANSIENT); in _pysqlite_set_result() 1172 begin_statement_str = PyString_AsString(begin_statement); in pysqlite_connection_set_isolation_level() 1518 PyString_AsString(uppercase_name), in pysqlite_connection_create_collation()
|
D | cursor.c | 532 operation_cstr = PyString_AsString(operation); in _pysqlite_query_execute() 539 operation_cstr = PyString_AsString(operation_bytestr); in _pysqlite_query_execute() 799 script_cstr = PyString_AsString(script_obj); in pysqlite_cursor_executescript() 806 script_cstr = PyString_AsString(script_str); in pysqlite_cursor_executescript()
|
/external/python/cffi/cffi/ |
D | _cffi_errors.h | 115 text = PyString_AsString(s); in _cffi_stop_error_capture()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | repeated_scalar_container.cc | 53 #define PyString_AsString(ob) \ macro 175 PyString_AsString(s.get())); in AssignItem() 406 PyString_AsString(s.get())); in Subscript()
|