Searched refs:string (Results 1 - 19 of 19) sorted by relevance
/pkg/src/modules/ |
H A D | arch.py | 75 # ffi.string returns a bytes 77 buf1 = force_text(ffi.string(ffi.cast("char *", buf1))) 78 buf2 = force_text(ffi.string(ffi.cast("char *", buf2))) 81 buf = force_text(ffi.string(ffi.cast("char *", buf))) 88 """Return the release string ("5.11") for the invoking system.""" 93 return force_text(ffi.string(ffi.cast("char *", buf))) 102 return force_text(ffi.string(ffi.cast("char *", buf)))
|
H A D | sysattr.py | 50 return a string consisting of compact option identifiers.""" 54 raise TypeError("filename must be string type") 96 # ffi.string returns a bytes 97 string = force_text(ffi.string(name)) 98 if string: 99 attr_list.append(string) 103 cattrs = force_text(ffi.string(cattrs)) 110 passed as a list of verbose attribute names or a string that consists of 124 raise TypeError("filename must be string typ [all...] |
H A D | mogrify.py | 232 "operation with replacement string regexp " 278 "operation with replacement string regexp " 341 m = i.string[slice(*i.span())] 438 ref = int(i.string[slice(*i.span())][2:-1]) 446 "%<{ref}> refers to an unmatched string" 499 # Map each pattern to its position in the original match string.
|
H A D | elfextract.c | 38 #include <string.h> 483 /* Dynamic but no string table? */
|
/pkg/src/tests/api/ |
H A D | t_api_refresh.py | 201 ts1 = api_obj._img.get_last_modified(string=True) 210 ts2 = api_obj._img.get_last_modified(string=True)
|
H A D | t_linked_image.py | 51 def pkg_err_verify(string, fmri): 54 if string.find(substring) == -1: 58 """.format(substring, string))
|
/pkg/src/modules/actions/ |
H A D | __init__.py | 193 empty, '/', or not a string.""" 204 """'act' is an Action (object or string). 207 'name' is the action attribute name, and 'error' is a string 210 'fmri' is an optional package FMRI (object or string) 235 def attrsfromstr(string): 236 """Create an attribute dict given a string w/ key=value pairs. 240 return fromstr("unknown {0}".format(string)).attrs 324 def internalizestr(string, basedirs=None, load_data=True): 331 In general, each string should be in the form of "key=value". The 338 action = fromstr(string) [all...] |
H A D | _actions.c | 29 #include <string.h> 72 * We grab a reference to that string because 200 static char *kwlist[] = { "string", "data", NULL }; 206 * The action string is currently assumed to be a stream of bytes that 207 * are valid UTF-8. This method works regardless of whether the string 208 * object provided is a Unicode object, string object, or a character 399 * final attribute string; it is not used for
|
/pkg/src/modules/solver/ |
H A D | vec.h | 26 #include <string.h>
|
H A D | py_solver.c | 184 #define BAILOUT(exception, string) {PyErr_SetString(exception, string); return (NULL);}
|
/pkg/src/modules/client/ |
H A D | printengine.py | 109 def putp(self, string): 118 self._out_file.write(self.__putp_re.sub("", force_str(string)))
|
H A D | imageplan.py | 307 self.pd._image_lm = self.image.get_last_modified(string=True) 1041 "implementation": mediator-implementation-string, 1042 "version": mediator-version-string 1046 'implementation' is an optional string that specifies the 1052 'version' is an optional string that specifies the version 2668 objects which is used so the same string isn't translated into 3190 given in 'name', and the fmri string or callable is given in 3518 self.image.get_last_modified(string=True): 4181 # string. 4318 # to be a string fo [all...] |
H A D | image.py | 1212 def get_last_modified(self, string=False): 1215 object. If 'string' is true and a time is available, then the 1216 time is returned as a string (instead of as a datetime 1224 if rv is None or not string: 1526 'prefix' is an optional string value specifying the name of 1529 'alias' is an optional string value specifying the alias of 1975 # if we have a intent string, let depot 2258 # be a string due to poor error handling in shutil. 2690 # lot slower, so a simple string 3031 faster than gen_installed_pkgs when only the FMRI string [all...] |
/pkg/src/ |
H A D | depot.py | 75 import string namespace 117 punc = string.punctuation.replace("-", "_") 119 translate = string.maketrans(punc, "_" * len(string.punctuation)) 121 translate = str.maketrans(punc, "_" * len(string.punctuation))
|
/pkg/src/util/mkcert/ |
H A D | mkcert.c | 34 #include <string.h> 131 * correct string type and performing checks on its length.
|
/pkg/src/zoneproxy/zoneproxy-client/ |
H A D | zoneproxy-client.c | 35 #include <string.h>
|
/pkg/src/tests/cli/ |
H A D | t_pkg_refresh.py | 94 def reduce_spaces(self, string): 96 return re.sub(" +", " ", string)
|
/pkg/src/tests/ |
H A D | pkg5unittest.py | 124 Should be initialized with a string giving a more detailed 126 that some prerequisite of the test is unsatisfied. A string 427 # If caller provides arguments as a string, the shell must 802 """Given a C program (as a string), compile it into the 896 # If files is a string, make it a list. Then, if it is 954 def reduceSpaces(self, string): 956 return re.sub(" +", " ", string) 2582 does not contain the string 'Unexpected Exception', indicating 2810 "Missing open in pkgsend string") 3076 given package FMRI and returns it as a string [all...] |
/pkg/src/zoneproxy/zoneproxyd/ |
H A D | zoneproxyd.c | 79 #include <string.h>
|
Completed in 76 milliseconds