Did I find the right examples for you? yes no

All Samples(12)  |  Call(7)  |  Derive(0)  |  Import(5)

        def findall_path(atom, findpath):
    if findpath == '.':
        return atom
    if (findpath[0] != '.'):
        findpath = './' + findpath
    all_res = []
    for child in atom.children:
        all_res += find_path_helper(child, findpath, '.', '.', True)
    return all_res
        


src/l/o/LocalMedia.bundle-HEAD/Contents/Libraries/Shared/mp4file/atom.py   LocalMedia.bundle(Download)
import struct
 
from atomsearch import find_path, findall_path
 
#log = logging.getLogger("mp4file")
    def findall(self, path):
        return findall_path(self, path)
 
class AtomWithChildren(Atom):
    def __init__(self, size, type, name, offset, file):

src/s/c/Scanners.bundle-HEAD/Contents/Resources/Common/mp4file/atom.py   Scanners.bundle(Download)
import struct
 
from atomsearch import find_path, findall_path
 
#log = logging.getLogger("mp4file")
    def findall(self, path):
        return findall_path(self, path)
 
class AtomWithChildren(Atom):
    def __init__(self, size, type, name, offset, file):

src/m/p/mp4file-0.2/mp4file/atom.py   mp4file(Download)
import struct
 
from atomsearch import find_path, findall_path
 
log = logging.getLogger("mp4file")
    def findall(self, path):
        return findall_path(self, path)
 
class AtomWithChildren(Atom):
    def __init__(self, size, type, name, offset, file):

src/l/o/LocalMedia.bundle-HEAD/Contents/Libraries/Shared/mp4file/atomsearch_test.py   LocalMedia.bundle(Download)
@author: napier
'''
from atomsearch import find_path, findall_path
import unittest
 
    def testFindall(self):
        res = findall_path(self.mp4, './child1/gc')
        self.assertEquals(2, len(res))
        all = findall_path(self.mp4, './/gc')
        self.assertEquals(2, len(all))

src/m/p/mp4file-0.2/mp4file/atomsearch_test.py   mp4file(Download)
@author: napier
'''
from atomsearch import find_path, findall_path
import unittest
 
    def testFindall(self):
        res = findall_path(self.mp4, './child1/gc')
        self.assertEquals(2, len(res))
        all = findall_path(self.mp4, './/gc')
        self.assertEquals(2, len(all))