Searched refs:chars (Results 1 - 25 of 462) sorted by relevance

1234567891011>>

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_libc.py24 chars = create_string_buffer("spam, spam, and spam")
25 lib.my_qsort(chars, len(chars)-1, sizeof(c_char), comparefunc(sort))
26 self.assertEqual(chars.raw, " ,,aaaadmmmnpppsss\x00")
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_libc.py24 chars = create_string_buffer("spam, spam, and spam")
25 lib.my_qsort(chars, len(chars)-1, sizeof(c_char), comparefunc(sort))
26 self.assertEqual(chars.raw, " ,,aaaadmmmnpppsss\x00")
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_grp.py65 chars = list(fakename)
66 for i in xrange(len(chars)):
67 if chars[i] == 'z':
68 chars[i] = 'A'
70 elif chars[i] == 'Z':
73 chars[i] = chr(ord(chars[i]) + 1)
82 fakename = ''.join(chars)
H A Dtest_pwd.py68 chars = list(fakename)
69 for i in xrange(len(chars)):
70 if chars[i] == 'z':
71 chars[i] = 'A'
73 elif chars[i] == 'Z':
76 chars[i] = chr(ord(chars[i]) + 1)
85 fakename = ''.join(chars)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_grp.py65 chars = list(fakename)
66 for i in xrange(len(chars)):
67 if chars[i] == 'z':
68 chars[i] = 'A'
70 elif chars[i] == 'Z':
73 chars[i] = chr(ord(chars[i]) + 1)
82 fakename = ''.join(chars)
H A Dtest_pwd.py68 chars = list(fakename)
69 for i in xrange(len(chars)):
70 if chars[i] == 'z':
71 chars[i] = 'A'
73 elif chars[i] == 'Z':
76 chars[i] = chr(ord(chars[i]) + 1)
85 fakename = ''.join(chars)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
H A DIOBinding.py252 chars = f.read()
258 chars = self.decode(chars)
260 firsteol = self.eol_re.search(chars)
266 chars = self.eol_re.sub(r"\n", chars)
270 self.text.insert("1.0", chars)
278 def decode(self, chars):
284 if chars.startswith(BOM_UTF8):
286 chars
[all...]
H A DSearchEngine.py139 chars = text.get("%d.0" % line, "%d.0" % (line+1))
140 while chars:
141 m = prog.search(chars[:-1], col)
150 chars = text.get("%d.0" % line, "%d.0" % (line+1))
151 if not chars and wrap:
155 chars = text.get("1.0", "2.0")
161 chars = text.get("%d.0" % line, "%d.0" % (line+1))
163 m = search_reverse(prog, chars[:-1], col)
178 chars = text.get("%d.0" % line, "%d.0" % (line+1))
179 col = len(chars)
[all...]
H A DUndoDelegator.py80 def insert(self, index, chars, tags=None):
81 self.addcmd(InsertCommand(index, chars, tags))
166 def __init__(self, index1, index2, chars, tags=None):
171 self.chars = chars
177 t = (self.index1, self.index2, self.chars, self.tags)
210 def __init__(self, index1, chars, tags=None):
211 Command.__init__(self, index1, None, chars, tags)
219 text.insert(self.index1, self.chars, self.tags)
220 self.index2 = text.index("%s+%dc" % (self.index1, len(self.chars)))
[all...]
H A DColorDelegator.py82 def insert(self, index, chars, tags=None):
84 self.delegate.insert(index, chars, tags)
85 self.notify_range(index, index + "+%dc" % len(chars))
184 chars = ""
200 chars = chars + line
201 m = self.prog.search(chars)
210 m1 = self.idprog.match(chars, b)
220 if '#' in chars:
221 endpos = chars
[all...]
H A DPercolator.py23 def insert(self, index, chars, tags=None):
25 self.top.insert(index, chars, tags)
H A DEditorWindow.py898 # make unicode string to display non-ASCII chars correctly
941 # return unicode string to display non-ASCII chars correctly
945 # return unicode string to display non-ASCII chars correctly
1202 chars = text.get("insert linestart", "insert")
1203 if chars == '':
1210 if chars[-1] not in " \t":
1217 have = len(chars.expandtabs(tabwidth))
1227 if chars == last_line_of_prompt:
1229 chars = chars[
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
H A DIOBinding.py252 chars = f.read()
258 chars = self.decode(chars)
260 firsteol = self.eol_re.search(chars)
266 chars = self.eol_re.sub(r"\n", chars)
270 self.text.insert("1.0", chars)
278 def decode(self, chars):
284 if chars.startswith(BOM_UTF8):
286 chars
[all...]
H A DSearchEngine.py139 chars = text.get("%d.0" % line, "%d.0" % (line+1))
140 while chars:
141 m = prog.search(chars[:-1], col)
150 chars = text.get("%d.0" % line, "%d.0" % (line+1))
151 if not chars and wrap:
155 chars = text.get("1.0", "2.0")
161 chars = text.get("%d.0" % line, "%d.0" % (line+1))
163 m = search_reverse(prog, chars[:-1], col)
178 chars = text.get("%d.0" % line, "%d.0" % (line+1))
179 col = len(chars)
[all...]
H A DUndoDelegator.py80 def insert(self, index, chars, tags=None):
81 self.addcmd(InsertCommand(index, chars, tags))
166 def __init__(self, index1, index2, chars, tags=None):
171 self.chars = chars
177 t = (self.index1, self.index2, self.chars, self.tags)
210 def __init__(self, index1, chars, tags=None):
211 Command.__init__(self, index1, None, chars, tags)
219 text.insert(self.index1, self.chars, self.tags)
220 self.index2 = text.index("%s+%dc" % (self.index1, len(self.chars)))
[all...]
H A DColorDelegator.py82 def insert(self, index, chars, tags=None):
84 self.delegate.insert(index, chars, tags)
85 self.notify_range(index, index + "+%dc" % len(chars))
184 chars = ""
200 chars = chars + line
201 m = self.prog.search(chars)
210 m1 = self.idprog.match(chars, b)
220 if '#' in chars:
221 endpos = chars
[all...]
H A DPercolator.py23 def insert(self, index, chars, tags=None):
25 self.top.insert(index, chars, tags)
H A DEditorWindow.py898 # make unicode string to display non-ASCII chars correctly
941 # return unicode string to display non-ASCII chars correctly
945 # return unicode string to display non-ASCII chars correctly
1202 chars = text.get("insert linestart", "insert")
1203 if chars == '':
1210 if chars[-1] not in " \t":
1217 have = len(chars.expandtabs(tabwidth))
1227 if chars == last_line_of_prompt:
1229 chars = chars[
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/rpcsvc/
H A Drex.x70 opaque chars[4];
71 /* chars[0] == input speed */
72 /* chars[1] == output speed */
73 /* chars[2] == kill character */
74 /* chars[3] == erase character */
138 const CTLECH = 0x10000000; /* echo control chars as ^X */
145 opaque chars[6];
146 /* chars[0] == interrupt char */
147 /* chars[1] == quit char */
148 /* chars[
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpcsvc/
H A Drex.x70 opaque chars[4];
71 /* chars[0] == input speed */
72 /* chars[1] == output speed */
73 /* chars[2] == kill character */
74 /* chars[3] == erase character */
138 const CTLECH = 0x10000000; /* echo control chars as ^X */
145 opaque chars[6];
146 /* chars[0] == interrupt char */
147 /* chars[1] == quit char */
148 /* chars[
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dstring.py248 def strip(s, chars=None):
249 """strip(s [,chars]) -> string
253 If chars is given and not None, remove characters in chars instead.
254 If chars is unicode, S will be converted to unicode before stripping.
257 return s.strip(chars)
260 def lstrip(s, chars=None):
261 """lstrip(s [,chars]) -> string
264 If chars is given and not None, remove characters in chars instea
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dstring.py248 def strip(s, chars=None):
249 """strip(s [,chars]) -> string
253 If chars is given and not None, remove characters in chars instead.
254 If chars is unicode, S will be converted to unicode before stripping.
257 return s.strip(chars)
260 def lstrip(s, chars=None):
261 """lstrip(s [,chars]) -> string
264 If chars is given and not None, remove characters in chars instea
[all...]
/prebuilts/misc/common/swig/include/2.0.11/gcj/
H A Dcni.i15 extern jstring JvNewString (const jchar *chars, jsize len);
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/
H A Dpulldom.py155 def ignorableWhitespace(self, chars):
156 node = self.document.createTextNode(chars)
160 def characters(self, chars):
161 node = self.document.createTextNode(chars)
315 def ignorableWhitespace(self, chars):
316 PullDOM.ignorableWhitespace(self, chars)
321 def characters(self, chars):
322 PullDOM.characters(self, chars)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/
H A Dpulldom.py155 def ignorableWhitespace(self, chars):
156 node = self.document.createTextNode(chars)
160 def characters(self, chars):
161 node = self.document.createTextNode(chars)
315 def ignorableWhitespace(self, chars):
316 PullDOM.ignorableWhitespace(self, chars)
321 def characters(self, chars):
322 PullDOM.characters(self, chars)

Completed in 398 milliseconds

1234567891011>>