/thrift-3.4.0/tutorial/haxe/ |
D | Tutorial.hxproj | 7 <movie path="bin\HaxeTutorial" /> 18 <class path="src" /> 19 <class path="gen-haxe" /> 20 <class path="..\..\lib\haxe\src" /> 37 <!-- example: <compile path="..." /> --> 41 <hidden path="obj" /> 42 <hidden path="cpp.hxml" /> 43 <hidden path="csharp.hxml" /> 44 <hidden path="flash.hxml" /> 45 <hidden path="java.hxml" /> [all …]
|
/thrift-3.4.0/test/haxe/ |
D | TestClientServer.hxproj | 7 <movie path="bin\TestClientServer" /> 18 <class path="src" /> 19 <class path="gen-haxe" /> 20 <class path="..\..\lib\haxe\src" /> 37 <!-- example: <compile path="..." /> --> 41 <hidden path="obj" /> 42 <hidden path="cpp.hxml" /> 43 <hidden path="csharp.hxml" /> 44 <hidden path="flash.hxml" /> 45 <hidden path="java.hxml" /> [all …]
|
/thrift-3.4.0/lib/haxe/test/ |
D | HaxeTests.hxproj | 7 <movie path="bin\HaxeTests" /> 18 <class path="src" /> 19 <class path="gen-haxe" /> 20 <class path="..\src" /> 37 <!-- example: <compile path="..." /> --> 41 <hidden path="obj" /> 42 <hidden path="cpp.hxml" /> 43 <hidden path="csharp.hxml" /> 44 <hidden path="flash.hxml" /> 45 <hidden path="java.hxml" /> [all …]
|
/thrift-3.4.0/compiler/cpp/test/compiler/ |
D | staleness_check.py | 32 CURRENT_DIR_PATH = os.path.dirname(os.path.realpath(__file__)) 34 SINGLE_THRIFT_FILE_PATH = os.path.join(CURRENT_DIR_PATH, "Single.thrift") 35 INCLUDING_THRIFT_FILE_PATH = os.path.join(CURRENT_DIR_PATH, "Including.thrift") 36 INCLUDED_THRIFT_FILE_PATH = os.path.join(CURRENT_DIR_PATH, "Included.thrift") 45 used_file_path = os.path.join(temp_dir, "gen-cpp", "Single_constants.cpp") 47 first_modification_time = os.path.getmtime(os.path.join(used_file_path)) 53 second_modification_time = os.path.getmtime(used_file_path) 66 used_file_path = os.path.join(temp_dir, "gen-cpp", "Single_constants.cpp") 68 first_modification_time = os.path.getmtime(os.path.join(used_file_path)) 81 second_modification_time = os.path.getmtime(used_file_path) [all …]
|
/thrift-3.4.0/contrib/thrift-maven-plugin/src/test/java/org/apache/thrift/maven/ |
D | TestAbstractThriftMojo.java | 67 …// The results should be a path to a directory named after the JAR itself (assuming no path hashin… in testMakeThriftPathFromJars() 76 …assertEquals("makeThriftPathFromJars should return thrift IDL base path from within JAR", expected… in testMakeThriftPathFromJars() 81 // JAR path is unrelated to maven repo, and should be unchanged in testTruncatePath() 82 assertEquals("/path/to/somejar.jar", mojo.truncatePath("/path/to/somejar.jar")); in testTruncatePath() 84 // JAR path is within maven repo, and should be made relative to the repo in testTruncatePath() 85 …assertEquals("path/to/somejar.jar", mojo.truncatePath("/test/maven/repo/basedir/path/to/somejar.ja… in testTruncatePath() 87 // JAR path contains forward slashes that should be normalized in testTruncatePath() 88 assertEquals("/path/to/somejar.jar", mojo.truncatePath("\\path\\to\\somejar.jar")); in testTruncatePath() 95 …// hashDependentPaths set to true, the JAR path is immediately hashed (MD5) and converted to a hex… in testTruncatePathWithDependentPathHashing() 97 assertEquals("1c85950987b23493462cf3c261d9510a", mojo.truncatePath("/path/to/somejar.jar")); in testTruncatePathWithDependentPathHashing() [all …]
|
/thrift-3.4.0/lib/cpp/src/thrift/transport/ |
D | SocketCommon.cpp | 33 socklen_t fillUnixSocketAddr(struct sockaddr_un& address, std::string& path) in fillUnixSocketAddr() argument 36 bool isAbstractNamespace = path[0] == 0; in fillUnixSocketAddr() 42 " Abstract Namespace Domain socket path not supported"); in fillUnixSocketAddr() 47 …* For abstract namespace sockets, the path string is not null-terminated (as opposite to path base… in fillUnixSocketAddr() 50 size_t addr_len = isAbstractNamespace ? path.size() : path.size() + 1; in fillUnixSocketAddr() 54 GlobalOutput.perror("TSocket::open() Unix Domain socket path too long", errno_copy); in fillUnixSocketAddr() 55 … throw TTransportException(TTransportException::NOT_OPEN, " Unix Domain socket path too long"); in fillUnixSocketAddr() 59 memcpy(address.sun_path, path.c_str(), addr_len); in fillUnixSocketAddr()
|
D | THttpClient.h | 30 * @brief Client transport using HTTP. The path is an optional field that is 38 * host and path. The host and path are not used for the connection but are 43 std::string path = "/service", 51 std::string path = "", 58 void setPath(std::string path);
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/transport/ |
D | TSimpleFileTransport.java | 36 * @param path the path to the file to open/create 42 public TSimpleFileTransport(String path, boolean read, boolean write, boolean openFile) in TSimpleFileTransport() argument 44 this(new TConfiguration(), path, read, write, openFile); in TSimpleFileTransport() 51 * @param path the path to the file to open/create 58 TConfiguration config, String path, boolean read, boolean write, boolean openFile) in TSimpleFileTransport() argument 61 if (path.length() <= 0) { in TSimpleFileTransport() 62 throw new TTransportException("No path specified"); in TSimpleFileTransport() 69 path_ = path; in TSimpleFileTransport() 78 * @param path the path to the file to open/create 83 public TSimpleFileTransport(String path, boolean read, boolean write) throws TTransportException { in TSimpleFileTransport() argument [all …]
|
/thrift-3.4.0/lib/rb/lib/thrift/transport/ |
D | unix_socket.rb | 25 def initialize(path, timeout=nil) argument 26 @path = path 28 @desc = @path # for read()'s error 34 @handle = ::UNIXSocket.new(@path) 36 …aise TransportException.new(TransportException::NOT_OPEN, "Could not open UNIX socket at #{@path}") 41 "domain(#{@path})"
|
D | unix_server_socket.rb | 25 def initialize(path) argument 26 @path = path 33 @handle = ::UNIXServer.new(@path) 50 File.delete(@path) 61 "domain(#{@path})"
|
/thrift-3.4.0/lib/py/test/ |
D | _import_local_thrift.py | 24 SCRIPT_DIR = os.path.realpath(os.path.dirname(__file__)) 25 ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(SCRIPT_DIR))) 27 for libpath in glob.glob(os.path.join(ROOT_DIR, 'lib', 'py', 'build', 'lib.*')): 29 sys.path.insert(0, libpath)
|
D | test_sslsocket.py | 34 SCRIPT_DIR = os.path.realpath(os.path.dirname(__file__)) 35 ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(SCRIPT_DIR))) 36 SERVER_PEM = os.path.join(ROOT_DIR, 'test', 'keys', 'server.pem') 37 SERVER_CERT = os.path.join(ROOT_DIR, 'test', 'keys', 'server.crt') 38 SERVER_KEY = os.path.join(ROOT_DIR, 'test', 'keys', 'server.key') 39 CLIENT_CERT_NO_IP = os.path.join(ROOT_DIR, 'test', 'keys', 'client.crt') 40 CLIENT_KEY_NO_IP = os.path.join(ROOT_DIR, 'test', 'keys', 'client.key') 41 CLIENT_CERT = os.path.join(ROOT_DIR, 'test', 'keys', 'client_v3.crt') 42 CLIENT_KEY = os.path.join(ROOT_DIR, 'test', 'keys', 'client_v3.key') 43 CLIENT_CA = os.path.join(ROOT_DIR, 'test', 'keys', 'CA.pem') [all …]
|
/thrift-3.4.0/lib/rb/spec/ |
D | unix_socket_spec.rb | 27 @path = '/tmp/thrift_spec_socket' 28 @socket = Thrift::UNIXSocket.new(@path) 43 expect(Thrift::UNIXSocket.new(@path, 5).timeout).to eq(5) 48 expect(Thrift::UNIXSocket.new(@path).to_s).to eq("domain(#{@path})") 54 @path = '/tmp/thrift_spec_socket' 55 @socket = Thrift::UNIXServerSocket.new(@path) 59 expect(UNIXServer).to receive(:new).with(@path) 65 expect(UNIXServer).to receive(:new).with(@path).and_return(handle) 77 expect(UNIXServer).to receive(:new).with(@path).and_return(handle) 86 expect(UNIXServer).to receive(:new).with(@path).and_return(handle) [all …]
|
/thrift-3.4.0/test/features/local_thrift/ |
D | __init__.py | 24 _SCRIPT_DIR = os.path.realpath(os.path.dirname(__file__)) 25 _ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(_SCRIPT_DIR))) 26 _LIBDIR = os.path.join(_ROOT_DIR, 'lib', 'py', 'build', 'lib.*') 30 sys.path.insert(0, libpath)
|
/thrift-3.4.0/test/crossrunner/ |
D | test.py | 51 # if the arg is a file in the current directory, make it path 54 return p if os.path.exists(p) else arg 122 path = config.get(key, None) 123 if not path: 124 path = self.testdir 125 if os.path.isabs(path): 126 path = os.path.realpath(path) 128 path = os.path.realpath(path_join(self.testdir, path)) 129 config.update({key: path})
|
/thrift-3.4.0/build/cmake/ |
D | DefineInstallationPaths.cmake | 22 set(BIN_INSTALL_DIR "bin" CACHE PATH "The binary install dir (default: bin)") 24 …set(LIB_INSTALL_DIR "bin${LIB_SUFFIX}" CACHE PATH "The library install dir (default: bin${LIB_SUFF… 26 …set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "The library install dir (default: lib${LIB_SUFF… 28 set(INCLUDE_INSTALL_DIR "include" CACHE PATH "The library install dir (default: include)") 29 set(CMAKE_INSTALL_DIR "lib/cmake" CACHE PATH "The subdirectory to install cmake config files (defau… 30 set(PKGCONFIG_INSTALL_DIR "lib/pkgconfig" CACHE PATH "The subdirectory to install pkgconfig config … 31 set(DOC_INSTALL_DIR "share/doc" CACHE PATH "The subdirectory to install documentation files (defaul…
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/partial/ |
D | Validate.java | 23 import java.nio.file.Path; 206 public static void checkPathExists(Path path, String argName) { in checkPathExists() argument 207 checkNotNull(path, argName); in checkPathExists() 208 checkArgument(Files.exists(path), "Path %s (%s) does not exist.", argName, path); in checkPathExists() local 211 public static void checkPathExistsAsDir(Path path, String argName) { in checkPathExistsAsDir() argument 212 checkPathExists(path, argName); in checkPathExistsAsDir() 214 Files.isDirectory(path), "Path %s (%s) must point to a directory.", argName, path); in checkPathExistsAsDir() local 217 public static void checkPathExistsAsFile(Path path, String argName) { in checkPathExistsAsFile() argument 218 checkPathExists(path, argName); in checkPathExistsAsFile() 219 checkArgument(Files.isRegularFile(path), "Path %s (%s) must point to a file.", argName, path); in checkPathExistsAsFile() local
|
/thrift-3.4.0/lib/py/src/transport/ |
D | THttpClient.py | 37 …def __init__(self, uri_or_host, port=None, path=None, cafile=None, cert_file=None, key_file=None, … argument 40 THttpClient(host, port, path) - deprecated 41 …THttpClient(uri, [port=<n>, path=<s>, cafile=<filename>, cert_file=<filename>, key_file=<filename>… 50 "Please use the THttpClient('http{s}://host:port/path') constructor", 55 assert path 56 self.path = path 70 self.path = parsed.path 72 self.path += '?%s' % parsed.query 158 (self.realhost, self.realport, self.path)) 160 self.__http.putrequest('POST', self.path) [all …]
|
/thrift-3.4.0/lib/perl/lib/Thrift/ |
D | UnixServerSocket.pm | 36 # If a single argument is given that is not a hash, that is the unix domain socket path. 38 # @param[in] path unix domain socket file name 40 # @example my $serversock = Thrift::UnixServerSocket->new($path); 41 # @example my $serversock = Thrift::UnixServerSocket->new(path => "somepath", queue => 64); 53 $self->{path} = $args; 70 Local => $self->{path}, 74 $self->{path} . ' (' . $! . ')';
|
D | UnixSocket.pm | 37 # @param[in] path path to unix socket file 38 # @example my $sock = Thrift::UnixSocket->new($path); 44 $self->{path} = shift; 54 Peer => $self->{path}) 57 $self->{path} . ' (' . $! . ')';
|
/thrift-3.4.0/test/py/ |
D | util.py | 24 _SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__)) 25 _ROOT_DIR = os.path.dirname(os.path.dirname(_SCRIPT_DIR)) 29 globdir = os.path.join(_ROOT_DIR, 'lib', 'py', 'build', 'lib.*')
|
/thrift-3.4.0/lib/c_glib/src/thrift/c_glib/transport/ |
D | thrift_server_socket.c | 58 const int socket_domain = tsocket->path ? PF_UNIX : AF_INET; in G_DEFINE_TYPE() 81 if (tsocket->path) in G_DEFINE_TYPE() 87 memcpy(pin.sun_path, tsocket->path, strlen(tsocket->path) + 1); in G_DEFINE_TYPE() 93 "failed to bind to path %s: - %s", in G_DEFINE_TYPE() 94 tsocket->path, strerror(errno)); in G_DEFINE_TYPE() 123 if (tsocket->path) in G_DEFINE_TYPE() 127 "failed to listen to path %s: - %s", in G_DEFINE_TYPE() 128 tsocket->path, strerror(errno)); in G_DEFINE_TYPE() 238 g_value_set_string (value, socket->path); in thrift_server_socket_get_property() 272 if (socket->path) { in thrift_server_socket_set_property() [all …]
|
/thrift-3.4.0/compiler/cpp/tests/netcore/ |
D | t_netcore_generator_functional_tests.cc | 25 string path = "CassandraTest.thrift"; variable 30 t_program* program = new t_program(path, name); 58 string path = "CassandraTest.thrift"; variable 63 t_program* program = new t_program(path, name); 91 string path = "CassandraTest.thrift"; variable 96 t_program* program = new t_program(path, name); 127 string path = "CassandraTest.thrift"; variable 132 t_program* program = new t_program(path, name); 163 string path = "CassandraTest.thrift"; variable 168 t_program* program = new t_program(path, name); [all …]
|
/thrift-3.4.0/lib/erl/src/ |
D | thrift_http_transport.erl | 31 path, % string() 40 new(Host, Path) -> 41 new(Host, Path, _Options = []). 48 new(Host, Path, Options) -> 50 path = Path, 79 path = Path, 91 {"http://" ++ Host ++ Path,
|
/thrift-3.4.0/lib/rb/lib/thrift/server/ |
D | thin_http_server.rb | 33 # * :path 38 path = options[:path] || "/" 40 app = RackApplication.for(path, processor, protocol_factory) 54 def self.for(path, processor, protocol_factory) argument 59 map path do
|