code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
/* libpng STANDARD API DEFINITION */
/* pnglibconf.h - library build configuration */
/* libpng version 1.5.0 - last changed on February 11, 2011 */
/* Copyright (c) 1998-2011 Glenn Randers-Pehrson */
/* This code is released under the libpng license. */
/* For conditions of distribution and use, see the disclaime... | zyking1987-zhsy | jni/libpng/pnglibconf.h | C | gpl2 | 6,031 |
/* pngpread.c - read a png file in push mode
*
* Last changed in libpng 1.5.2 [March 31, 2011]
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is released under the ... | zyking1987-zhsy | jni/libpng/pngpread.c | C | gpl2 | 51,196 |
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_CFLAGS := -Os \
-fomit-frame-pointer
LOCAL_MODULE := libgnupng
LOCAL_SRC_FILES :=\
png.c \
pngerror.c \
pngget.c \
pngmem.c \
pngpread.c \
pngread.c \
pngrio.c \
pngrtran.c \
pngrutil.c \
pngset.c \
pngtrans.c \
pngwio... | zyking1987-zhsy | jni/libpng/Android.mk | Makefile | gpl2 | 451 |
/* pngdebug.h - Debugging macros for libpng, also used in pngtest.c
*
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* Last changed in libpng 1.5.0 [January 6, 2011]
*
* This ... | zyking1987-zhsy | jni/libpng/pngdebug.h | C | gpl2 | 5,403 |
/* pngrtran.c - transforms the data in a row for PNG readers
*
* Last changed in libpng 1.5.2 [March 31, 2011]
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is rel... | zyking1987-zhsy | jni/libpng/pngrtran.c | C | gpl2 | 138,249 |
/* pngset.c - storage of image information into info struct
*
* Last changed in libpng 1.5.1 [February 3, 2011]
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is re... | zyking1987-zhsy | jni/libpng/pngset.c | C | gpl2 | 34,053 |
/* pngrutil.c - utilities to read a PNG file
*
* Last changed in libpng 1.5.2 [March 31, 2011]
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is released under the ... | zyking1987-zhsy | jni/libpng/pngrutil.c | C | gpl2 | 99,827 |
#
# NESDROID
#
# SEE LICENSE FILE FOR LICENSE INFO
#
# Copyright 2011 Stephen Damm (Halsafar)
# All rights reserved.
# shinhalsafar@gmail.com
#
APP_BUILD_SCRIPT = $(APP_PROJECT_PATH)/Android.mk
LOCAL_JNI_SHARED_LIBRARIES := libzip libpng
#APP_OPTIM := debug
APP_OPTIM := release
#APP_STL := gnustl_static
APP_STL :=... | zyking1987-zhsy | jni/Application.mk | Makefile | gpl2 | 595 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#ifndef Graphics_H_
#define Graphics_H_
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include "libzip/zip.h"
#include "libpng/png.h"
#include "libpng... | zyking1987-zhsy | jni/libemu/GraphicsDriver.h | C++ | gpl2 | 2,512 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#ifndef INPUTHANDLER_H_
#define INPUTHANDLER_H_
#include <sys/types.h>
#include "GraphicsDriver.h"
#include "Sphere.h"
typedef struct _TouchEvent
{
... | zyking1987-zhsy | jni/libemu/InputHandler.h | C++ | gpl2 | 2,981 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#include <GLES/gl.h>
#include <GLES/glext.h>
#include "GraphicsDriver.h"
#include "common.h"
static const char gVertexShader[] = "attribute vec4 a_positio... | zyking1987-zhsy | jni/libemu/GraphicsDriver.cpp | C++ | gpl2 | 23,973 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#ifndef QUAD_H_
#define QUAD_H_
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
/*typedef struct _Quad2D
{
float x;
float y;
float w;
... | zyking1987-zhsy | jni/libemu/Quad.h | C++ | gpl2 | 761 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*
* common.h
*
* Created on: 2011-04-24
* Author: halsafar
*/
#ifndef COMMON_H_
#define COMMON_H_
#include <android/log.h>
#include <time.h>
#de... | zyking1987-zhsy | jni/libemu/common.h | C | gpl2 | 2,210 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#include "Quad.h"
Quad2D::Quad2D()
{
Visible = false;
Vertices = new GLfloat[4*3];
TexCoords = new GLfloat[4*2];
TextureId = -1;
... | zyking1987-zhsy | jni/libemu/Quad.cpp | C++ | gpl2 | 1,580 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#include <string.h>
#include "InputHandler.h"
#include "common.h"
InputHandler::InputHandler(int buttonCount, int analogCount)
{
_buttons = NULL;
... | zyking1987-zhsy | jni/libemu/InputHandler.cpp | C++ | gpl2 | 9,298 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#ifndef SPHERE_H_
#define SPHERE_H_
class Sphere
{
public:
Sphere() :
_x(0), _y(0), _z(0), _radius(0)
{
}
Sphere(float x,... | zyking1987-zhsy | jni/libemu/Sphere.h | C++ | gpl2 | 1,795 |
/*
zip_stat_index.c -- get information about file by index
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modifica... | zyking1987-zhsy | jni/libzip/zip_stat_index.c | C | gpl2 | 3,046 |
/*
zip_unchange.c -- undo changes to file in zip archive
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificati... | zyking1987-zhsy | jni/libzip/zip_unchange.c | C | gpl2 | 2,488 |
/*
zip_rename.c -- rename file in zip archive
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are per... | zyking1987-zhsy | jni/libzip/zip_rename.c | C | gpl2 | 2,260 |
/*
zip_stat.c -- get information about file by name
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, a... | zyking1987-zhsy | jni/libzip/zip_stat.c | C | gpl2 | 1,882 |
/*
zip_entry_new.c -- create and init struct zip_entry
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification... | zyking1987-zhsy | jni/libzip/zip_entry_new.c | C | gpl2 | 2,449 |
/*
zip_source_zip.c -- create data source from zip file
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificatio... | zyking1987-zhsy | jni/libzip/zip_source_zip.c | C | gpl2 | 4,491 |
/*
zip_error_get.c -- get zip error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted pro... | zyking1987-zhsy | jni/libzip/zip_error_get.c | C | gpl2 | 1,756 |
/*
zip_new.c -- create and init struct zip
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permit... | zyking1987-zhsy | jni/libzip/zip_new.c | C | gpl2 | 2,302 |
/*
This file was generated automatically by ./make_zip_err_str.sh
from ./zip.h; make changes there.
*/
#include "zipint.h"
const char * const _zip_err_str[] = {
"No error",
"Multi-disk zip archives not supported",
"Renaming temporary file failed",
"Closing zip archive failed",
"Seek erro... | zyking1987-zhsy | jni/libzip/zip_err_str.c | C | gpl2 | 1,162 |
/*
zip_unchange_archive.c -- undo global changes to ZIP archive
Copyright (C) 2006-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
mod... | zyking1987-zhsy | jni/libzip/zip_unchange_archive.c | C | gpl2 | 1,877 |
/*
zip_free.c -- free struct zip
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted provid... | zyking1987-zhsy | jni/libzip/zip_free.c | C | gpl2 | 2,294 |
/*
zip_entry_free.c -- free struct zip_entry
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are perm... | zyking1987-zhsy | jni/libzip/zip_entry_free.c | C | gpl2 | 1,887 |
/*
zip_get_num_files.c -- get number of files in archive
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificati... | zyking1987-zhsy | jni/libzip/zip_get_num_files.c | C | gpl2 | 1,774 |
#ifndef _HAD_ZIPINT_H
#define _HAD_ZIPINT_H
/*
zipint.h -- internal declarations.
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, wi... | zyking1987-zhsy | jni/libzip/zipint.h | C | gpl2 | 9,015 |
/*
zip_fopen_index.c -- open file in zip archive for reading by index
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without... | zyking1987-zhsy | jni/libzip/zip_fopen_index.c | C | gpl2 | 5,624 |
/*
zip_name_locate.c -- get index by name
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitt... | zyking1987-zhsy | jni/libzip/zip_name_locate.c | C | gpl2 | 2,630 |
/*
$NiH: zip_unchange_data.c,v 1.14 2004/11/30 23:02:47 wiz Exp $
zip_unchange_data.c -- undo helper function
Copyright (C) 1999, 2004 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use... | zyking1987-zhsy | jni/libzip/zip_unchange_data.c | C | gpl2 | 1,996 |
/*
zip_set_name.c -- rename helper function
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permi... | zyking1987-zhsy | jni/libzip/zip_set_name.c | C | gpl2 | 2,399 |
/*
zip_sterror.c -- get string representation of zip error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modifica... | zyking1987-zhsy | jni/libzip/zip_strerror.c | C | gpl2 | 1,768 |
#ifndef _HAD_ZIP_H
#define _HAD_ZIP_H
/*
zip.h -- exported declarations.
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or wit... | zyking1987-zhsy | jni/libzip/zip.h | C | gpl2 | 9,563 |
/*
zip_file_error_get.c -- get zip file error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are per... | zyking1987-zhsy | jni/libzip/zip_file_error_get.c | C | gpl2 | 1,776 |
/*
zip_source_free.c -- free zip data source
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are perm... | zyking1987-zhsy | jni/libzip/zip_source_free.c | C | gpl2 | 1,849 |
/*
zip_fread.c -- read from file
Copyright (C) 1999-2009 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted provid... | zyking1987-zhsy | jni/libzip/zip_fread.c | C | gpl2 | 3,599 |
/*
zip_source_filep.c -- create data source from FILE *
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificatio... | zyking1987-zhsy | jni/libzip/zip_source_filep.c | C | gpl2 | 4,994 |
/*
zip_get_archive_flag.c -- get archive global flag
Copyright (C) 2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are p... | zyking1987-zhsy | jni/libzip/zip_get_archive_flag.c | C | gpl2 | 1,843 |
/*
zip_source_buffer.c -- create zip data source from buffer
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modifi... | zyking1987-zhsy | jni/libzip/zip_source_buffer.c | C | gpl2 | 3,627 |
/* $NiH: mkstemp.c,v 1.3 2006/04/23 14:51:45 wiz Exp $ */
/* Adapted from NetBSB libc by Dieter Baron */
/* NetBSD: gettemp.c,v 1.13 2003/12/05 00:57:36 uebayasi Exp */
/*
* Copyright (c) 1987, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and bin... | zyking1987-zhsy | jni/libzip/mkstemp.c | C | gpl2 | 3,667 |
/*
zip_unchange.c -- undo changes to all files in zip archive
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modif... | zyking1987-zhsy | jni/libzip/zip_unchange_all.c | C | gpl2 | 1,894 |
/*
zip_error_sterror.c -- get string representation of struct zip_error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or witho... | zyking1987-zhsy | jni/libzip/zip_error_strerror.c | C | gpl2 | 2,556 |
/*
zip_replace.c -- replace file via callback function
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification... | zyking1987-zhsy | jni/libzip/zip_replace.c | C | gpl2 | 2,431 |
/*
zip_add.c -- add file via callback function
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are pe... | zyking1987-zhsy | jni/libzip/zip_add.c | C | gpl2 | 1,898 |
/*
zip_get_name.c -- get filename for a file in zip file
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificati... | zyking1987-zhsy | jni/libzip/zip_get_name.c | C | gpl2 | 2,395 |
/*
zip_get_archive_flag.c -- set archive global flag
Copyright (C) 2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are p... | zyking1987-zhsy | jni/libzip/zip_set_archive_flag.c | C | gpl2 | 1,819 |
/*
zip_stat_init.c -- initialize struct zip_stat.
Copyright (C) 2006-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are... | zyking1987-zhsy | jni/libzip/zip_stat_init.c | C | gpl2 | 1,919 |
/*
zip_memdup.c -- internal zip function, "strdup" with len
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modific... | zyking1987-zhsy | jni/libzip/zip_memdup.c | C | gpl2 | 1,945 |
/*
zip_file_sterror.c -- get string representation of zip file error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
... | zyking1987-zhsy | jni/libzip/zip_file_strerror.c | C | gpl2 | 1,788 |
/*
zip_fopen.c -- open file in zip archive for reading
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification... | zyking1987-zhsy | jni/libzip/zip_fopen.c | C | gpl2 | 1,878 |
/*
zip_file_error_clear.c -- clear zip file error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are... | zyking1987-zhsy | jni/libzip/zip_file_error_clear.c | C | gpl2 | 1,754 |
/*
zip_error.c -- struct zip_error helper functions
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, a... | zyking1987-zhsy | jni/libzip/zip_error.c | C | gpl2 | 2,501 |
/*
zip_file_get_offset.c -- get offset of file data in archive.
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
mod... | zyking1987-zhsy | jni/libzip/zip_file_get_offset.c | C | gpl2 | 2,407 |
/*
zip_error_clear.c -- clear zip error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted... | zyking1987-zhsy | jni/libzip/zip_error_clear.c | C | gpl2 | 1,734 |
/*
zip_add_dir.c -- add directory
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted provi... | zyking1987-zhsy | jni/libzip/zip_add_dir.c | C | gpl2 | 2,359 |
/*
zip_open.c -- open zip archive
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted provi... | zyking1987-zhsy | jni/libzip/zip_open.c | C | gpl2 | 13,956 |
/*
zip_set_archive_comment.c -- set archive comment
Copyright (C) 2006-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, a... | zyking1987-zhsy | jni/libzip/zip_set_archive_comment.c | C | gpl2 | 2,165 |
/*
zip_dirent.c -- read directory entry (local or central), clean dirent
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or with... | zyking1987-zhsy | jni/libzip/zip_dirent.c | C | gpl2 | 13,378 |
/*
zip_source_function.c -- create zip data source from callback function
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or wit... | zyking1987-zhsy | jni/libzip/zip_source_function.c | C | gpl2 | 2,059 |
/*
zip_filerange_crc.c -- compute CRC32 for a range of a file
Copyright (C) 2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificati... | zyking1987-zhsy | jni/libzip/zip_filerange_crc.c | C | gpl2 | 2,218 |
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | zyking1987-zhsy | jni/libzip/Android.mk | Makefile | gpl2 | 1,931 |
/*
zip_source_file.c -- create data source from file
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, ... | zyking1987-zhsy | jni/libzip/zip_source_file.c | C | gpl2 | 2,025 |
/*
zip_error_get_sys_type.c -- return type of system error code
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
mod... | zyking1987-zhsy | jni/libzip/zip_error_get_sys_type.c | C | gpl2 | 1,803 |
/*
zip_error_to_str.c -- get string representation of zip error code
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
... | zyking1987-zhsy | jni/libzip/zip_error_to_str.c | C | gpl2 | 2,229 |
/* Config header for Android */
/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
*/
/* #undef HAVE_DECL_TZNAME */
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 0
/* Define to 1 if you have the `fseeko' function. */
#define HAVE_FSEEKO 0
/* Define to 1 ... | zyking1987-zhsy | jni/libzip/config.h | C | gpl2 | 2,755 |
/*
zip_set_file_comment.c -- set comment for file in archive
Copyright (C) 2006-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modifi... | zyking1987-zhsy | jni/libzip/zip_set_file_comment.c | C | gpl2 | 2,246 |
/*
zip_fclose.c -- close file in zip archive
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are perm... | zyking1987-zhsy | jni/libzip/zip_fclose.c | C | gpl2 | 2,248 |
/*
zip_get_archive_comment.c -- get archive comment
Copyright (C) 2006-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, a... | zyking1987-zhsy | jni/libzip/zip_get_archive_comment.c | C | gpl2 | 2,081 |
/*
zip_close.c -- close zip archive and update changes
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification... | zyking1987-zhsy | jni/libzip/zip_close.c | C | gpl2 | 15,881 |
/*
zip_get_file_comment.c -- get file comment
Copyright (C) 2006-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are per... | zyking1987-zhsy | jni/libzip/zip_get_file_comment.c | C | gpl2 | 2,152 |
/*
zip_delete.c -- delete file from zip archive
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are p... | zyking1987-zhsy | jni/libzip/zip_delete.c | C | gpl2 | 2,028 |
/**
* NESDroid
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*
* Ideally this is the main bridge to the outside GUI.
* In this case it is the Android JNI bridge we are implementing here.
* This should be the only place you find Java specific JNI code.
*/
#include <mat... | zyking1987-zhsy | jni/EmulatorBridge.cpp | C++ | gpl2 | 12,138 |
#
# NESDROID
#
# SEE LICENSE FILE FOR LICENSE INFO
#
# Copyright 2011 Stephen Damm (Halsafar)
# All rights reserved.
# shinhalsafar@gmail.com
#
# OPTIONS
ENABLE_BLUETOOTH := 0
ENABLE_DEBUG := 0
ENABLE_DEBUG_LOGGING := 1
ENABLE_LUA := 0
# STORE VARS FOR AFTER CLEANING
LOCAL_PATH := $(call my-dir)
ORG_PATH ... | zyking1987-zhsy | jni/Android.mk | Makefile | gpl2 | 3,678 |
#ifndef APPLICATION_H_
#define APPLICATION_H_
/**
* NESDroid
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#include <jni.h>
#include "libpng/png.h"
#include "fceu_src/types.h"
#include "fceu_src/drivers/common/config.h"
#include "common.h"
#include "GraphicsDriver... | zyking1987-zhsy | jni/Application.h | C++ | gpl2 | 3,200 |
/**
* NESDroid
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*
* FceuSystem.h
*
* Created on: 2011-04-24
* Author: halsafar
*/
#ifndef FCEUSYSTEM_H_
#define FCEUSYSTEM_H_
#include "fceu_src/driver.h"
#include "fceu_src/fceu.h"
#include "fceu_src/input.h"
#inc... | zyking1987-zhsy | jni/FceuSystem.h | C | gpl2 | 953 |
#!/bin/bash
INDIR=$1
OUTDIR=$2
ERRORS=0
for fn in $INDIR/*.cg
do
name=`basename $fn .cg`
echo "Converting $fn -> $OUTDIR/$name.glsl"
cgc -ogles -C -profile glslf -profileopts version=120,userTexCoord=v_texCoord -o "$OUTDIR/$name.glsl" -entry main_fragment "$fn"
if [ $? != 0 ]; then
echo "Fail"
ERRORS=`expr $E... | zyking1987-zhsy | shaders/convertToGLSL.sh | Shell | gpl2 | 438 |
#!/bin/bash
TMPFILE=`tempfile`
for fn in ./*.glsl
do
name=`basename $fn .cg`
sed "s/sampler2D .*;/sampler2D s_texture;/g" $fn > $TMPFILE
mv $TMPFILE $fn
sed "s/gl_TexCoord\[0\]/v_texCoord/g" $fn > $TMPFILE
mv $TMPFILE $fn
done
| zyking1987-zhsy | shaders/convertToNESDroid.sh | Shell | gpl2 | 242 |
precision mediump float;
varying vec2 v_texCoord;
uniform sampler2D s_texture;
uniform float u_width;
uniform float u_height;
const vec3 dtt = vec3(65536.0,255.0,1.0);
int GET_RESULT(float A, float B, float C, float D)
{
int x = 0; int y = 0; int r = 0;
if (A == C) x+=1; else if (B == C) y+=1;
if (A == D) x+=1; ... | zyking1987-zhsy | shaders/superEagle.glsl | GLSL | gpl2 | 3,534 |
precision mediump float;
varying vec2 v_texCoord;
uniform sampler2D s_texture;
// number of colors the display can show
const float colors = 256.0;
void main()
{
vec3 ink = vec3(0.32, 0.50, 0.0);
vec3 c11 = texture2D(s_texture, v_texCoord.xy).xyz;
float lct = floor(co... | zyking1987-zhsy | shaders/MCGreen.glsl | GLSL | gpl2 | 385 |
precision mediump float;
varying vec2 v_texCoord;
uniform sampler2D s_texture;
uniform float u_width;
uniform float u_height;
void main()
{
vec2 UL, UR, DL, DR;
float dx = pow(u_width, -1.0) * 0.25;
float dy = pow(u_height, -1.0) * 0.25;
vec3 dt = vec3(1.0, 1.0... | zyking1987-zhsy | shaders/2xSaI.glsl | GLSL | gpl2 | 844 |
precision mediump float;
varying vec2 v_texCoord;
uniform sampler2D s_texture;
void main()
{
vec2 samples[12];
samples[0] = vec2(-0.326212, -0.405805);
samples[1] = vec2(-0.840144, -0.073580);
samples[2] = vec2(-0.695914, 0.457137);
samples[3] = vec2(-0.203345, 0.620... | zyking1987-zhsy | shaders/broken/blur.glsl | GLSL | gpl2 | 926 |
precision mediump float;
varying vec2 v_texCoord;
uniform sampler2D s_texture;
uniform float u_width;
uniform float u_height;
#define FIX(c) max(abs(c), 1e-5);
const float PI = 3.1415926535897932384626433832795;
vec4 weight4(float x)
{
vec4 sample = FIX(PI * vec4(1.0 + x, x, 1.0 - x, 2.0 - x));
//... | zyking1987-zhsy | shaders/broken/Lanczos4.glsl | GLSL | gpl2 | 1,797 |
precision mediump float;
varying vec2 v_texCoord;
uniform sampler2D s_texture;
void main()
{
vec4 Color = texture2D( s_texture, v_texCoord.xy );
float Sharpenfactor = 30.0; //Make this between 10 and 50;
Color -= texture2D( s_texture, v_texCoord.xy+0.0001)*Sharpenf... | zyking1987-zhsy | shaders/sharpen.glsl | GLSL | gpl2 | 451 |
precision mediump float;
varying vec2 v_texCoord;
uniform sampler2D s_texture;
uniform sampler2D s_palette;
uniform float u_width;
uniform float u_height;
const float mx = 0.325; // start smoothing wt.
const float k = -0.250; // wt. decrease factor
const float max_w = 0.25; // max filter weigth
const... | zyking1987-zhsy | shaders/hq2x.glsl | GLSL | gpl2 | 2,536 |
#
# NESDroid
# Copyright 2011 Stephen Damm (Halsafar)
# All rights reserved.
# shinhalsafar@gmail.com
#
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := user
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := FceuDroid
LOCAL_JNI_SHARED_LIBRARIES := libzip libgnupng libemu
... | zyking1987-zhsy | Android.mk | Makefile | gpl2 | 554 |
;--------------------------------
; The name of the installer
Name "Zx Spectrum SCR Thumbnail Provider 32bit"
; The file to write
OutFile "ZXSCRThumbs_Install.exe"
; The default installation directory
InstallDir $PROGRAMFILES\ZxThumbnailers\SCR
icon nsis-install-by-arda.ico
uninstallicon nsis-uninstal... | zxthumbs | trunk/sample_installscript.nsi | NSIS | bsd | 2,794 |
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
/*
*
* Base Class
* There is nothing to change here
* Taken from MSDN mag.
*
* Endless thanks to Ben Ryves' Cogwheel.
*
*/
namespace ZXThumbnailer
{
public enum WTS_ALPHATYPE
... | zxthumbs | trunk/ArdaScrThumbs/ArdaScrThumbs/win32.cs | C# | bsd | 1,001 |
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace ZXThumbnailer
{
[ComVisible(true), ClassInterface(ClassInterfaceType.None)]
[ProgId("APM.SCRThumbs"), Guid("836d9b4f-9... | zxthumbs | trunk/ArdaScrThumbs/ArdaScrThumbs/Class1.cs | C# | bsd | 7,190 |
# This is Python example on how to use Mongoose embeddable web server,
# http://code.google.com/p/mongoose
#
# Before using the mongoose module, make sure that Mongoose shared library is
# built and present in the current (or system library) directory
import mongoose
import sys
# This function is a "/foo" URI handler... | zyh3290-xuexi | bindings/python/example.py | Python | mit | 1,947 |
# Copyright (c) 2004-2009 Sergey Lyubka
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publ... | zyh3290-xuexi | bindings/python/mongoose.py | Python | mit | 6,131 |
// Copyright (c) 2004-2009 Sergey Lyubka
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, ... | zyh3290-xuexi | bindings/csharp/mongoose.cs | C# | mit | 5,964 |
// This is C# example on how to use Mongoose embeddable web server,
// http://code.google.com/p/mongoose
//
// Before using the mongoose module, make sure that Mongoose shared library is
// built and present in the current (or system library) directory
using System;
using System.Runtime.InteropServices;
publ... | zyh3290-xuexi | bindings/csharp/example.cs | C# | mit | 2,300 |
#!/bin/sh
echo "echoing bad headers: server must report status 500"
exec 1>&2
echo shit!!!
| zyh3290-xuexi | test/bad.cgi | Shell | mit | 92 |
#!/usr/bin/env perl
use Cwd;
use CGI;
use vars '%in';
CGI::ReadParse();
print "Content-Type: text/html\r\n\r\n";
print "<pre>\n";
foreach my $key (sort keys %ENV) {
print "$key=$ENV{$key}\n";
}
print "\n";
foreach my $key (sort keys %in) {
print "$key=$in{$key}\n";
}
print "\n";
#sleep 10;
print 'CURRENT_DIR... | zyh3290-xuexi | test/env.cgi | Perl | mit | 769 |
#!/usr/bin/env perl
@flags = ("NO_SSI", "NO_SSL", "NDEBUG", "DEBUG", "NO_CGI");
my $num_flags = @flags;
sub fail {
print "FAILED: @_\n";
exit 1;
}
my $platform = $ARGV[0] || "linux";
for (my $i = 0; $i < 2 ** $num_flags; $i++) {
my $bitmask = sprintf("%*.*b", $num_flags, $num_flags, $i);
my @combination = ();
... | zyh3290-xuexi | test/test_all_build_flags.pl | Raku | mit | 788 |
#!/bin/sh
echo "Content-Type: text/plain"
echo
echo $QUERY_STRING
| zyh3290-xuexi | test/hello.cgi | Shell | mit | 68 |
#!/usr/bin/perl -w
# SHTTPD Buffer Overflow (POST)
# Tested on SHTTPD 1.34 WinXP SP1 Hebrew
# http://shttpd.sourceforge.net
# Codded By SkOd, 05/10/2006
# ISRAEL
#
# details:
# EAX 00000194 , ECX 009EBCA8 , EDX 00BC488C
# EBX 00000004 , EIP 41414141 , EBP 41414141
# ESI 00BC4358 , EDI 00BCC3CC ASCII "... | zyh3290-xuexi | test/exploit.pl | Perl | mit | 1,844 |